equinix.metal.getDevices
The datasource can be used to find a list of devices which meet filter criteria.
If you need to fetch a single device by ID or by project ID and hostname, use the equinix.metal.Device datasource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const example = equinix.metal.getDevices({
    projectId: local.project_id,
    filters: [
        {
            attribute: "plan",
            values: ["c3.small.x86"],
        },
        {
            attribute: "metro",
            values: [
                "da",
                "sv",
            ],
        },
    ],
});
export const devices = example.then(example => example.devices);
import pulumi
import pulumi_equinix as equinix
example = equinix.metal.get_devices(project_id=local["project_id"],
    filters=[
        {
            "attribute": "plan",
            "values": ["c3.small.x86"],
        },
        {
            "attribute": "metro",
            "values": [
                "da",
                "sv",
            ],
        },
    ])
pulumi.export("devices", example.devices)
package main
import (
	"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := metal.GetDevices(ctx, &metal.GetDevicesArgs{
			ProjectId: pulumi.StringRef(local.Project_id),
			Filters: []metal.GetDevicesFilter{
				{
					Attribute: "plan",
					Values: []string{
						"c3.small.x86",
					},
				},
				{
					Attribute: "metro",
					Values: []string{
						"da",
						"sv",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("devices", example.Devices)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() => 
{
    var example = Equinix.Metal.GetDevices.Invoke(new()
    {
        ProjectId = local.Project_id,
        Filters = new[]
        {
            new Equinix.Metal.Inputs.GetDevicesFilterInputArgs
            {
                Attribute = "plan",
                Values = new[]
                {
                    "c3.small.x86",
                },
            },
            new Equinix.Metal.Inputs.GetDevicesFilterInputArgs
            {
                Attribute = "metro",
                Values = new[]
                {
                    "da",
                    "sv",
                },
            },
        },
    });
    return new Dictionary<string, object?>
    {
        ["devices"] = example.Apply(getDevicesResult => getDevicesResult.Devices),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.metal.MetalFunctions;
import com.pulumi.equinix.metal.inputs.GetDevicesArgs;
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 example = MetalFunctions.getDevices(GetDevicesArgs.builder()
            .projectId(local.project_id())
            .filters(            
                GetDevicesFilterArgs.builder()
                    .attribute("plan")
                    .values("c3.small.x86")
                    .build(),
                GetDevicesFilterArgs.builder()
                    .attribute("metro")
                    .values(                    
                        "da",
                        "sv")
                    .build())
            .build());
        ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices()));
    }
}
variables:
  example:
    fn::invoke:
      function: equinix:metal:getDevices
      arguments:
        projectId: ${local.project_id}
        filters:
          - attribute: plan
            values:
              - c3.small.x86
          - attribute: metro
            values:
              - da
              - sv
outputs:
  devices: ${example.devices}
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const example = equinix.metal.getDevices({
    search: "database",
});
export const devices = example.then(example => example.devices);
import pulumi
import pulumi_equinix as equinix
example = equinix.metal.get_devices(search="database")
pulumi.export("devices", example.devices)
package main
import (
	"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := metal.GetDevices(ctx, &metal.GetDevicesArgs{
			Search: pulumi.StringRef("database"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("devices", example.Devices)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() => 
{
    var example = Equinix.Metal.GetDevices.Invoke(new()
    {
        Search = "database",
    });
    return new Dictionary<string, object?>
    {
        ["devices"] = example.Apply(getDevicesResult => getDevicesResult.Devices),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.metal.MetalFunctions;
import com.pulumi.equinix.metal.inputs.GetDevicesArgs;
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 example = MetalFunctions.getDevices(GetDevicesArgs.builder()
            .search("database")
            .build());
        ctx.export("devices", example.applyValue(getDevicesResult -> getDevicesResult.devices()));
    }
}
variables:
  example:
    fn::invoke:
      function: equinix:metal:getDevices
      arguments:
        search: database
outputs:
  devices: ${example.devices}
search vs filter
The difference between search and filter is that search is an API parameter, interpreted by the Equinix Metal service. The “filter” arguments will reduce the API list (or search) results by applying client-side filtering, within this provider.
Using getDevices
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 getDevices(args: GetDevicesArgs, opts?: InvokeOptions): Promise<GetDevicesResult>
function getDevicesOutput(args: GetDevicesOutputArgs, opts?: InvokeOptions): Output<GetDevicesResult>def get_devices(filters: Optional[Sequence[GetDevicesFilter]] = None,
                organization_id: Optional[str] = None,
                project_id: Optional[str] = None,
                search: Optional[str] = None,
                sorts: Optional[Sequence[GetDevicesSort]] = None,
                opts: Optional[InvokeOptions] = None) -> GetDevicesResult
def get_devices_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDevicesFilterArgs]]]] = None,
                organization_id: Optional[pulumi.Input[str]] = None,
                project_id: Optional[pulumi.Input[str]] = None,
                search: Optional[pulumi.Input[str]] = None,
                sorts: Optional[pulumi.Input[Sequence[pulumi.Input[GetDevicesSortArgs]]]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetDevicesResult]func GetDevices(ctx *Context, args *GetDevicesArgs, opts ...InvokeOption) (*GetDevicesResult, error)
