OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud
ovh.Me.getIdentityUser
Explore with Pulumi AI
Use this data source to retrieve information about an identity user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const myUser = ovh.Me.getIdentityUser({
    user: "my_user_login",
});
import pulumi
import pulumi_ovh as ovh
my_user = ovh.Me.get_identity_user(user="my_user_login")
package main
import (
	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Me"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetIdentityUser(ctx, &me.GetIdentityUserArgs{
			User: "my_user_login",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() => 
{
    var myUser = Ovh.Me.GetIdentityUser.Invoke(new()
    {
        User = "my_user_login",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Me.MeFunctions;
import com.pulumi.ovh.Me.inputs.GetIdentityUserArgs;
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 myUser = MeFunctions.getIdentityUser(GetIdentityUserArgs.builder()
            .user("my_user_login")
            .build());
    }
}
variables:
  myUser:
    fn::invoke:
      Function: ovh:Me:getIdentityUser
      Arguments:
        user: my_user_login
Using getIdentityUser
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 getIdentityUser(args: GetIdentityUserArgs, opts?: InvokeOptions): Promise<GetIdentityUserResult>
function getIdentityUserOutput(args: GetIdentityUserOutputArgs, opts?: InvokeOptions): Output<GetIdentityUserResult>def get_identity_user(user: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIdentityUserResult
def get_identity_user_output(user: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetIdentityUserResult]func GetIdentityUser(ctx *Context, args *GetIdentityUserArgs, opts ...InvokeOption) (*GetIdentityUserResult, error)
func GetIdentityUserOutput(ctx *Context, args *GetIdentityUserOutputArgs, opts ...InvokeOption) GetIdentityUserResultOutput> Note: This function is named GetIdentityUser in the Go SDK.
public static class GetIdentityUser 
{
    public static Task<GetIdentityUserResult> InvokeAsync(GetIdentityUserArgs args, InvokeOptions? opts = null)
    public static Output<GetIdentityUserResult> Invoke(GetIdentityUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentityUserResult> getIdentityUser(GetIdentityUserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:Me/getIdentityUser:getIdentityUser
  arguments:
    # arguments dictionaryThe following arguments are supported:
- User string
 - User's login.
 
- User string
 - User's login.
 
- user String
 - User's login.
 
- user string
 - User's login.
 
- user str
 - User's login.
 
- user String
 - User's login.
 
getIdentityUser Result
The following output properties are available:
- Creation string
 - Creation date of this user.
 - Description string
 - User description.
 - Email string
 - User's email.
 - Group string
 - User's group.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Last
Update string - Last update of this user.
 - Login string
 - User's login suffix.
 - Password
Last stringUpdate  - When the user changed his password for the last time.
 - Status string
 - Current user's status.
 - User string
 - User
URN string - User's identity URN.
 
- Creation string
 - Creation date of this user.
 - Description string
 - User description.
 - Email string
 - User's email.
 - Group string
 - User's group.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Last
Update string - Last update of this user.
 - Login string
 - User's login suffix.
 - Password
Last stringUpdate  - When the user changed his password for the last time.
 - Status string
 - Current user's status.
 - User string
 - User
URN string - User's identity URN.
 
- User
URN String - User's identity URN.
 - creation String
 - Creation date of this user.
 - description String
 - User description.
 - email String
 - User's email.
 - group String
 - User's group.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - last
Update String - Last update of this user.
 - login String
 - User's login suffix.
 - password
Last StringUpdate  - When the user changed his password for the last time.
 - status String
 - Current user's status.
 - user String
 
- User
URN string - User's identity URN.
 - creation string
 - Creation date of this user.
 - description string
 - User description.
 - email string
 - User's email.
 - group string
 - User's group.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - last
Update string - Last update of this user.
 - login string
 - User's login suffix.
 - password
Last stringUpdate  - When the user changed his password for the last time.
 - status string
 - Current user's status.
 - user string
 
- creation str
 - Creation date of this user.
 - description str
 - User description.
 - email str
 - User's email.
 - group str
 - User's group.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - last_
update str - Last update of this user.
 - login str
 - User's login suffix.
 - password_
last_ strupdate  - When the user changed his password for the last time.
 - status str
 - Current user's status.
 - user str
 - user_
urn str - User's identity URN.
 
- User
URN String - User's identity URN.
 - creation String
 - Creation date of this user.
 - description String
 - User description.
 - email String
 - User's email.
 - group String
 - User's group.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - last
Update String - Last update of this user.
 - login String
 - User's login suffix.
 - password
Last StringUpdate  - When the user changed his password for the last time.
 - status String
 - Current user's status.
 - user String
 
Package Details
- Repository
 - ovh ovh/pulumi-ovh
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ovhTerraform Provider.