GetPolicyAttachmentsResult

data class GetPolicyAttachmentsResult(val attachments: List<GetPolicyAttachmentsAttachment>, val id: String, val ids: List<String>, 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)

A collection of values returned by getPolicyAttachments.

Constructors

Link copied to clipboard
constructor(attachments: List<GetPolicyAttachmentsAttachment>, id: String, ids: List<String>, language: String? = null, outputFile: String? = null, policyName: String? = null, policyType: String? = null, principalName: String? = null, principalType: String? = null, resourceGroupId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A list of Resource Manager Policy Attachment. Each element contains the following attributes:

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

A list of Resource Manager Policy Attachment IDs.

Link copied to clipboard
val language: String? = null
Link copied to clipboard
val outputFile: String? = null
Link copied to clipboard
val policyName: String? = null

The name of the policy.

Link copied to clipboard
val policyType: String? = null

The type of the policy.

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.

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.