get Instances
This data source provides the Ecp Instances of the current Alibaba Cloud user.
NOTE: Available in v1.158.0+.
Return
A collection of values returned by getInstances.
Parameters
argument
A collection of arguments for invoking getInstances.
suspend fun getInstances(enableDetails: Boolean? = null, ids: List<String>? = null, imageId: String? = null, instanceName: String? = null, instanceType: String? = null, keyPairName: String? = null, nameRegex: String? = null, outputFile: String? = null, paymentType: String? = null, resolution: String? = null, status: String? = null, zoneId: String? = null): GetInstancesResult
Return
A collection of values returned by getInstances.
See also
Parameters
enable Details
ids
A list of Ecp Instances IDs.
image Id
The ID Of The Image.
instance Name
Instance Name.
instance Type
Instance Type.
key Pair Name
The Key Name.
name Regex
A regex string to filter results by mobile phone name.
output File
File name where to save data source results (after running pulumi preview
).
payment Type
The payment type.Valid values: PayAsYouGo
,Subscription
resolution
Resolution.
status
Instance Status.
zone Id
suspend fun getInstances(argument: suspend GetInstancesPlainArgsBuilder.() -> Unit): GetInstancesResult
Return
A collection of values returned by getInstances.
See also
Parameters
argument
Builder for com.pulumi.alicloud.ecp.kotlin.inputs.GetInstancesPlainArgs.