BastionhostFunctions

Functions

Link copied to clipboard

This data source provides the Bastionhost Host Accounts of the current Alibaba Cloud user.

suspend fun getHostAccounts(hostAccountName: String? = null, hostId: String, ids: List<String>? = null, instanceId: String, nameRegex: String? = null, outputFile: String? = null, protocolName: String? = null): GetHostAccountsResult
Link copied to clipboard

This data source provides the Bastionhost Host Groups of the current Alibaba Cloud user.

suspend fun getHostGroups(hostGroupName: String? = null, ids: List<String>? = null, instanceId: String, nameRegex: String? = null, outputFile: String? = null): GetHostGroupsResult
Link copied to clipboard
suspend fun getHosts(argument: GetHostsPlainArgs): GetHostsResult

This data source provides the Bastionhost Hosts of the current Alibaba Cloud user.

suspend fun getHosts(argument: suspend GetHostsPlainArgsBuilder.() -> Unit): GetHostsResult
suspend fun getHosts(enableDetails: Boolean? = null, hostAddress: String? = null, hostName: String? = null, ids: List<String>? = null, instanceId: String, nameRegex: String? = null, osType: String? = null, outputFile: String? = null, source: String? = null, sourceInstanceId: String? = null, sourceInstanceState: String? = null): GetHostsResult
Link copied to clipboard

This data source provides the Bastionhost Host Share Keys of the current Alibaba Cloud user.

suspend fun getHostShareKeys(enableDetails: Boolean? = null, ids: List<String>? = null, instanceId: String, nameRegex: String? = null, outputFile: String? = null): GetHostShareKeysResult
Link copied to clipboard
suspend fun getInstances(descriptionRegex: String? = null, ids: List<String>? = null, outputFile: String? = null, tags: Map<String, String>? = null): GetInstancesResult
Link copied to clipboard

This data source provides the Bastionhost User Groups of the current Alibaba Cloud user.

suspend fun getUserGroups(ids: List<String>? = null, instanceId: String, nameRegex: String? = null, outputFile: String? = null, userGroupName: String? = null): GetUserGroupsResult
Link copied to clipboard
suspend fun getUsers(argument: GetUsersPlainArgs): GetUsersResult

This data source provides the Bastionhost Users of the current Alibaba Cloud user.

suspend fun getUsers(argument: suspend GetUsersPlainArgsBuilder.() -> Unit): GetUsersResult
suspend fun getUsers(displayName: String? = null, ids: List<String>? = null, instanceId: String, mobile: String? = null, nameRegex: String? = null, outputFile: String? = null, source: String? = null, sourceUserId: String? = null, status: String? = null, userName: String? = null): GetUsersResult