CloudstoragegatewayFunctions

Functions

Link copied to clipboard

This data source provides the Cloud Storage Gateway Express Syncs of the current Alibaba Cloud user.

suspend fun getExpressSyncs(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetExpressSyncsResult
Link copied to clipboard

This data source provides the Cloud Storage Gateway Gateway Block Volumes of the current Alibaba Cloud user.

suspend fun getGatewayBlockVolumes(gatewayId: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, status: Int? = null): GetGatewayBlockVolumesResult
Link copied to clipboard

This data source provides the Cloud Storage Gateway Gateway Cache Disks of the current Alibaba Cloud user.

suspend fun getGatewayCacheDisks(gatewayId: String, ids: List<String>? = null, outputFile: String? = null, status: Int? = null): GetGatewayCacheDisksResult
Link copied to clipboard

This data source provides the Cloud Storage Gateway Gateway File Shares of the current Alibaba Cloud user.

suspend fun getGatewayFileShares(gatewayId: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetGatewayFileSharesResult
Link copied to clipboard

This data source provides the Cloud Storage Gateway Gateways of the current Alibaba Cloud user.

suspend fun getGateways(argument: suspend GetGatewaysPlainArgsBuilder.() -> Unit): GetGatewaysResult
suspend fun getGateways(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, status: String? = null, storageBundleId: String): GetGatewaysResult
Link copied to clipboard

This data source provides the Cloud Storage Gateway Gateway SMB Users of the current Alibaba Cloud user.

suspend fun getGatewaySmbUsers(gatewayId: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetGatewaySmbUsersResult
Link copied to clipboard

Using this data source can open Cloud Storage Gateway service automatically. If the service has been opened, it will return opened. For information about Cloud Storage Gateway and how to use it, see What is Cloud Storage Gateway.

suspend fun getService(enable: String? = null): GetServiceResult
suspend fun getService(argument: suspend GetServicePlainArgsBuilder.() -> Unit): GetServiceResult
Link copied to clipboard

This data source provides the Cloud Storage Gateway Stocks of the current Alibaba Cloud user.

suspend fun getStocks(argument: suspend GetStocksPlainArgsBuilder.() -> Unit): GetStocksResult
suspend fun getStocks(gatewayClass: String? = null, outputFile: String? = null): GetStocksResult
Link copied to clipboard
suspend fun getStorageBundles(backendBucketRegionId: String, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null): GetStorageBundlesResult