Oss Functions
object OssFunctions
Functions
Link copied to clipboard
This data source provides the objects of an OSS bucket.
suspend fun getBucketObjects(argument: suspend GetBucketObjectsPlainArgsBuilder.() -> Unit): GetBucketObjectsResult
suspend fun getBucketObjects(bucketName: String, keyPrefix: String? = null, keyRegex: String? = null, outputFile: String? = null): GetBucketObjectsResult
Link copied to clipboard
This data source provides the OSS buckets of the current Alibaba Cloud user.
Link copied to clipboard
suspend fun getInstanceAttachments(argument: GetInstanceAttachmentsPlainArgs): GetInstanceAttachmentsResult
This data source provides the ots instance attachments of the current Alibaba Cloud user.
suspend fun getInstanceAttachments(argument: suspend GetInstanceAttachmentsPlainArgsBuilder.() -> Unit): GetInstanceAttachmentsResult
suspend fun getInstanceAttachments(instanceName: String, nameRegex: String? = null, outputFile: String? = null): GetInstanceAttachmentsResult
Link copied to clipboard
This data source provides the ots instances of the current Alibaba Cloud user.
suspend fun getInstances(argument: suspend GetInstancesPlainArgsBuilder.() -> Unit): GetInstancesResult
suspend fun getInstances(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, tags: Map<String, String>? = null): GetInstancesResult
Link copied to clipboard
Using this data source can enable OSS service automatically. If the service has been enabled, it will return Opened
. For information about OSS and how to use it, see What is OSS.
Link copied to clipboard
This data source provides the ots tables of the current Alibaba Cloud user.