Class GetPolicyAttachmentsPlainArgs


  • public final class GetPolicyAttachmentsPlainArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • language

        public java.util.Optional<java.lang.String> language()
        Returns:
        The language that is used to return the description of the system policy. Valid values:`en`: English, `zh-CN`: Chinese, `ja`: Japanese.
      • outputFile

        public java.util.Optional<java.lang.String> outputFile()
        Returns:
        File name where to save data source results (after running `pulumi preview`).
      • policyName

        public java.util.Optional<java.lang.String> policyName()
        Returns:
        The name of the policy. The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
      • policyType

        public java.util.Optional<java.lang.String> policyType()
        Returns:
        The type of the policy. Valid values: `Custom` and `System`.
      • principalName

        public java.util.Optional<java.lang.String> principalName()
        Returns:
        The name of the object to which the policy is attached.
      • principalType

        public java.util.Optional<java.lang.String> principalType()
        Returns:
        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.
      • resourceGroupId

        public java.util.Optional<java.lang.String> resourceGroupId()
        Returns:
        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.