Viewing docs for opentelekomcloud 1.37.3
published on Friday, Jul 31, 2026 by opentelekomcloud
published on Friday, Jul 31, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.3
published on Friday, Jul 31, 2026 by opentelekomcloud
published on Friday, Jul 31, 2026 by opentelekomcloud
Up-to-date reference of API arguments for IAM user you can get at documentation portal
Use this data source to get the ID of an OpenTelekomCloud user.
Example Usage
Query by name
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const user1 = opentelekomcloud.getIdentityUserV3({
name: "user_1",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
user1 = opentelekomcloud.get_identity_user_v3(name="user_1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.LookupIdentityUserV3(ctx, &opentelekomcloud.LookupIdentityUserV3Args{
Name: pulumi.StringRef("user_1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var user1 = Opentelekomcloud.GetIdentityUserV3.Invoke(new()
{
Name = "user_1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetIdentityUserV3Args;
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 user1 = OpentelekomcloudFunctions.getIdentityUserV3(GetIdentityUserV3Args.builder()
.name("user_1")
.build());
}
}
variables:
user1:
fn::invoke:
function: opentelekomcloud:getIdentityUserV3
arguments:
name: user_1
Example coming soon!
Query by ID
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const user1 = opentelekomcloud.getIdentityUserV3({
id: "0a54c86a-0b3c-4762-92cc-bdfb63c572e1",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
user1 = opentelekomcloud.get_identity_user_v3(id="0a54c86a-0b3c-4762-92cc-bdfb63c572e1")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := opentelekomcloud.LookupIdentityUserV3(ctx, &opentelekomcloud.LookupIdentityUserV3Args{
Id: pulumi.StringRef("0a54c86a-0b3c-4762-92cc-bdfb63c572e1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var user1 = Opentelekomcloud.GetIdentityUserV3.Invoke(new()
{
Id = "0a54c86a-0b3c-4762-92cc-bdfb63c572e1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetIdentityUserV3Args;
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 user1 = OpentelekomcloudFunctions.getIdentityUserV3(GetIdentityUserV3Args.builder()
.id("0a54c86a-0b3c-4762-92cc-bdfb63c572e1")
.build());
}
}
variables:
user1:
fn::invoke:
function: opentelekomcloud:getIdentityUserV3
arguments:
id: 0a54c86a-0b3c-4762-92cc-bdfb63c572e1
Example coming soon!
Using getIdentityUserV3
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 getIdentityUserV3(args: GetIdentityUserV3Args, opts?: InvokeOptions): Promise<GetIdentityUserV3Result>
function getIdentityUserV3Output(args: GetIdentityUserV3OutputArgs, opts?: InvokeOptions): Output<GetIdentityUserV3Result>def get_identity_user_v3(domain_id: Optional[str] = None,
enabled: Optional[bool] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentityUserV3Result
def get_identity_user_v3_output(domain_id: pulumi.Input[Optional[str]] = None,
enabled: pulumi.Input[Optional[bool]] = None,
id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentityUserV3Result]func LookupIdentityUserV3(ctx *Context, args *LookupIdentityUserV3Args, opts ...InvokeOption) (*LookupIdentityUserV3Result, error)
func LookupIdentityUserV3Output(ctx *Context, args *LookupIdentityUserV3OutputArgs, opts ...InvokeOption) LookupIdentityUserV3ResultOutput> Note: This function is named LookupIdentityUserV3 in the Go SDK.
public static class GetIdentityUserV3
{
public static Task<GetIdentityUserV3Result> InvokeAsync(GetIdentityUserV3Args args, InvokeOptions? opts = null)
public static Output<GetIdentityUserV3Result> Invoke(GetIdentityUserV3InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIdentityUserV3Result> getIdentityUserV3(GetIdentityUserV3Args args, InvokeOptions options)
public static Output<GetIdentityUserV3Result> getIdentityUserV3(GetIdentityUserV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getIdentityUserV3:getIdentityUserV3
arguments:
# arguments dictionarydata "opentelekomcloud_get_identity_user_v3" "name" {
# arguments
}The following arguments are supported:
- Domain
Id string - The domain this user belongs to.
- Enabled bool
- Whether the user is enabled or disabled. Valid values are
trueandfalse. Default value istrue. - Id string
- The ID of the user. If set, it takes precedence over the arguments below and the user is looked up by ID directly.
- Name string
- The name of the user.
- Domain
Id string - The domain this user belongs to.
- Enabled bool
- Whether the user is enabled or disabled. Valid values are
trueandfalse. Default value istrue. - Id string
- The ID of the user. If set, it takes precedence over the arguments below and the user is looked up by ID directly.
- Name string
- The name of the user.
- domain_
id string - The domain this user belongs to.
- enabled bool
- Whether the user is enabled or disabled. Valid values are
trueandfalse. Default value istrue. - id string
- The ID of the user. If set, it takes precedence over the arguments below and the user is looked up by ID directly.
- name string
- The name of the user.
- domain
Id String - The domain this user belongs to.
- enabled Boolean
- Whether the user is enabled or disabled. Valid values are
trueandfalse. Default value istrue. - id String
- The ID of the user. If set, it takes precedence over the arguments below and the user is looked up by ID directly.
- name String
- The name of the user.
- domain
Id string - The domain this user belongs to.
- enabled boolean
- Whether the user is enabled or disabled. Valid values are
trueandfalse. Default value istrue. - id string
- The ID of the user. If set, it takes precedence over the arguments below and the user is looked up by ID directly.
- name string
- The name of the user.
- domain_
id str - The domain this user belongs to.
- enabled bool
- Whether the user is enabled or disabled. Valid values are
trueandfalse. Default value istrue. - id str
- The ID of the user. If set, it takes precedence over the arguments below and the user is looked up by ID directly.
- name str
- The name of the user.
- domain
Id String - The domain this user belongs to.
- enabled Boolean
- Whether the user is enabled or disabled. Valid values are
trueandfalse. Default value istrue. - id String
- The ID of the user. If set, it takes precedence over the arguments below and the user is looked up by ID directly.
- name String
- The name of the user.
getIdentityUserV3 Result
The following output properties are available:
- domain_
id string - id string
- The ID of the user.
- mfa_
device string - Serial number of user MFA device.
Security administratorpermissions are needed to set this attribute. - password_
expires_ stringat - Password expiration date of the user.
- enabled bool
- name string
- The name of the user.
- domain_
id str - id str
- The ID of the user.
- mfa_
device str - Serial number of user MFA device.
Security administratorpermissions are needed to set this attribute. - password_
expires_ strat - Password expiration date of the user.
- enabled bool
- name str
- The name of the user.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
Viewing docs for opentelekomcloud 1.37.3
published on Friday, Jul 31, 2026 by opentelekomcloud
published on Friday, Jul 31, 2026 by opentelekomcloud