Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi
aiven.getOrganizationApplicationUser
Explore with Pulumi AI
Gets information about an application user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const tfUser = aiven.getOrganizationApplicationUser({
organizationId: main.id,
userId: "u123a456b7890c",
});
import pulumi
import pulumi_aiven as aiven
tf_user = aiven.get_organization_application_user(organization_id=main["id"],
user_id="u123a456b7890c")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupOrganizationApplicationUser(ctx, &aiven.LookupOrganizationApplicationUserArgs{
OrganizationId: main.Id,
UserId: "u123a456b7890c",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var tfUser = Aiven.GetOrganizationApplicationUser.Invoke(new()
{
OrganizationId = main.Id,
UserId = "u123a456b7890c",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetOrganizationApplicationUserArgs;
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 tfUser = AivenFunctions.getOrganizationApplicationUser(GetOrganizationApplicationUserArgs.builder()
.organizationId(main.id())
.userId("u123a456b7890c")
.build());
}
}
variables:
tfUser:
fn::invoke:
Function: aiven:getOrganizationApplicationUser
Arguments:
organizationId: ${main.id}
userId: u123a456b7890c
Using getOrganizationApplicationUser
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 getOrganizationApplicationUser(args: GetOrganizationApplicationUserArgs, opts?: InvokeOptions): Promise<GetOrganizationApplicationUserResult>
function getOrganizationApplicationUserOutput(args: GetOrganizationApplicationUserOutputArgs, opts?: InvokeOptions): Output<GetOrganizationApplicationUserResult>
def get_organization_application_user(organization_id: Optional[str] = None,
user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationApplicationUserResult
def get_organization_application_user_output(organization_id: Optional[pulumi.Input[str]] = None,
user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationApplicationUserResult]
func LookupOrganizationApplicationUser(ctx *Context, args *LookupOrganizationApplicationUserArgs, opts ...InvokeOption) (*LookupOrganizationApplicationUserResult, error)
func LookupOrganizationApplicationUserOutput(ctx *Context, args *LookupOrganizationApplicationUserOutputArgs, opts ...InvokeOption) LookupOrganizationApplicationUserResultOutput
> Note: This function is named LookupOrganizationApplicationUser
in the Go SDK.
public static class GetOrganizationApplicationUser
{
public static Task<GetOrganizationApplicationUserResult> InvokeAsync(GetOrganizationApplicationUserArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationApplicationUserResult> Invoke(GetOrganizationApplicationUserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOrganizationApplicationUserResult> getOrganizationApplicationUser(GetOrganizationApplicationUserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser
arguments:
# arguments dictionary
The following arguments are supported:
- Organization
Id string - The ID of the organization the application user belongs to.
- User
Id string - The ID of the application user.
- Organization
Id string - The ID of the organization the application user belongs to.
- User
Id string - The ID of the application user.
- organization
Id String - The ID of the organization the application user belongs to.
- user
Id String - The ID of the application user.
- organization
Id string - The ID of the organization the application user belongs to.
- user
Id string - The ID of the application user.
- organization_
id str - The ID of the organization the application user belongs to.
- user_
id str - The ID of the application user.
- organization
Id String - The ID of the organization the application user belongs to.
- user
Id String - The ID of the application user.
getOrganizationApplicationUser Result
The following output properties are available:
- Email string
- An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Super boolAdmin - Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
- Name string
- Name of the application user.
- Organization
Id string - The ID of the organization the application user belongs to.
- User
Id string - The ID of the application user.
- Email string
- An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Super boolAdmin - Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
- Name string
- Name of the application user.
- Organization
Id string - The ID of the organization the application user belongs to.
- User
Id string - The ID of the application user.
- email String
- An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Super BooleanAdmin - Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
- name String
- Name of the application user.
- organization
Id String - The ID of the organization the application user belongs to.
- user
Id String - The ID of the application user.
- email string
- An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Super booleanAdmin - Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
- name string
- Name of the application user.
- organization
Id string - The ID of the organization the application user belongs to.
- user
Id string - The ID of the application user.
- email str
- An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
super_ booladmin - Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
- name str
- Name of the application user.
- organization_
id str - The ID of the organization the application user belongs to.
- user_
id str - The ID of the application user.
- email String
- An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Super BooleanAdmin - Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
- name String
- Name of the application user.
- organization
Id String - The ID of the organization the application user belongs to.
- user
Id String - The ID of the application user.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.