GetInstancePlainArgs

data class GetInstancePlainArgs(val filters: List<GetInstanceFilter>? = null, val getPasswordData: Boolean? = null, val getUserData: Boolean? = null, val instanceId: String? = null, val instanceTags: Map<String, String>? = null, val tags: Map<String, String>? = null) : ConvertibleToJava<GetInstancePlainArgs>

A collection of arguments for invoking getInstance.

Constructors

Link copied to clipboard
constructor(filters: List<GetInstanceFilter>? = null, getPasswordData: Boolean? = null, getUserData: Boolean? = null, instanceId: String? = null, instanceTags: Map<String, String>? = null, tags: Map<String, String>? = null)

Properties

Link copied to clipboard

One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out 1.

Link copied to clipboard

If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the password_data attribute. See GetPasswordData for more information.

Link copied to clipboard
val getUserData: Boolean? = null

Retrieve Base64 encoded User Data contents into the user_data_base64 attribute. A SHA-1 hash of the User Data contents will always be present in the user_data attribute. Defaults to false.

Link copied to clipboard
val instanceId: String? = null

Specify the exact Instance ID with which to populate the data source.

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

Map of tags, each pair of which must exactly match a pair on the desired Instance.

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

Map of tags assigned to the Instance.

Functions

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