1. Packages
  2. Volcengine
  3. API Docs
  4. iam
  5. EntitiesPolicies
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.iam.EntitiesPolicies has been deprecated in favor of volcengine.iam.getEntitiesPolicies

    Use this data source to query detailed information of iam entities policies

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.iam.getEntitiesPolicies({
        policyName: "AdministratorAccess",
        policyType: "System",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.iam.get_entities_policies(policy_name="AdministratorAccess",
        policy_type="System")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iam.GetEntitiesPolicies(ctx, &iam.GetEntitiesPoliciesArgs{
    			PolicyName: "AdministratorAccess",
    			PolicyType: "System",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Iam.GetEntitiesPolicies.Invoke(new()
        {
            PolicyName = "AdministratorAccess",
            PolicyType = "System",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.iam.IamFunctions;
    import com.pulumi.volcengine.iam.inputs.GetEntitiesPoliciesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var default = IamFunctions.getEntitiesPolicies(GetEntitiesPoliciesArgs.builder()
                .policyName("AdministratorAccess")
                .policyType("System")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:iam:getEntitiesPolicies
          Arguments:
            policyName: AdministratorAccess
            policyType: System
    

    Using EntitiesPolicies

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function entitiesPolicies(args: EntitiesPoliciesArgs, opts?: InvokeOptions): Promise<EntitiesPoliciesResult>
    function entitiesPoliciesOutput(args: EntitiesPoliciesOutputArgs, opts?: InvokeOptions): Output<EntitiesPoliciesResult>
    def entities_policies(entity_filter: Optional[str] = None,
                          output_file: Optional[str] = None,
                          policy_name: Optional[str] = None,
                          policy_type: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> EntitiesPoliciesResult
    def entities_policies_output(entity_filter: Optional[pulumi.Input[str]] = None,
                          output_file: Optional[pulumi.Input[str]] = None,
                          policy_name: Optional[pulumi.Input[str]] = None,
                          policy_type: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[EntitiesPoliciesResult]
    func EntitiesPolicies(ctx *Context, args *EntitiesPoliciesArgs, opts ...InvokeOption) (*EntitiesPoliciesResult, error)
    func EntitiesPoliciesOutput(ctx *Context, args *EntitiesPoliciesOutputArgs, opts ...InvokeOption) EntitiesPoliciesResultOutput
    public static class EntitiesPolicies 
    {
        public static Task<EntitiesPoliciesResult> InvokeAsync(EntitiesPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<EntitiesPoliciesResult> Invoke(EntitiesPoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<EntitiesPoliciesResult> entitiesPolicies(EntitiesPoliciesArgs args, InvokeOptions options)
    public static Output<EntitiesPoliciesResult> entitiesPolicies(EntitiesPoliciesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:iam:EntitiesPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PolicyName string
    The name of the policy.
    PolicyType string
    The type of the policy.
    EntityFilter string
    The entity filter.
    OutputFile string
    File name where to save data source results.
    PolicyName string
    The name of the policy.
    PolicyType string
    The type of the policy.
    EntityFilter string
    The entity filter.
    OutputFile string
    File name where to save data source results.
    policyName String
    The name of the policy.
    policyType String
    The type of the policy.
    entityFilter String
    The entity filter.
    outputFile String
    File name where to save data source results.
    policyName string
    The name of the policy.
    policyType string
    The type of the policy.
    entityFilter string
    The entity filter.
    outputFile string
    File name where to save data source results.
    policy_name str
    The name of the policy.
    policy_type str
    The type of the policy.
    entity_filter str
    The entity filter.
    output_file str
    File name where to save data source results.
    policyName String
    The name of the policy.
    policyType String
    The type of the policy.
    entityFilter String
    The entity filter.
    outputFile String
    File name where to save data source results.

    EntitiesPolicies Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyName string
    PolicyType string
    Roles List<EntitiesPoliciesRole>
    The collection of roles.
    TotalCount int
    The total count of query.
    UserGroups List<EntitiesPoliciesUserGroup>
    The collection of user groups.
    Users List<EntitiesPoliciesUser>
    The collection of users.
    EntityFilter string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyName string
    PolicyType string
    Roles []EntitiesPoliciesRole
    The collection of roles.
    TotalCount int
    The total count of query.
    UserGroups []EntitiesPoliciesUserGroup
    The collection of user groups.
    Users []EntitiesPoliciesUser
    The collection of users.
    EntityFilter string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    policyName String
    policyType String
    roles List<EntitiesPoliciesRole>
    The collection of roles.
    totalCount Integer
    The total count of query.
    userGroups List<EntitiesPoliciesUserGroup>
    The collection of user groups.
    users List<EntitiesPoliciesUser>
    The collection of users.
    entityFilter String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    policyName string
    policyType string
    roles EntitiesPoliciesRole[]
    The collection of roles.
    totalCount number
    The total count of query.
    userGroups EntitiesPoliciesUserGroup[]
    The collection of user groups.
    users EntitiesPoliciesUser[]
    The collection of users.
    entityFilter string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    policy_name str
    policy_type str
    roles Sequence[EntitiesPoliciesRole]
    The collection of roles.
    total_count int
    The total count of query.
    user_groups Sequence[EntitiesPoliciesUserGroup]
    The collection of user groups.
    users Sequence[EntitiesPoliciesUser]
    The collection of users.
    entity_filter str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    policyName String
    policyType String
    roles List<Property Map>
    The collection of roles.
    totalCount Number
    The total count of query.
    userGroups List<Property Map>
    The collection of user groups.
    users List<Property Map>
    The collection of users.
    entityFilter String
    outputFile String

    Supporting Types

    EntitiesPoliciesRole

    AttachDate string
    The attach date of the policy scope.
    Description string
    The description of the user.
    DisplayName string
    The display name of the user.
    Id int
    The id of the user.
    PolicyScopes List<EntitiesPoliciesRolePolicyScope>
    The scope of the policy.
    RoleName string
    The name of the role.
    AttachDate string
    The attach date of the policy scope.
    Description string
    The description of the user.
    DisplayName string
    The display name of the user.
    Id int
    The id of the user.
    PolicyScopes []EntitiesPoliciesRolePolicyScope
    The scope of the policy.
    RoleName string
    The name of the role.
    attachDate String
    The attach date of the policy scope.
    description String
    The description of the user.
    displayName String
    The display name of the user.
    id Integer
    The id of the user.
    policyScopes List<EntitiesPoliciesRolePolicyScope>
    The scope of the policy.
    roleName String
    The name of the role.
    attachDate string
    The attach date of the policy scope.
    description string
    The description of the user.
    displayName string
    The display name of the user.
    id number
    The id of the user.
    policyScopes EntitiesPoliciesRolePolicyScope[]
    The scope of the policy.
    roleName string
    The name of the role.
    attach_date str
    The attach date of the policy scope.
    description str
    The description of the user.
    display_name str
    The display name of the user.
    id int
    The id of the user.
    policy_scopes Sequence[EntitiesPoliciesRolePolicyScope]
    The scope of the policy.
    role_name str
    The name of the role.
    attachDate String
    The attach date of the policy scope.
    description String
    The description of the user.
    displayName String
    The display name of the user.
    id Number
    The id of the user.
    policyScopes List<Property Map>
    The scope of the policy.
    roleName String
    The name of the role.

    EntitiesPoliciesRolePolicyScope

    AttachDate string
    The attach date of the policy scope.
    PolicyScopeType string
    The type of the policy scope.
    ProjectDisplayName string
    The display name of the project.
    ProjectName string
    The name of the project.
    AttachDate string
    The attach date of the policy scope.
    PolicyScopeType string
    The type of the policy scope.
    ProjectDisplayName string
    The display name of the project.
    ProjectName string
    The name of the project.
    attachDate String
    The attach date of the policy scope.
    policyScopeType String
    The type of the policy scope.
    projectDisplayName String
    The display name of the project.
    projectName String
    The name of the project.
    attachDate string
    The attach date of the policy scope.
    policyScopeType string
    The type of the policy scope.
    projectDisplayName string
    The display name of the project.
    projectName string
    The name of the project.
    attach_date str
    The attach date of the policy scope.
    policy_scope_type str
    The type of the policy scope.
    project_display_name str
    The display name of the project.
    project_name str
    The name of the project.
    attachDate String
    The attach date of the policy scope.
    policyScopeType String
    The type of the policy scope.
    projectDisplayName String
    The display name of the project.
    projectName String
    The name of the project.

    EntitiesPoliciesUser

    AttachDate string
    The attach date of the policy scope.
    Description string
    The description of the user.
    DisplayName string
    The display name of the user.
    Id int
    The id of the user.
    PolicyScopes List<EntitiesPoliciesUserPolicyScope>
    The scope of the policy.
    UserName string
    The name of the user.
    AttachDate string
    The attach date of the policy scope.
    Description string
    The description of the user.
    DisplayName string
    The display name of the user.
    Id int
    The id of the user.
    PolicyScopes []EntitiesPoliciesUserPolicyScope
    The scope of the policy.
    UserName string
    The name of the user.
    attachDate String
    The attach date of the policy scope.
    description String
    The description of the user.
    displayName String
    The display name of the user.
    id Integer
    The id of the user.
    policyScopes List<EntitiesPoliciesUserPolicyScope>
    The scope of the policy.
    userName String
    The name of the user.
    attachDate string
    The attach date of the policy scope.
    description string
    The description of the user.
    displayName string
    The display name of the user.
    id number
    The id of the user.
    policyScopes EntitiesPoliciesUserPolicyScope[]
    The scope of the policy.
    userName string
    The name of the user.
    attach_date str
    The attach date of the policy scope.
    description str
    The description of the user.
    display_name str
    The display name of the user.
    id int
    The id of the user.
    policy_scopes Sequence[EntitiesPoliciesUserPolicyScope]
    The scope of the policy.
    user_name str
    The name of the user.
    attachDate String
    The attach date of the policy scope.
    description String
    The description of the user.
    displayName String
    The display name of the user.
    id Number
    The id of the user.
    policyScopes List<Property Map>
    The scope of the policy.
    userName String
    The name of the user.

    EntitiesPoliciesUserGroup

    AttachDate string
    The attach date of the policy scope.
    Description string
    The description of the user.
    DisplayName string
    The display name of the user.
    Id int
    The id of the user.
    PolicyScopes List<EntitiesPoliciesUserGroupPolicyScope>
    The scope of the policy.
    UserGroupName string
    The name of the user group.
    AttachDate string
    The attach date of the policy scope.
    Description string
    The description of the user.
    DisplayName string
    The display name of the user.
    Id int
    The id of the user.
    PolicyScopes []EntitiesPoliciesUserGroupPolicyScope
    The scope of the policy.
    UserGroupName string
    The name of the user group.
    attachDate String
    The attach date of the policy scope.
    description String
    The description of the user.
    displayName String
    The display name of the user.
    id Integer
    The id of the user.
    policyScopes List<EntitiesPoliciesUserGroupPolicyScope>
    The scope of the policy.
    userGroupName String
    The name of the user group.
    attachDate string
    The attach date of the policy scope.
    description string
    The description of the user.
    displayName string
    The display name of the user.
    id number
    The id of the user.
    policyScopes EntitiesPoliciesUserGroupPolicyScope[]
    The scope of the policy.
    userGroupName string
    The name of the user group.
    attach_date str
    The attach date of the policy scope.
    description str
    The description of the user.
    display_name str
    The display name of the user.
    id int
    The id of the user.
    policy_scopes Sequence[EntitiesPoliciesUserGroupPolicyScope]
    The scope of the policy.
    user_group_name str
    The name of the user group.
    attachDate String
    The attach date of the policy scope.
    description String
    The description of the user.
    displayName String
    The display name of the user.
    id Number
    The id of the user.
    policyScopes List<Property Map>
    The scope of the policy.
    userGroupName String
    The name of the user group.

    EntitiesPoliciesUserGroupPolicyScope

    AttachDate string
    The attach date of the policy scope.
    PolicyScopeType string
    The type of the policy scope.
    ProjectDisplayName string
    The display name of the project.
    ProjectName string
    The name of the project.
    AttachDate string
    The attach date of the policy scope.
    PolicyScopeType string
    The type of the policy scope.
    ProjectDisplayName string
    The display name of the project.
    ProjectName string
    The name of the project.
    attachDate String
    The attach date of the policy scope.
    policyScopeType String
    The type of the policy scope.
    projectDisplayName String
    The display name of the project.
    projectName String
    The name of the project.
    attachDate string
    The attach date of the policy scope.
    policyScopeType string
    The type of the policy scope.
    projectDisplayName string
    The display name of the project.
    projectName string
    The name of the project.
    attach_date str
    The attach date of the policy scope.
    policy_scope_type str
    The type of the policy scope.
    project_display_name str
    The display name of the project.
    project_name str
    The name of the project.
    attachDate String
    The attach date of the policy scope.
    policyScopeType String
    The type of the policy scope.
    projectDisplayName String
    The display name of the project.
    projectName String
    The name of the project.

    EntitiesPoliciesUserPolicyScope

    AttachDate string
    The attach date of the policy scope.
    PolicyScopeType string
    The type of the policy scope.
    ProjectDisplayName string
    The display name of the project.
    ProjectName string
    The name of the project.
    AttachDate string
    The attach date of the policy scope.
    PolicyScopeType string
    The type of the policy scope.
    ProjectDisplayName string
    The display name of the project.
    ProjectName string
    The name of the project.
    attachDate String
    The attach date of the policy scope.
    policyScopeType String
    The type of the policy scope.
    projectDisplayName String
    The display name of the project.
    projectName String
    The name of the project.
    attachDate string
    The attach date of the policy scope.
    policyScopeType string
    The type of the policy scope.
    projectDisplayName string
    The display name of the project.
    projectName string
    The name of the project.
    attach_date str
    The attach date of the policy scope.
    policy_scope_type str
    The type of the policy scope.
    project_display_name str
    The display name of the project.
    project_name str
    The name of the project.
    attachDate String
    The attach date of the policy scope.
    policyScopeType String
    The type of the policy scope.
    projectDisplayName String
    The display name of the project.
    projectName String
    The name of the project.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate