Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
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 getEntitiesPolicies
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 getEntitiesPolicies(args: GetEntitiesPoliciesArgs, opts?: InvokeOptions): Promise<GetEntitiesPoliciesResult>
function getEntitiesPoliciesOutput(args: GetEntitiesPoliciesOutputArgs, opts?: InvokeOptions): Output<GetEntitiesPoliciesResult>def get_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) -> GetEntitiesPoliciesResult
def get_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[GetEntitiesPoliciesResult]func GetEntitiesPolicies(ctx *Context, args *GetEntitiesPoliciesArgs, opts ...InvokeOption) (*GetEntitiesPoliciesResult, error)
func GetEntitiesPoliciesOutput(ctx *Context, args *GetEntitiesPoliciesOutputArgs, opts ...InvokeOption) GetEntitiesPoliciesResultOutput> Note: This function is named GetEntitiesPolicies in the Go SDK.
public static class GetEntitiesPolicies
{
public static Task<GetEntitiesPoliciesResult> InvokeAsync(GetEntitiesPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetEntitiesPoliciesResult> Invoke(GetEntitiesPoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEntitiesPoliciesResult> getEntitiesPolicies(GetEntitiesPoliciesArgs args, InvokeOptions options)
public static Output<GetEntitiesPoliciesResult> getEntitiesPolicies(GetEntitiesPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam/getEntitiesPolicies:getEntitiesPolicies
arguments:
# arguments dictionaryThe following arguments are supported:
- Policy
Name string - The name of the policy.
- Policy
Type string - The type of the policy.
- Entity
Filter string - The entity filter.
- Output
File string - File name where to save data source results.
- Policy
Name string - The name of the policy.
- Policy
Type string - The type of the policy.
- Entity
Filter string - The entity filter.
- Output
File string - File name where to save data source results.
- policy
Name String - The name of the policy.
- policy
Type String - The type of the policy.
- entity
Filter String - The entity filter.
- output
File String - File name where to save data source results.
- policy
Name string - The name of the policy.
- policy
Type string - The type of the policy.
- entity
Filter string - The entity filter.
- output
File 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.
- policy
Name String - The name of the policy.
- policy
Type String - The type of the policy.
- entity
Filter String - The entity filter.
- output
File String - File name where to save data source results.
getEntitiesPolicies Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Name string - Policy
Type string - Roles
List<Get
Entities Policies Role> - The collection of roles.
- Total
Count int - The total count of query.
- User
Groups List<GetEntities Policies User Group> - The collection of user groups.
- Users
List<Get
Entities Policies User> - The collection of users.
- Entity
Filter string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Name string - Policy
Type string - Roles
[]Get
Entities Policies Role - The collection of roles.
- Total
Count int - The total count of query.
- User
Groups []GetEntities Policies User Group - The collection of user groups.
- Users
[]Get
Entities Policies User - The collection of users.
- Entity
Filter string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Name String - policy
Type String - roles
List<Get
Entities Policies Role> - The collection of roles.
- total
Count Integer - The total count of query.
- user
Groups List<GetEntities Policies User Group> - The collection of user groups.
- users
List<Get
Entities Policies User> - The collection of users.
- entity
Filter String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Name string - policy
Type string - roles
Get
Entities Policies Role[] - The collection of roles.
- total
Count number - The total count of query.
- user
Groups GetEntities Policies User Group[] - The collection of user groups.
- users
Get
Entities Policies User[] - The collection of users.
- entity
Filter string - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
name str - policy_
type str - roles
Sequence[Get
Entities Policies Role] - The collection of roles.
- total_
count int - The total count of query.
- user_
groups Sequence[GetEntities Policies User Group] - The collection of user groups.
- users
Sequence[Get
Entities Policies User] - The collection of users.
- entity_
filter str - output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Name String - policy
Type String - roles List<Property Map>
- The collection of roles.
- total
Count Number - The total count of query.
- user
Groups List<Property Map> - The collection of user groups.
- users List<Property Map>
- The collection of users.
- entity
Filter String - output
File String
Supporting Types
GetEntitiesPoliciesRole
- Attach
Date string - The attach date of the policy scope.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Id int
- The id of the user.
- Policy
Scopes List<GetEntities Policies Role Policy Scope> - The scope of the policy.
- Role
Name string - The name of the role.
- Attach
Date string - The attach date of the policy scope.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Id int
- The id of the user.
- Policy
Scopes []GetEntities Policies Role Policy Scope - The scope of the policy.
- Role
Name string - The name of the role.
- attach
Date String - The attach date of the policy scope.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- id Integer
- The id of the user.
- policy
Scopes List<GetEntities Policies Role Policy Scope> - The scope of the policy.
- role
Name String - The name of the role.
- attach
Date string - The attach date of the policy scope.
- description string
- The description of the user.
- display
Name string - The display name of the user.
- id number
- The id of the user.
- policy
Scopes GetEntities Policies Role Policy Scope[] - The scope of the policy.
- role
Name 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[GetEntities Policies Role Policy Scope] - The scope of the policy.
- role_
name str - The name of the role.
- attach
Date String - The attach date of the policy scope.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- id Number
- The id of the user.
- policy
Scopes List<Property Map> - The scope of the policy.
- role
Name String - The name of the role.
GetEntitiesPoliciesRolePolicyScope
- Attach
Date string - The attach date of the policy scope.
- Policy
Scope stringType - The type of the policy scope.
- Project
Display stringName - The display name of the project.
- Project
Name string - The name of the project.
- Attach
Date string - The attach date of the policy scope.
- Policy
Scope stringType - The type of the policy scope.
- Project
Display stringName - The display name of the project.
- Project
Name string - The name of the project.
- attach
Date String - The attach date of the policy scope.
- policy
Scope StringType - The type of the policy scope.
- project
Display StringName - The display name of the project.
- project
Name String - The name of the project.
- attach
Date string - The attach date of the policy scope.
- policy
Scope stringType - The type of the policy scope.
- project
Display stringName - The display name of the project.
- project
Name string - The name of the project.
- attach_
date str - The attach date of the policy scope.
- policy_
scope_ strtype - The type of the policy scope.
- project_
display_ strname - The display name of the project.
- project_
name str - The name of the project.
- attach
Date String - The attach date of the policy scope.
- policy
Scope StringType - The type of the policy scope.
- project
Display StringName - The display name of the project.
- project
Name String - The name of the project.
GetEntitiesPoliciesUser
- Attach
Date string - The attach date of the policy scope.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Id int
- The id of the user.
- Policy
Scopes List<GetEntities Policies User Policy Scope> - The scope of the policy.
- User
Name string - The name of the user.
- Attach
Date string - The attach date of the policy scope.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Id int
- The id of the user.
- Policy
Scopes []GetEntities Policies User Policy Scope - The scope of the policy.
- User
Name string - The name of the user.
- attach
Date String - The attach date of the policy scope.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- id Integer
- The id of the user.
- policy
Scopes List<GetEntities Policies User Policy Scope> - The scope of the policy.
- user
Name String - The name of the user.
- attach
Date string - The attach date of the policy scope.
- description string
- The description of the user.
- display
Name string - The display name of the user.
- id number
- The id of the user.
- policy
Scopes GetEntities Policies User Policy Scope[] - The scope of the policy.
- user
Name 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[GetEntities Policies User Policy Scope] - The scope of the policy.
- user_
name str - The name of the user.
- attach
Date String - The attach date of the policy scope.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- id Number
- The id of the user.
- policy
Scopes List<Property Map> - The scope of the policy.
- user
Name String - The name of the user.
GetEntitiesPoliciesUserGroup
- Attach
Date string - The attach date of the policy scope.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Id int
- The id of the user.
- Policy
Scopes List<GetEntities Policies User Group Policy Scope> - The scope of the policy.
- User
Group stringName - The name of the user group.
- Attach
Date string - The attach date of the policy scope.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Id int
- The id of the user.
- Policy
Scopes []GetEntities Policies User Group Policy Scope - The scope of the policy.
- User
Group stringName - The name of the user group.
- attach
Date String - The attach date of the policy scope.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- id Integer
- The id of the user.
- policy
Scopes List<GetEntities Policies User Group Policy Scope> - The scope of the policy.
- user
Group StringName - The name of the user group.
- attach
Date string - The attach date of the policy scope.
- description string
- The description of the user.
- display
Name string - The display name of the user.
- id number
- The id of the user.
- policy
Scopes GetEntities Policies User Group Policy Scope[] - The scope of the policy.
- user
Group stringName - 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[GetEntities Policies User Group Policy Scope] - The scope of the policy.
- user_
group_ strname - The name of the user group.
- attach
Date String - The attach date of the policy scope.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- id Number
- The id of the user.
- policy
Scopes List<Property Map> - The scope of the policy.
- user
Group StringName - The name of the user group.
GetEntitiesPoliciesUserGroupPolicyScope
- Attach
Date string - The attach date of the policy scope.
- Policy
Scope stringType - The type of the policy scope.
- Project
Display stringName - The display name of the project.
- Project
Name string - The name of the project.
- Attach
Date string - The attach date of the policy scope.
- Policy
Scope stringType - The type of the policy scope.
- Project
Display stringName - The display name of the project.
- Project
Name string - The name of the project.
- attach
Date String - The attach date of the policy scope.
- policy
Scope StringType - The type of the policy scope.
- project
Display StringName - The display name of the project.
- project
Name String - The name of the project.
- attach
Date string - The attach date of the policy scope.
- policy
Scope stringType - The type of the policy scope.
- project
Display stringName - The display name of the project.
- project
Name string - The name of the project.
- attach_
date str - The attach date of the policy scope.
- policy_
scope_ strtype - The type of the policy scope.
- project_
display_ strname - The display name of the project.
- project_
name str - The name of the project.
- attach
Date String - The attach date of the policy scope.
- policy
Scope StringType - The type of the policy scope.
- project
Display StringName - The display name of the project.
- project
Name String - The name of the project.
GetEntitiesPoliciesUserPolicyScope
- Attach
Date string - The attach date of the policy scope.
- Policy
Scope stringType - The type of the policy scope.
- Project
Display stringName - The display name of the project.
- Project
Name string - The name of the project.
- Attach
Date string - The attach date of the policy scope.
- Policy
Scope stringType - The type of the policy scope.
- Project
Display stringName - The display name of the project.
- Project
Name string - The name of the project.
- attach
Date String - The attach date of the policy scope.
- policy
Scope StringType - The type of the policy scope.
- project
Display StringName - The display name of the project.
- project
Name String - The name of the project.
- attach
Date string - The attach date of the policy scope.
- policy
Scope stringType - The type of the policy scope.
- project
Display stringName - The display name of the project.
- project
Name string - The name of the project.
- attach_
date str - The attach date of the policy scope.
- policy_
scope_ strtype - The type of the policy scope.
- project_
display_ strname - The display name of the project.
- project_
name str - The name of the project.
- attach
Date String - The attach date of the policy scope.
- policy
Scope StringType - The type of the policy scope.
- project
Display StringName - The display name of the project.
- project
Name 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
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
