GetInstancesPlainArgs

data class GetInstancesPlainArgs(val availabilityZone: String? = null, val enableDetails: Boolean? = null, val ids: List<String>? = null, val imageId: String? = null, val instanceName: String? = null, val nameRegex: String? = null, val outputFile: String? = null, val pageNumber: Int? = null, val pageSize: Int? = null, val ramRoleName: String? = null, val resourceGroupId: String? = null, val status: String? = null, val tags: Map<String, String>? = null, val vpcId: String? = null, val vswitchId: String? = null) : ConvertibleToJava<GetInstancesPlainArgs>

A collection of arguments for invoking getInstances.

Constructors

Link copied to clipboard
constructor(availabilityZone: String? = null, enableDetails: Boolean? = null, ids: List<String>? = null, imageId: String? = null, instanceName: String? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, ramRoleName: String? = null, resourceGroupId: String? = null, status: String? = null, tags: Map<String, String>? = null, vpcId: String? = null, vswitchId: String? = null)

Properties

Link copied to clipboard

Availability zone where instances are located.

Link copied to clipboard
val enableDetails: Boolean? = null

Default to true. If false, the attributes ram_role_name and disk_device_mappings will not be fetched and output.

Link copied to clipboard
val ids: List<String>? = null

A list of ECS instance IDs.

Link copied to clipboard
val imageId: String? = null

The image ID of some ECS instance used.

Link copied to clipboard
val instanceName: String? = null

The name of the instance. Fuzzy search with the asterisk (*) wildcard characters is supported.

Link copied to clipboard
val nameRegex: String? = null

A regex string to filter results by instance name.

Link copied to clipboard
val outputFile: String? = null

File name where to save data source results (after running pulumi preview).

Link copied to clipboard
val pageNumber: Int? = null
Link copied to clipboard
val pageSize: Int? = null
Link copied to clipboard
val ramRoleName: String? = null

The RAM role name which the instance attaches.

Link copied to clipboard
val resourceGroupId: String? = null

The ID of resource group which the instance belongs.

Link copied to clipboard
val status: String? = null

Instance status. Valid values: "Creating", "Starting", "Running", "Stopping" and "Stopped". If undefined, all statuses are considered.

Link copied to clipboard
val tags: Map<String, String>? = null

A map of tags assigned to the ECS instances. It must be in the format:

Link copied to clipboard
val vpcId: String? = null

ID of the VPC linked to the instances.

Link copied to clipboard
val vswitchId: String? = null

ID of the vSwitch linked to the instances.

Functions

Link copied to clipboard
open override fun toJava(): GetInstancesPlainArgs