1. Packages
  2. Datadog Provider
  3. API Docs
  4. getRoleUsers
Datadog v4.33.2 published on Tuesday, Sep 24, 2024 by Pulumi

datadog.getRoleUsers

Explore with Pulumi AI

datadog logo
Datadog v4.33.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Use this data source to retrieve information about existing Datadog role users assignments. This data source is in beta and is subject to change.

    Using getRoleUsers

    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 getRoleUsers(args: GetRoleUsersArgs, opts?: InvokeOptions): Promise<GetRoleUsersResult>
    function getRoleUsersOutput(args: GetRoleUsersOutputArgs, opts?: InvokeOptions): Output<GetRoleUsersResult>
    def get_role_users(exact_match: Optional[bool] = None,
                       filter: Optional[str] = None,
                       role_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetRoleUsersResult
    def get_role_users_output(exact_match: Optional[pulumi.Input[bool]] = None,
                       filter: Optional[pulumi.Input[str]] = None,
                       role_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetRoleUsersResult]
    func GetRoleUsers(ctx *Context, args *GetRoleUsersArgs, opts ...InvokeOption) (*GetRoleUsersResult, error)
    func GetRoleUsersOutput(ctx *Context, args *GetRoleUsersOutputArgs, opts ...InvokeOption) GetRoleUsersResultOutput

    > Note: This function is named GetRoleUsers in the Go SDK.

    public static class GetRoleUsers 
    {
        public static Task<GetRoleUsersResult> InvokeAsync(GetRoleUsersArgs args, InvokeOptions? opts = null)
        public static Output<GetRoleUsersResult> Invoke(GetRoleUsersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRoleUsersResult> getRoleUsers(GetRoleUsersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getRoleUsers:getRoleUsers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RoleId string
    The role's identifier.
    ExactMatch bool
    When true, filter_keyword string is exact matched against the user's name.
    Filter string
    Search query, can be user name.
    RoleId string
    The role's identifier.
    ExactMatch bool
    When true, filter_keyword string is exact matched against the user's name.
    Filter string
    Search query, can be user name.
    roleId String
    The role's identifier.
    exactMatch Boolean
    When true, filter_keyword string is exact matched against the user's name.
    filter String
    Search query, can be user name.
    roleId string
    The role's identifier.
    exactMatch boolean
    When true, filter_keyword string is exact matched against the user's name.
    filter string
    Search query, can be user name.
    role_id str
    The role's identifier.
    exact_match bool
    When true, filter_keyword string is exact matched against the user's name.
    filter str
    Search query, can be user name.
    roleId String
    The role's identifier.
    exactMatch Boolean
    When true, filter_keyword string is exact matched against the user's name.
    filter String
    Search query, can be user name.

    getRoleUsers Result

    The following output properties are available:

    Id string
    The ID of this resource.
    RoleId string
    The role's identifier.
    RoleUsers List<GetRoleUsersRoleUser>
    List of users assigned to role.
    ExactMatch bool
    When true, filter_keyword string is exact matched against the user's name.
    Filter string
    Search query, can be user name.
    Id string
    The ID of this resource.
    RoleId string
    The role's identifier.
    RoleUsers []GetRoleUsersRoleUser
    List of users assigned to role.
    ExactMatch bool
    When true, filter_keyword string is exact matched against the user's name.
    Filter string
    Search query, can be user name.
    id String
    The ID of this resource.
    roleId String
    The role's identifier.
    roleUsers List<GetRoleUsersRoleUser>
    List of users assigned to role.
    exactMatch Boolean
    When true, filter_keyword string is exact matched against the user's name.
    filter String
    Search query, can be user name.
    id string
    The ID of this resource.
    roleId string
    The role's identifier.
    roleUsers GetRoleUsersRoleUser[]
    List of users assigned to role.
    exactMatch boolean
    When true, filter_keyword string is exact matched against the user's name.
    filter string
    Search query, can be user name.
    id str
    The ID of this resource.
    role_id str
    The role's identifier.
    role_users Sequence[GetRoleUsersRoleUser]
    List of users assigned to role.
    exact_match bool
    When true, filter_keyword string is exact matched against the user's name.
    filter str
    Search query, can be user name.
    id String
    The ID of this resource.
    roleId String
    The role's identifier.
    roleUsers List<Property Map>
    List of users assigned to role.
    exactMatch Boolean
    When true, filter_keyword string is exact matched against the user's name.
    filter String
    Search query, can be user name.

    Supporting Types

    GetRoleUsersRoleUser

    RoleId string
    UserId string
    RoleId string
    UserId string
    roleId String
    userId String
    roleId string
    userId string
    roleId String
    userId String

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.33.2 published on Tuesday, Sep 24, 2024 by Pulumi