func GetDevicesOutput(ctx *Context, args *GetDevicesOutputArgs, opts ...InvokeOption) GetDevicesResultOutput> Note: This function is named GetDevices in the Go SDK.
public static class GetDevices 
{
    public static Task<GetDevicesResult> InvokeAsync(GetDevicesArgs args, InvokeOptions? opts = null)
    public static Output<GetDevicesResult> Invoke(GetDevicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDevicesResult> getDevices(GetDevicesArgs args, InvokeOptions options)
public static Output<GetDevicesResult> getDevices(GetDevicesArgs args, InvokeOptions options)
fn::invoke:
  function: equinix:metal/getDevices:getDevices
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filters
List<GetDevices Filter> 
- One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the equinix.metal.Devicedatasource.
- OrganizationId string
- ID of organization containing the devices.
- ProjectId string
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- Search string
- Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.
- Sorts
List<GetDevices Sort> 
- Filters
[]GetDevices Filter 
- One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the equinix.metal.Devicedatasource.
- OrganizationId string
- ID of organization containing the devices.
- ProjectId string
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- Search string
- Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.
- Sorts
[]GetDevices Sort 
- filters
List<GetDevices Filter> 
- One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the equinix.metal.Devicedatasource.
- organizationId String
- ID of organization containing the devices.
- projectId String
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- search String
- Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.
- sorts
List<GetDevices Sort> 
- filters
GetDevices Filter[] 
- One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the equinix.metal.Devicedatasource.
- organizationId string
- ID of organization containing the devices.
- projectId string
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- search string
- Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.
- sorts
GetDevices Sort[] 
- filters
Sequence[GetDevices Filter] 
- One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the equinix.metal.Devicedatasource.
- organization_id str
- ID of organization containing the devices.
- project_id str
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- search str
- Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.
- sorts
Sequence[GetDevices Sort] 
- filters List<Property Map>
- One or more attribute/values pairs to filter. List of atributes to filter can be found in the attribute reference of the equinix.metal.Devicedatasource.
- organizationId String
- ID of organization containing the devices.
- projectId String
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- search String
- Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.
- sorts List<Property Map>
getDevices Result
The following output properties are available:
- Devices
List<GetDevices Device> 
- list of resources with attributes like in the equninix_metal_device datasources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<GetDevices Filter> 
- OrganizationId string
- ProjectId string
- Search string
- Sorts
List<GetDevices Sort> 
- Devices
[]GetDevices Device 
- list of resources with attributes like in the equninix_metal_device datasources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]GetDevices Filter 
- OrganizationId string
- ProjectId string
- Search string
- Sorts
[]GetDevices Sort 
- devices
List<GetDevices Device> 
- list of resources with attributes like in the equninix_metal_device datasources.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<GetDevices Filter> 
- organizationId String
- projectId String
- search String
- sorts
List<GetDevices Sort> 
- devices
GetDevices Device[] 
- list of resources with attributes like in the equninix_metal_device datasources.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
GetDevices Filter[] 
- organizationId string
- projectId string
- search string
- sorts
GetDevices Sort[] 
- devices
Sequence[GetDevices Device] 
- list of resources with attributes like in the equninix_metal_device datasources.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[GetDevices Filter] 
- organization_id str
- project_id str
- search str
- sorts
Sequence[GetDevices Sort] 
- devices List<Property Map>
- list of resources with attributes like in the equninix_metal_device datasources.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- organizationId String
- projectId String
- search String
- sorts List<Property Map>
Supporting Types
GetDevicesDevice  
- AccessPrivate stringIpv4 
- The ipv4 private IP assigned to the device
- AccessPublic stringIpv4 
- The ipv4 management IP assigned to the device
- AccessPublic stringIpv6 
- The ipv6 management IP assigned to the device
- AlwaysPxe bool
- BillingCycle string
- The billing cycle of the device (monthly or hourly)
- Description string
- Description string for the device
- DeviceId string
- Device ID
- Facility string
- The facility where the device is deployed
- HardwareReservation stringId 
- The id of hardware reservation which this device occupies
- Hostname string
- The device name
- IpxeScript stringUrl 
- Metro string
- The metro where the device is deployed
- NetworkType string
- L2 network type of the device, one oflayer3, hybrid, layer2-individual, layer2-bonded
- Networks
List<GetDevices Device Network> 
- The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 networks: ublic IPv4 at equinix_metal_device.name.network.0, IPv6 at equinix_metal_device.name.network.1 and private IPv4 at equinix_metal_device.name.network.2. Elastic addresses then stack by type - an assigned public IPv4 will go after the management public IPv4 (to index 1), and will then shift the indices of the IPv6 and private IPv4. Assigned private IPv4 will go after the management private IPv4 (to the end of the network list).
- OperatingSystem string
- The operating system running on the device
- Plan string
- The hardware config of the device
- Ports
List<GetDevices Device Port> 
- Ports assigned to the device
- ProjectId string
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- RootPassword string
- Root password to the server (if still available)
- SosHostname string
- The hostname to use for Serial over SSH access to the device
- SshKey List<string>Ids 
- List of IDs of SSH keys deployed in the device, can be both user or project SSH keys
- State string
- The state of the device
- Storage string
- List<string>
- Tags attached to the device
- AccessPrivate stringIpv4 
- The ipv4 private IP assigned to the device
- AccessPublic stringIpv4 
- The ipv4 management IP assigned to the device
- AccessPublic stringIpv6 
- The ipv6 management IP assigned to the device
- AlwaysPxe bool
- BillingCycle string
- The billing cycle of the device (monthly or hourly)
- Description string
- Description string for the device
- DeviceId string
- Device ID
- Facility string
- The facility where the device is deployed
- HardwareReservation stringId 
- The id of hardware reservation which this device occupies
- Hostname string
- The device name
- IpxeScript stringUrl 
- Metro string
- The metro where the device is deployed
- NetworkType string
- L2 network type of the device, one oflayer3, hybrid, layer2-individual, layer2-bonded
- Networks
[]GetDevices Device Network 
- The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 networks: ublic IPv4 at equinix_metal_device.name.network.0, IPv6 at equinix_metal_device.name.network.1 and private IPv4 at equinix_metal_device.name.network.2. Elastic addresses then stack by type - an assigned public IPv4 will go after the management public IPv4 (to index 1), and will then shift the indices of the IPv6 and private IPv4. Assigned private IPv4 will go after the management private IPv4 (to the end of the network list).
- OperatingSystem string
- The operating system running on the device
- Plan string
- The hardware config of the device
- Ports
[]GetDevices Device Port 
- Ports assigned to the device
- ProjectId string
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- RootPassword string
- Root password to the server (if still available)
- SosHostname string
- The hostname to use for Serial over SSH access to the device
- SshKey []stringIds 
- List of IDs of SSH keys deployed in the device, can be both user or project SSH keys
- State string
- The state of the device
- Storage string
- []string
- Tags attached to the device
- accessPrivate StringIpv4 
- The ipv4 private IP assigned to the device
- accessPublic StringIpv4 
- The ipv4 management IP assigned to the device
- accessPublic StringIpv6 
- The ipv6 management IP assigned to the device
- alwaysPxe Boolean
- billingCycle String
- The billing cycle of the device (monthly or hourly)
- description String
- Description string for the device
- deviceId String
- Device ID
- facility String
- The facility where the device is deployed
- hardwareReservation StringId 
- The id of hardware reservation which this device occupies
- hostname String
- The device name
- ipxeScript StringUrl 
- metro String
- The metro where the device is deployed
- networkType String
- L2 network type of the device, one oflayer3, hybrid, layer2-individual, layer2-bonded
- networks
List<GetDevices Device Network> 
- The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 networks: ublic IPv4 at equinix_metal_device.name.network.0, IPv6 at equinix_metal_device.name.network.1 and private IPv4 at equinix_metal_device.name.network.2. Elastic addresses then stack by type - an assigned public IPv4 will go after the management public IPv4 (to index 1), and will then shift the indices of the IPv6 and private IPv4. Assigned private IPv4 will go after the management private IPv4 (to the end of the network list).
- operatingSystem String
- The operating system running on the device
- plan String
- The hardware config of the device
- ports
List<GetDevices Device Port> 
- Ports assigned to the device
- projectId String
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- rootPassword String
- Root password to the server (if still available)
- sosHostname String
- The hostname to use for Serial over SSH access to the device
- sshKey List<String>Ids 
- List of IDs of SSH keys deployed in the device, can be both user or project SSH keys
- state String
- The state of the device
- storage String
- List<String>
- Tags attached to the device
- accessPrivate stringIpv4 
- The ipv4 private IP assigned to the device
- accessPublic stringIpv4 
- The ipv4 management IP assigned to the device
- accessPublic stringIpv6 
- The ipv6 management IP assigned to the device
- alwaysPxe boolean
- billingCycle string
- The billing cycle of the device (monthly or hourly)
- description string
- Description string for the device
- deviceId string
- Device ID
- facility string
- The facility where the device is deployed
- hardwareReservation stringId 
- The id of hardware reservation which this device occupies
- hostname string
- The device name
- ipxeScript stringUrl 
- metro string
- The metro where the device is deployed
- networkType string
- L2 network type of the device, one oflayer3, hybrid, layer2-individual, layer2-bonded
- networks
GetDevices Device Network[] 
- The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 networks: ublic IPv4 at equinix_metal_device.name.network.0, IPv6 at equinix_metal_device.name.network.1 and private IPv4 at equinix_metal_device.name.network.2. Elastic addresses then stack by type - an assigned public IPv4 will go after the management public IPv4 (to index 1), and will then shift the indices of the IPv6 and private IPv4. Assigned private IPv4 will go after the management private IPv4 (to the end of the network list).
- operatingSystem string
- The operating system running on the device
- plan string
- The hardware config of the device
- ports
GetDevices Device Port[] 
- Ports assigned to the device
- projectId string
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- rootPassword string
- Root password to the server (if still available)
- sosHostname string
- The hostname to use for Serial over SSH access to the device
- sshKey string[]Ids 
- List of IDs of SSH keys deployed in the device, can be both user or project SSH keys
- state string
- The state of the device
- storage string
- string[]
- Tags attached to the device
- access_private_ stripv4 
- The ipv4 private IP assigned to the device
- access_public_ stripv4 
- The ipv4 management IP assigned to the device
- access_public_ stripv6 
- The ipv6 management IP assigned to the device
- always_pxe bool
- billing_cycle str
- The billing cycle of the device (monthly or hourly)
- description str
- Description string for the device
- device_id str
- Device ID
- facility str
- The facility where the device is deployed
- hardware_reservation_ strid 
- The id of hardware reservation which this device occupies
- hostname str
- The device name
- ipxe_script_ strurl 
- metro str
- The metro where the device is deployed
- network_type str
- L2 network type of the device, one oflayer3, hybrid, layer2-individual, layer2-bonded
- networks
Sequence[GetDevices Device Network] 
- The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 networks: ublic IPv4 at equinix_metal_device.name.network.0, IPv6 at equinix_metal_device.name.network.1 and private IPv4 at equinix_metal_device.name.network.2. Elastic addresses then stack by type - an assigned public IPv4 will go after the management public IPv4 (to index 1), and will then shift the indices of the IPv6 and private IPv4. Assigned private IPv4 will go after the management private IPv4 (to the end of the network list).
- operating_system str
- The operating system running on the device
- plan str
- The hardware config of the device
- ports
Sequence[GetDevices Device Port] 
- Ports assigned to the device
- project_id str
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- root_password str
- Root password to the server (if still available)
- sos_hostname str
- The hostname to use for Serial over SSH access to the device
- ssh_key_ Sequence[str]ids 
- List of IDs of SSH keys deployed in the device, can be both user or project SSH keys
- state str
- The state of the device
- storage str
- Sequence[str]
- Tags attached to the device
- accessPrivate StringIpv4 
- The ipv4 private IP assigned to the device
- accessPublic StringIpv4 
- The ipv4 management IP assigned to the device
- accessPublic StringIpv6 
- The ipv6 management IP assigned to the device
- alwaysPxe Boolean
- billingCycle String
- The billing cycle of the device (monthly or hourly)
- description String
- Description string for the device
- deviceId String
- Device ID
- facility String
- The facility where the device is deployed
- hardwareReservation StringId 
- The id of hardware reservation which this device occupies
- hostname String
- The device name
- ipxeScript StringUrl 
- metro String
- The metro where the device is deployed
- networkType String
- L2 network type of the device, one oflayer3, hybrid, layer2-individual, layer2-bonded
- networks List<Property Map>
- The device's private and public IP (v4 and v6) network details. When a device is run without any special network configuration, it will have 3 networks: ublic IPv4 at equinix_metal_device.name.network.0, IPv6 at equinix_metal_device.name.network.1 and private IPv4 at equinix_metal_device.name.network.2. Elastic addresses then stack by type - an assigned public IPv4 will go after the management public IPv4 (to index 1), and will then shift the indices of the IPv6 and private IPv4. Assigned private IPv4 will go after the management private IPv4 (to the end of the network list).
- operatingSystem String
- The operating system running on the device
- plan String
- The hardware config of the device
- ports List<Property Map>
- Ports assigned to the device
- projectId String
- ID of project containing the devices. Exactly one of project_idandorganization_idmust be set.
- rootPassword String
- Root password to the server (if still available)
- sosHostname String
- The hostname to use for Serial over SSH access to the device
- sshKey List<String>Ids 
- List of IDs of SSH keys deployed in the device, can be both user or project SSH keys
- state String
- The state of the device
- storage String
- List<String>
- Tags attached to the device
GetDevicesDeviceNetwork   
GetDevicesDevicePort   
GetDevicesFilter  
- Attribute string
- The attribute used to filter. Filter attributes are case-sensitive
- Values List<string>
- The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- All bool
- If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is - false.- All fields in the - devicesblock defined below can be used as attribute for both- sortand- filterblocks.
- MatchBy string
- The type of comparison to apply. One of: in,re,substring,less_than,less_than_or_equal,greater_than,greater_than_or_equal. Default isin.
- Attribute string
- The attribute used to filter. Filter attributes are case-sensitive
- Values []string
- The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- All bool
- If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is - false.- All fields in the - devicesblock defined below can be used as attribute for both- sortand- filterblocks.
- MatchBy string
- The type of comparison to apply. One of: in,re,substring,less_than,less_than_or_equal,greater_than,greater_than_or_equal. Default isin.
- attribute String
- The attribute used to filter. Filter attributes are case-sensitive
- values List<String>
- The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all Boolean
- If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is - false.- All fields in the - devicesblock defined below can be used as attribute for both- sortand- filterblocks.
- matchBy String
- The type of comparison to apply. One of: in,re,substring,less_than,less_than_or_equal,greater_than,greater_than_or_equal. Default isin.
- attribute string
- The attribute used to filter. Filter attributes are case-sensitive
- values string[]
- The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all boolean
- If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is - false.- All fields in the - devicesblock defined below can be used as attribute for both- sortand- filterblocks.
- matchBy string
- The type of comparison to apply. One of: in,re,substring,less_than,less_than_or_equal,greater_than,greater_than_or_equal. Default isin.
- attribute str
- The attribute used to filter. Filter attributes are case-sensitive
- values Sequence[str]
- The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all bool
- If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is - false.- All fields in the - devicesblock defined below can be used as attribute for both- sortand- filterblocks.
- match_by str
- The type of comparison to apply. One of: in,re,substring,less_than,less_than_or_equal,greater_than,greater_than_or_equal. Default isin.
- attribute String
- The attribute used to filter. Filter attributes are case-sensitive
- values List<String>
- The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values
- all Boolean
- If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is - false.- All fields in the - devicesblock defined below can be used as attribute for both- sortand- filterblocks.
- matchBy String
- The type of comparison to apply. One of: in,re,substring,less_than,less_than_or_equal,greater_than,greater_than_or_equal. Default isin.
GetDevicesSort  
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the equinixTerraform Provider.
 
