ResourcemanagerFunctions

Functions

Link copied to clipboard

Using this data source can open Resource Manager Account Deletion Check Task. For information about Resource Manager Account Deletion Check Task and how to use it, see What is Resource Manager Account Deletion Check Task.

Link copied to clipboard

This data source provides the Resource Manager Accounts of the current Alibaba Cloud user.

suspend fun getAccounts(argument: suspend GetAccountsPlainArgsBuilder.() -> Unit): GetAccountsResult
suspend fun getAccounts(enableDetails: Boolean? = null, ids: List<String>? = null, outputFile: String? = null, status: String? = null): GetAccountsResult
Link copied to clipboard

This data source provides the Resource Manager Control Policies of the current Alibaba Cloud user.

suspend fun getControlPolicies(enableDetails: Boolean? = null, ids: List<String>? = null, language: String? = null, nameRegex: String? = null, outputFile: String? = null, policyType: String? = null): GetControlPoliciesResult
Link copied to clipboard

This data source provides the Resource Manager Control Policy Attachments of the current Alibaba Cloud user.

suspend fun getControlPolicyAttachments(language: String? = null, outputFile: String? = null, policyType: String? = null, targetId: String): GetControlPolicyAttachmentsResult
Link copied to clipboard

This data source provides the Resource Manager Delegated Administrators of the current Alibaba Cloud user.

suspend fun getDelegatedAdministrators(ids: List<String>? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, servicePrincipal: String? = null): GetDelegatedAdministratorsResult
Link copied to clipboard

This data source provides the Resource Manager Folders of the current Alibaba Cloud user.

suspend fun getFolders(argument: suspend GetFoldersPlainArgsBuilder.() -> Unit): GetFoldersResult
suspend fun getFolders(enableDetails: Boolean? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, parentFolderId: String? = null, queryKeyword: String? = null): GetFoldersResult
Link copied to clipboard

This data source provides the Resource Manager Handshakes of the current Alibaba Cloud user.

suspend fun getHandshakes(enableDetails: Boolean? = null, ids: List<String>? = null, outputFile: String? = null, status: String? = null): GetHandshakesResult
Link copied to clipboard

This data source provides the Resource Manager Policies of the current Alibaba Cloud user.

suspend fun getPolicies(argument: suspend GetPoliciesPlainArgsBuilder.() -> Unit): GetPoliciesResult
suspend fun getPolicies(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, policyType: String? = null): GetPoliciesResult
Link copied to clipboard

This data source provides the Resource Manager Policy Attachments of the current Alibaba Cloud user.

suspend fun getPolicyAttachments(language: String? = null, outputFile: String? = null, policyName: String? = null, policyType: String? = null, principalName: String? = null, principalType: String? = null, resourceGroupId: String? = null): GetPolicyAttachmentsResult
Link copied to clipboard

This data source provides the Resource Manager Policy Versions of the current Alibaba Cloud user.

suspend fun getPolicyVersions(enableDetails: Boolean? = null, ids: List<String>? = null, outputFile: String? = null, policyName: String, policyType: String): GetPolicyVersionsResult
Link copied to clipboard

This data source provides the Resource Manager Resource Directories of the current Alibaba Cloud user.

Link copied to clipboard

This data source provides resource groups of the current Alibaba Cloud user.

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

This data source provides the Resource Manager Resource Shares of the current Alibaba Cloud user.

suspend fun getResourceShares(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, resourceShareName: String? = null, resourceShareOwner: String, status: String? = null): GetResourceSharesResult
Link copied to clipboard
suspend fun getRoles(argument: GetRolesPlainArgs): GetRolesResult

This data source provides the Resource Manager Roles of the current Alibaba Cloud user.

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

This data source provides the Resource Manager Shared Resources of the current Alibaba Cloud user.

suspend fun getSharedResources(ids: List<String>? = null, outputFile: String? = null, resourceShareId: String? = null, status: String? = null): GetSharedResourcesResult
Link copied to clipboard

This data source provides the Resource Manager Shared Targets of the current Alibaba Cloud user.

suspend fun getSharedTargets(ids: List<String>? = null, outputFile: String? = null, resourceShareId: String? = null, status: String? = null): GetSharedTargetsResult