RamFunctions

Functions

Link copied to clipboard

This data source provides an alias for the Alibaba Cloud account.

suspend fun getAccountAlias(outputFile: String? = null): GetAccountAliasResult
Link copied to clipboard

This data source provides a list of RAM Groups in an Alibaba Cloud account according to the specified filters.

suspend fun getGroups(argument: suspend GetGroupsPlainArgsBuilder.() -> Unit): GetGroupsResult
suspend fun getGroups(nameRegex: String? = null, outputFile: String? = null, policyName: String? = null, policyType: String? = null, userName: String? = null): GetGroupsResult
Link copied to clipboard

This data source provides a list of RAM policies in an Alibaba Cloud account according to the specified filters.

suspend fun getPolicies(argument: suspend GetPoliciesPlainArgsBuilder.() -> Unit): GetPoliciesResult
suspend fun getPolicies(enableDetails: Boolean? = null, groupName: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, roleName: String? = null, type: String? = null, userName: String? = null): GetPoliciesResult
Link copied to clipboard

This data source Generates a RAM policy document of the current Alibaba Cloud user.

suspend fun getPolicyDocument(outputFile: String? = null, statements: List<GetPolicyDocumentStatement>? = null, version: String? = null): GetPolicyDocumentResult
Link copied to clipboard
suspend fun getRoles(argument: GetRolesPlainArgs): GetRolesResult

This data source provides a list of RAM Roles in an Alibaba Cloud account according to the specified filters.

suspend fun getRoles(argument: suspend GetRolesPlainArgsBuilder.() -> Unit): GetRolesResult
suspend fun getRoles(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, policyName: String? = null, policyType: String? = null): GetRolesResult
Link copied to clipboard

This data source provides the Ram Saml Providers of the current Alibaba Cloud user.

suspend fun getSamlProviders(enableDetails: Boolean? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetSamlProvidersResult
Link copied to clipboard

This data source provides Ram System Policy available to the user.What is System Policy

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

This data source provides a list of RAM users in an Alibaba Cloud account according to the specified filters.

suspend fun getUsers(argument: suspend GetUsersPlainArgsBuilder.() -> Unit): GetUsersResult
suspend fun getUsers(groupName: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, policyName: String? = null, policyType: String? = null): GetUsersResult