Linode

Pulumi Official
Package maintained by Pulumi
v3.10.0 published on Tuesday, Aug 16, 2022 by Pulumi

getInstances

Using getInstances

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 getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
function getInstancesOutput(args: GetInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstancesResult>
def get_instances(filters: Optional[Sequence[GetInstancesFilter]] = None,
                  order: Optional[str] = None,
                  order_by: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetInstancesResult
def get_instances_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstancesFilterArgs]]]] = None,
                  order: Optional[pulumi.Input[str]] = None,
                  order_by: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]
func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput

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

public static class GetInstances 
{
    public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetInstancesResult> Invoke(GetInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: linode:index/getInstances:getInstances
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Filters List<GetInstancesFilter>
Order string

The order in which results should be returned. (asc, desc; default asc)

OrderBy string

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

Filters []GetInstancesFilter
Order string

The order in which results should be returned. (asc, desc; default asc)

OrderBy string

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters List<GetInstancesFilter>
order String

The order in which results should be returned. (asc, desc; default asc)

orderBy String

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters GetInstancesFilter[]
order string

The order in which results should be returned. (asc, desc; default asc)

orderBy string

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters Sequence[GetInstancesFilter]
order str

The order in which results should be returned. (asc, desc; default asc)

order_by str

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters List<Property Map>
order String

The order in which results should be returned. (asc, desc; default asc)

orderBy String

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

getInstances Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Instances List<GetInstancesInstance>
Filters List<GetInstancesFilter>
Order string
OrderBy string
Id string

The provider-assigned unique ID for this managed resource.

Instances []GetInstancesInstance
Filters []GetInstancesFilter
Order string
OrderBy string
id String

The provider-assigned unique ID for this managed resource.

instances List<GetInstancesInstance>
filters List<GetInstancesFilter>
order String
orderBy String
id string

The provider-assigned unique ID for this managed resource.

instances GetInstancesInstance[]
filters GetInstancesFilter[]
order string
orderBy string
id str

The provider-assigned unique ID for this managed resource.

instances Sequence[GetInstancesInstance]
filters Sequence[GetInstancesFilter]
order str
order_by str
id String

The provider-assigned unique ID for this managed resource.

instances List<Property Map>
filters List<Property Map>
order String
orderBy String

Supporting Types

GetInstancesFilter

Name string

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

Values List<string>

A list of values for the filter to allow. These values should all be in string form.

MatchBy string

The method to match the field by. (exact, regex, substring; default exact)

Name string

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

Values []string

A list of values for the filter to allow. These values should all be in string form.

MatchBy string

The method to match the field by. (exact, regex, substring; default exact)

name String

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values List<String>

A list of values for the filter to allow. These values should all be in string form.

matchBy String

The method to match the field by. (exact, regex, substring; default exact)

name string

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values string[]

A list of values for the filter to allow. These values should all be in string form.

matchBy string

The method to match the field by. (exact, regex, substring; default exact)

name str

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values Sequence[str]

A list of values for the filter to allow. These values should all be in string form.

match_by str

The method to match the field by. (exact, regex, substring; default exact)

name String

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values List<String>

A list of values for the filter to allow. These values should all be in string form.

matchBy String

The method to match the field by. (exact, regex, substring; default exact)

GetInstancesInstance

GetInstancesInstanceAlerts

cpu Integer
io Integer
networkIn Integer
networkOut Integer
transferQuota Integer
cpu number
io number
networkIn number
networkOut number
transferQuota number
cpu Number
io Number
networkIn Number
networkOut Number
transferQuota Number

GetInstancesInstanceBackup

GetInstancesInstanceBackupSchedule

Day string
Window string
Day string
Window string
day String
window String
day string
window string
day str
window str
day String
window String

GetInstancesInstanceConfig

GetInstancesInstanceConfigDevice

GetInstancesInstanceConfigDeviceSda

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigDeviceSdb

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigDeviceSdc

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigDeviceSdd

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigDeviceSde

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigDeviceSdf

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigDeviceSdg

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigDeviceSdh

diskId Integer
diskLabel String
volumeId Integer
diskId number
diskLabel string
volumeId number
diskId Number
diskLabel String
volumeId Number

GetInstancesInstanceConfigHelper

devtmpfsAutomount Boolean
distro Boolean
modulesDep Boolean
network Boolean
updatedbDisabled Boolean
devtmpfsAutomount boolean
distro boolean
modulesDep boolean
network boolean
updatedbDisabled boolean
devtmpfsAutomount Boolean
distro Boolean
modulesDep Boolean
network Boolean
updatedbDisabled Boolean

GetInstancesInstanceConfigInterface

IpamAddress string
Label string
Purpose string
IpamAddress string
Label string
Purpose string
ipamAddress String
label String
purpose String
ipamAddress string
label string
purpose string
ipamAddress String
label String
purpose String

GetInstancesInstanceDisk

Filesystem string
Id int
Label string
Size int
Filesystem string
Id int
Label string
Size int
filesystem String
id Integer
label String
size Integer
filesystem string
id number
label string
size number
filesystem str
id int
label str
size int
filesystem String
id Number
label String
size Number

GetInstancesInstanceSpec

Disk int
Memory int
Transfer int
Vcpus int
Disk int
Memory int
Transfer int
Vcpus int
disk Integer
memory Integer
transfer Integer
vcpus Integer
disk number
memory number
transfer number
vcpus number
disk int
memory int
transfer int
vcpus int
disk Number
memory Number
transfer Number
vcpus Number

Package Details

Repository
https://github.com/pulumi/pulumi-linode
License
Apache-2.0
Notes

This Pulumi package is based on the linode Terraform Provider.