Viewing docs for bitbucket 2.50.0
published on Wednesday, Oct 8, 2025 by drfaust92
published on Wednesday, Oct 8, 2025 by drfaust92
Viewing docs for bitbucket 2.50.0
published on Wednesday, Oct 8, 2025 by drfaust92
published on Wednesday, Oct 8, 2025 by drfaust92
Provides a way to fetch data on a user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bitbucket from "@pulumi/bitbucket";
const reviewer = bitbucket.getUser({
uuid: "{account UUID}",
});
import pulumi
import pulumi_bitbucket as bitbucket
reviewer = bitbucket.get_user(uuid="{account UUID}")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/bitbucket/v2/bitbucket"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bitbucket.GetUser(ctx, &bitbucket.GetUserArgs{
Uuid: pulumi.StringRef("{account UUID}"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bitbucket = Pulumi.Bitbucket;
return await Deployment.RunAsync(() =>
{
var reviewer = Bitbucket.GetUser.Invoke(new()
{
Uuid = "{account UUID}",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.bitbucket.BitbucketFunctions;
import com.pulumi.bitbucket.inputs.GetUserArgs;
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 reviewer = BitbucketFunctions.getUser(GetUserArgs.builder()
.uuid("{account UUID}")
.build());
}
}
variables:
reviewer:
fn::invoke:
function: bitbucket:getUser
arguments:
uuid: '{account UUID}'
Using getUser
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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>def get_user(display_name: Optional[str] = None,
id: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(display_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]func GetUser(ctx *Context, args *GetUserArgs, opts ...InvokeOption) (*GetUserResult, error)
func GetUserOutput(ctx *Context, args *GetUserOutputArgs, opts ...InvokeOption) GetUserResultOutput> Note: This function is named GetUser in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: bitbucket:index/getUser:getUser
arguments:
# arguments dictionaryThe following arguments are supported:
- Display
Name string - the display name that the user wants to use for GDPR
- Id string
- Uuid string
- The UUID that bitbucket users to connect a user to various objects
- Display
Name string - the display name that the user wants to use for GDPR
- Id string
- Uuid string
- The UUID that bitbucket users to connect a user to various objects
- display
Name String - the display name that the user wants to use for GDPR
- id String
- uuid String
- The UUID that bitbucket users to connect a user to various objects
- display
Name string - the display name that the user wants to use for GDPR
- id string
- uuid string
- The UUID that bitbucket users to connect a user to various objects
- display_
name str - the display name that the user wants to use for GDPR
- id str
- uuid str
- The UUID that bitbucket users to connect a user to various objects
- display
Name String - the display name that the user wants to use for GDPR
- id String
- uuid String
- The UUID that bitbucket users to connect a user to various objects
getUser Result
The following output properties are available:
- Id string
- Username string
- Display
Name string - the display name that the user wants to use for GDPR
- Uuid string
- the uuid that bitbucket users to connect a user to various objects
- Id string
- Username string
- Display
Name string - the display name that the user wants to use for GDPR
- Uuid string
- the uuid that bitbucket users to connect a user to various objects
- id String
- username String
- display
Name String - the display name that the user wants to use for GDPR
- uuid String
- the uuid that bitbucket users to connect a user to various objects
- id string
- username string
- display
Name string - the display name that the user wants to use for GDPR
- uuid string
- the uuid that bitbucket users to connect a user to various objects
- id str
- username str
- display_
name str - the display name that the user wants to use for GDPR
- uuid str
- the uuid that bitbucket users to connect a user to various objects
- id String
- username String
- display
Name String - the display name that the user wants to use for GDPR
- uuid String
- the uuid that bitbucket users to connect a user to various objects
Package Details
- Repository
- bitbucket drfaust92/terraform-provider-bitbucket
- License
- Notes
- This Pulumi package is based on the
bitbucketTerraform Provider.
Viewing docs for bitbucket 2.50.0
published on Wednesday, Oct 8, 2025 by drfaust92
published on Wednesday, Oct 8, 2025 by drfaust92
