Linode
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<Get
Instances Filter> - Order string
The order in which results should be returned. (
asc
,desc
; defaultasc
)- Order
By string The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- Filters
[]Get
Instances Filter - Order string
The order in which results should be returned. (
asc
,desc
; defaultasc
)- Order
By string The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
List<Get
Instances Filter> - order String
The order in which results should be returned. (
asc
,desc
; defaultasc
)- order
By String The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Get
Instances Filter[] - order string
The order in which results should be returned. (
asc
,desc
; defaultasc
)- order
By string The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Sequence[Get
Instances Filter] - order str
The order in which results should be returned. (
asc
,desc
; defaultasc
)- 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
; defaultasc
)- order
By 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<Get
Instances Instance> - Filters
List<Get
Instances Filter> - Order string
- Order
By string
- Id string
The provider-assigned unique ID for this managed resource.
- Instances
[]Get
Instances Instance - Filters
[]Get
Instances Filter - Order string
- Order
By string
- id String
The provider-assigned unique ID for this managed resource.
- instances
List<Get
Instances Instance> - filters
List<Get
Instances Filter> - order String
- order
By String
- id string
The provider-assigned unique ID for this managed resource.
- instances
Get
Instances Instance[] - filters
Get
Instances Filter[] - order string
- order
By string
- id str
The provider-assigned unique ID for this managed resource.
- instances
Sequence[Get
Instances Instance] - filters
Sequence[Get
Instances Filter] - 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
- order
By 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.
- Match
By string The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- Match
By string The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- match
By String The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- match
By string The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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
; defaultexact
)
- 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.
- match
By String The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
GetInstancesInstance
- Alerts
Get
Instances Instance Alerts - Backups
List<Get
Instances Instance Backup> - Boot
Config stringLabel - Configs
List<Get
Instances Instance Config> - Disks
List<Get
Instances Instance Disk> - Group string
- Id int
- Image string
- Ip
Address string - Ipv4s List<string>
- Ipv6 string
- Label string
- Private
Ip stringAddress - Region string
- Specs
List<Get
Instances Instance Spec> - Status string
- Swap
Size int - List<string>
- Type string
- Watchdog
Enabled bool
- Alerts
Get
Instances Instance Alerts - Backups
[]Get
Instances Instance Backup - Boot
Config stringLabel - Configs
[]Get
Instances Instance Config - Disks
[]Get
Instances Instance Disk - Group string
- Id int
- Image string
- Ip
Address string - Ipv4s []string
- Ipv6 string
- Label string
- Private
Ip stringAddress - Region string
- Specs
[]Get
Instances Instance Spec - Status string
- Swap
Size int - []string
- Type string
- Watchdog
Enabled bool
- alerts
Get
Instances Instance Alerts - backups
List<Get
Instances Instance Backup> - boot
Config StringLabel - configs
List<Get
Instances Instance Config> - disks
List<Get
Instances Instance Disk> - group String
- id Integer
- image String
- ip
Address String - ipv4s List<String>
- ipv6 String
- label String
- private
Ip StringAddress - region String
- specs
List<Get
Instances Instance Spec> - status String
- swap
Size Integer - List<String>
- type String
- watchdog
Enabled Boolean
- alerts
Get
Instances Instance Alerts - backups
Get
Instances Instance Backup[] - boot
Config stringLabel - configs
Get
Instances Instance Config[] - disks
Get
Instances Instance Disk[] - group string
- id number
- image string
- ip
Address string - ipv4s string[]
- ipv6 string
- label string
- private
Ip stringAddress - region string
- specs
Get
Instances Instance Spec[] - status string
- swap
Size number - string[]
- type string
- watchdog
Enabled boolean
- alerts
Get
Instances Instance Alerts - backups
Sequence[Get
Instances Instance Backup] - boot_
config_ strlabel - configs
Sequence[Get
Instances Instance Config] - disks
Sequence[Get
Instances Instance Disk] - group str
- id int
- image str
- ip_
address str - ipv4s Sequence[str]
- ipv6 str
- label str
- private_
ip_ straddress - region str
- specs
Sequence[Get
Instances Instance Spec] - status str
- swap_
size int - Sequence[str]
- type str
- watchdog_
enabled bool
- alerts Property Map
- backups List<Property Map>
- boot
Config StringLabel - configs List<Property Map>
- disks List<Property Map>
- group String
- id Number
- image String
- ip
Address String - ipv4s List<String>
- ipv6 String
- label String
- private
Ip StringAddress - region String
- specs List<Property Map>
- status String
- swap
Size Number - List<String>
- type String
- watchdog
Enabled Boolean
GetInstancesInstanceAlerts
- Cpu int
- Io int
- Network
In int - Network
Out int - Transfer
Quota int
- Cpu int
- Io int
- Network
In int - Network
Out int - Transfer
Quota int
- cpu Integer
- io Integer
- network
In Integer - network
Out Integer - transfer
Quota Integer
- cpu number
- io number
- network
In number - network
Out number - transfer
Quota number
- cpu int
- io int
- network_
in int - network_
out int - transfer_
quota int
- cpu Number
- io Number
- network
In Number - network
Out Number - transfer
Quota Number
GetInstancesInstanceBackup
- enabled Boolean
- schedules List<Property Map>
GetInstancesInstanceBackupSchedule
GetInstancesInstanceConfig
- Comments string
- Devices
[]Get
Instances Instance Config Device - Helpers
[]Get
Instances Instance Config Helper - Interfaces
[]Get
Instances Instance Config Interface - Kernel string
- Label string
- Memory
Limit int - Root
Device string - Run
Level string - Virt
Mode string
- comments String
- devices
List<Get
Instances Instance Config Device> - helpers
List<Get
Instances Instance Config Helper> - interfaces
List<Get
Instances Instance Config Interface> - kernel String
- label String
- memory
Limit Integer - root
Device String - run
Level String - virt
Mode String
- comments string
- devices
Get
Instances Instance Config Device[] - helpers
Get
Instances Instance Config Helper[] - interfaces
Get
Instances Instance Config Interface[] - kernel string
- label string
- memory
Limit number - root
Device string - run
Level string - virt
Mode string
- comments String
- devices List<Property Map>
- helpers List<Property Map>
- interfaces List<Property Map>
- kernel String
- label String
- memory
Limit Number - root
Device String - run
Level String - virt
Mode String
GetInstancesInstanceConfigDevice
- Sdas
List<Get
Instances Instance Config Device Sda> - Sdbs
List<Get
Instances Instance Config Device Sdb> - Sdcs
List<Get
Instances Instance Config Device Sdc> - Sdds
List<Get
Instances Instance Config Device Sdd> - Sdes
List<Get
Instances Instance Config Device Sde> - Sdfs
List<Get
Instances Instance Config Device Sdf> - Sdgs
List<Get
Instances Instance Config Device Sdg> - Sdhs
List<Get
Instances Instance Config Device Sdh>
- Sdas
[]Get
Instances Instance Config Device Sda - Sdbs
[]Get
Instances Instance Config Device Sdb - Sdcs
[]Get
Instances Instance Config Device Sdc - Sdds
[]Get
Instances Instance Config Device Sdd - Sdes
[]Get
Instances Instance Config Device Sde - Sdfs
[]Get
Instances Instance Config Device Sdf - Sdgs
[]Get
Instances Instance Config Device Sdg - Sdhs
[]Get
Instances Instance Config Device Sdh
- sdas
List<Get
Instances Instance Config Device Sda> - sdbs
List<Get
Instances Instance Config Device Sdb> - sdcs
List<Get
Instances Instance Config Device Sdc> - sdds
List<Get
Instances Instance Config Device Sdd> - sdes
List<Get
Instances Instance Config Device Sde> - sdfs
List<Get
Instances Instance Config Device Sdf> - sdgs
List<Get
Instances Instance Config Device Sdg> - sdhs
List<Get
Instances Instance Config Device Sdh>
- sdas
Get
Instances Instance Config Device Sda[] - sdbs
Get
Instances Instance Config Device Sdb[] - sdcs
Get
Instances Instance Config Device Sdc[] - sdds
Get
Instances Instance Config Device Sdd[] - sdes
Get
Instances Instance Config Device Sde[] - sdfs
Get
Instances Instance Config Device Sdf[] - sdgs
Get
Instances Instance Config Device Sdg[] - sdhs
Get
Instances Instance Config Device Sdh[]
- sdas
Sequence[Get
Instances Instance Config Device Sda] - sdbs
Sequence[Get
Instances Instance Config Device Sdb] - sdcs
Sequence[Get
Instances Instance Config Device Sdc] - sdds
Sequence[Get
Instances Instance Config Device Sdd] - sdes
Sequence[Get
Instances Instance Config Device Sde] - sdfs
Sequence[Get
Instances Instance Config Device Sdf] - sdgs
Sequence[Get
Instances Instance Config Device Sdg] - sdhs
Sequence[Get
Instances Instance Config Device Sdh]
GetInstancesInstanceConfigDeviceSda
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigDeviceSdb
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigDeviceSdc
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigDeviceSdd
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigDeviceSde
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigDeviceSdf
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigDeviceSdg
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigDeviceSdh
- disk_
id int - disk_
label str - volume_
id int
GetInstancesInstanceConfigHelper
- Devtmpfs
Automount bool - Distro bool
- Modules
Dep bool - Network bool
- Updatedb
Disabled bool
- Devtmpfs
Automount bool - Distro bool
- Modules
Dep bool - Network bool
- Updatedb
Disabled bool
- devtmpfs
Automount Boolean - distro Boolean
- modules
Dep Boolean - network Boolean
- updatedb
Disabled Boolean
- devtmpfs
Automount boolean - distro boolean
- modules
Dep boolean - network boolean
- updatedb
Disabled boolean
- devtmpfs_
automount bool - distro bool
- modules_
dep bool - network bool
- updatedb_
disabled bool
- devtmpfs
Automount Boolean - distro Boolean
- modules
Dep Boolean - network Boolean
- updatedb
Disabled Boolean
GetInstancesInstanceConfigInterface
- Ipam
Address string - Label string
- Purpose string
- Ipam
Address string - Label string
- Purpose string
- ipam
Address String - label String
- purpose String
- ipam
Address string - label string
- purpose string
- ipam_
address str - label str
- purpose str
- ipam
Address 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
Package Details
- Repository
- https://github.com/pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
linode
Terraform Provider.