GetPolicyAttachmentsPlainArgs

data class GetPolicyAttachmentsPlainArgs(val language: String? = null, val outputFile: String? = null, val policyName: String? = null, val policyType: String? = null, val principalName: String? = null, val principalType: String? = null, val resourceGroupId: String? = null) : ConvertibleToJava<GetPolicyAttachmentsPlainArgs>

A collection of arguments for invoking getPolicyAttachments.

Constructors

Link copied to clipboard
constructor(language: String? = null, outputFile: String? = null, policyName: String? = null, policyType: String? = null, principalName: String? = null, principalType: String? = null, resourceGroupId: String? = null)

Properties

Link copied to clipboard
val language: String? = null

The language that is used to return the description of the system policy. Valid values:en: English, zh-CN: Chinese, ja: Japanese.

Link copied to clipboard
val outputFile: String? = null

File name where to save data source results (after running pulumi preview).

Link copied to clipboard
val policyName: String? = null

The name of the policy. The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).

Link copied to clipboard
val policyType: String? = null

The type of the policy. Valid values: Custom and System.

Link copied to clipboard
val principalName: String? = null

The name of the object to which the policy is attached.

Link copied to clipboard
val principalType: String? = null

The type of the object to which the policy is attached. If you do not specify this parameter, the system lists all types of objects. Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role.

Link copied to clipboard
val resourceGroupId: String? = null

The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. If you do not specify this parameter, the system lists all policy attachment records under the current account.

Functions

Link copied to clipboard
open override fun toJava(): GetPolicyAttachmentsPlainArgs