tencentcloud.IdentityCenterUser
Explore with Pulumi AI
Provides a resource to create an identity center user
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.IdentityCenterUser("example", {
description: "desc.",
userName: "tf-example",
zoneId: "z-1os7c9tyugct",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.IdentityCenterUser("example",
description="desc.",
user_name="tf-example",
zone_id="z-1os7c9tyugct")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewIdentityCenterUser(ctx, "example", &tencentcloud.IdentityCenterUserArgs{
Description: pulumi.String("desc."),
UserName: pulumi.String("tf-example"),
ZoneId: pulumi.String("z-1os7c9tyugct"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.IdentityCenterUser("example", new()
{
Description = "desc.",
UserName = "tf-example",
ZoneId = "z-1os7c9tyugct",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.IdentityCenterUser;
import com.pulumi.tencentcloud.IdentityCenterUserArgs;
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) {
var example = new IdentityCenterUser("example", IdentityCenterUserArgs.builder()
.description("desc.")
.userName("tf-example")
.zoneId("z-1os7c9tyugct")
.build());
}
}
resources:
example:
type: tencentcloud:IdentityCenterUser
properties:
description: desc.
userName: tf-example
zoneId: z-1os7c9tyugct
Or
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.IdentityCenterUser("example", {
description: "desc.",
displayName: "DisplayName",
email: "example@tencent.com",
firstName: "FirstName",
lastName: "LastName",
userName: "tf-example",
userStatus: "Enabled",
zoneId: "z-1os7c9tyugct",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.IdentityCenterUser("example",
description="desc.",
display_name="DisplayName",
email="example@tencent.com",
first_name="FirstName",
last_name="LastName",
user_name="tf-example",
user_status="Enabled",
zone_id="z-1os7c9tyugct")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewIdentityCenterUser(ctx, "example", &tencentcloud.IdentityCenterUserArgs{
Description: pulumi.String("desc."),
DisplayName: pulumi.String("DisplayName"),
Email: pulumi.String("example@tencent.com"),
FirstName: pulumi.String("FirstName"),
LastName: pulumi.String("LastName"),
UserName: pulumi.String("tf-example"),
UserStatus: pulumi.String("Enabled"),
ZoneId: pulumi.String("z-1os7c9tyugct"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.IdentityCenterUser("example", new()
{
Description = "desc.",
DisplayName = "DisplayName",
Email = "example@tencent.com",
FirstName = "FirstName",
LastName = "LastName",
UserName = "tf-example",
UserStatus = "Enabled",
ZoneId = "z-1os7c9tyugct",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.IdentityCenterUser;
import com.pulumi.tencentcloud.IdentityCenterUserArgs;
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) {
var example = new IdentityCenterUser("example", IdentityCenterUserArgs.builder()
.description("desc.")
.displayName("DisplayName")
.email("example@tencent.com")
.firstName("FirstName")
.lastName("LastName")
.userName("tf-example")
.userStatus("Enabled")
.zoneId("z-1os7c9tyugct")
.build());
}
}
resources:
example:
type: tencentcloud:IdentityCenterUser
properties:
description: desc.
displayName: DisplayName
email: example@tencent.com
firstName: FirstName
lastName: LastName
userName: tf-example
userStatus: Enabled
zoneId: z-1os7c9tyugct
Create IdentityCenterUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdentityCenterUser(name: string, args: IdentityCenterUserArgs, opts?: CustomResourceOptions);
@overload
def IdentityCenterUser(resource_name: str,
args: IdentityCenterUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IdentityCenterUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
user_name: Optional[str] = None,
zone_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
email: Optional[str] = None,
first_name: Optional[str] = None,
identity_center_user_id: Optional[str] = None,
last_name: Optional[str] = None,
user_status: Optional[str] = None)
func NewIdentityCenterUser(ctx *Context, name string, args IdentityCenterUserArgs, opts ...ResourceOption) (*IdentityCenterUser, error)
public IdentityCenterUser(string name, IdentityCenterUserArgs args, CustomResourceOptions? opts = null)
public IdentityCenterUser(String name, IdentityCenterUserArgs args)
public IdentityCenterUser(String name, IdentityCenterUserArgs args, CustomResourceOptions options)
type: tencentcloud:IdentityCenterUser
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IdentityCenterUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IdentityCenterUserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IdentityCenterUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityCenterUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityCenterUserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IdentityCenterUser Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IdentityCenterUser resource accepts the following input properties:
- User
Name string - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - Zone
Id string - Zone id.
- Description string
- User's description. Length: Maximum 1024 characters.
- Display
Name string - The display name of the user. Length: Maximum 256 characters.
- Email string
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- First
Name string - The user's last name. Length: Maximum 64 characters.
- Identity
Center stringUser Id - ID of the resource.
- Last
Name string - The user's name. Length: Maximum 64 characters.
- User
Status string - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- User
Name string - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - Zone
Id string - Zone id.
- Description string
- User's description. Length: Maximum 1024 characters.
- Display
Name string - The display name of the user. Length: Maximum 256 characters.
- Email string
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- First
Name string - The user's last name. Length: Maximum 64 characters.
- Identity
Center stringUser Id - ID of the resource.
- Last
Name string - The user's name. Length: Maximum 64 characters.
- User
Status string - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user
Name String - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - zone
Id String - Zone id.
- description String
- User's description. Length: Maximum 1024 characters.
- display
Name String - The display name of the user. Length: Maximum 256 characters.
- email String
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first
Name String - The user's last name. Length: Maximum 64 characters.
- identity
Center StringUser Id - ID of the resource.
- last
Name String - The user's name. Length: Maximum 64 characters.
- user
Status String - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user
Name string - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - zone
Id string - Zone id.
- description string
- User's description. Length: Maximum 1024 characters.
- display
Name string - The display name of the user. Length: Maximum 256 characters.
- email string
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first
Name string - The user's last name. Length: Maximum 64 characters.
- identity
Center stringUser Id - ID of the resource.
- last
Name string - The user's name. Length: Maximum 64 characters.
- user
Status string - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user_
name str - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - zone_
id str - Zone id.
- description str
- User's description. Length: Maximum 1024 characters.
- display_
name str - The display name of the user. Length: Maximum 256 characters.
- email str
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first_
name str - The user's last name. Length: Maximum 64 characters.
- identity_
center_ struser_ id - ID of the resource.
- last_
name str - The user's name. Length: Maximum 64 characters.
- user_
status str - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user
Name String - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - zone
Id String - Zone id.
- description String
- User's description. Length: Maximum 1024 characters.
- display
Name String - The display name of the user. Length: Maximum 256 characters.
- email String
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first
Name String - The user's last name. Length: Maximum 64 characters.
- identity
Center StringUser Id - ID of the resource.
- last
Name String - The user's name. Length: Maximum 64 characters.
- user
Status String - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityCenterUser resource produces the following output properties:
- Create
Time string - Create time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Update time.
- User
Id string - User id.
- User
Type string - User type.
- Create
Time string - Create time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Update time.
- User
Id string - User id.
- User
Type string - User type.
- create
Time String - Create time.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Update time.
- user
Id String - User id.
- user
Type String - User type.
- create
Time string - Create time.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Update time.
- user
Id string - User id.
- user
Type string - User type.
- create_
time str - Create time.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Update time.
- user_
id str - User id.
- user_
type str - User type.
- create
Time String - Create time.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Update time.
- user
Id String - User id.
- user
Type String - User type.
Look up Existing IdentityCenterUser Resource
Get an existing IdentityCenterUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IdentityCenterUserState, opts?: CustomResourceOptions): IdentityCenterUser
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
email: Optional[str] = None,
first_name: Optional[str] = None,
identity_center_user_id: Optional[str] = None,
last_name: Optional[str] = None,
update_time: Optional[str] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None,
user_status: Optional[str] = None,
user_type: Optional[str] = None,
zone_id: Optional[str] = None) -> IdentityCenterUser
func GetIdentityCenterUser(ctx *Context, name string, id IDInput, state *IdentityCenterUserState, opts ...ResourceOption) (*IdentityCenterUser, error)
public static IdentityCenterUser Get(string name, Input<string> id, IdentityCenterUserState? state, CustomResourceOptions? opts = null)
public static IdentityCenterUser get(String name, Output<String> id, IdentityCenterUserState state, CustomResourceOptions options)
resources: _: type: tencentcloud:IdentityCenterUser get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - Create time.
- Description string
- User's description. Length: Maximum 1024 characters.
- Display
Name string - The display name of the user. Length: Maximum 256 characters.
- Email string
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- First
Name string - The user's last name. Length: Maximum 64 characters.
- Identity
Center stringUser Id - ID of the resource.
- Last
Name string - The user's name. Length: Maximum 64 characters.
- Update
Time string - Update time.
- User
Id string - User id.
- User
Name string - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - User
Status string - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- User
Type string - User type.
- Zone
Id string - Zone id.
- Create
Time string - Create time.
- Description string
- User's description. Length: Maximum 1024 characters.
- Display
Name string - The display name of the user. Length: Maximum 256 characters.
- Email string
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- First
Name string - The user's last name. Length: Maximum 64 characters.
- Identity
Center stringUser Id - ID of the resource.
- Last
Name string - The user's name. Length: Maximum 64 characters.
- Update
Time string - Update time.
- User
Id string - User id.
- User
Name string - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - User
Status string - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- User
Type string - User type.
- Zone
Id string - Zone id.
- create
Time String - Create time.
- description String
- User's description. Length: Maximum 1024 characters.
- display
Name String - The display name of the user. Length: Maximum 256 characters.
- email String
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first
Name String - The user's last name. Length: Maximum 64 characters.
- identity
Center StringUser Id - ID of the resource.
- last
Name String - The user's name. Length: Maximum 64 characters.
- update
Time String - Update time.
- user
Id String - User id.
- user
Name String - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - user
Status String - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user
Type String - User type.
- zone
Id String - Zone id.
- create
Time string - Create time.
- description string
- User's description. Length: Maximum 1024 characters.
- display
Name string - The display name of the user. Length: Maximum 256 characters.
- email string
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first
Name string - The user's last name. Length: Maximum 64 characters.
- identity
Center stringUser Id - ID of the resource.
- last
Name string - The user's name. Length: Maximum 64 characters.
- update
Time string - Update time.
- user
Id string - User id.
- user
Name string - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - user
Status string - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user
Type string - User type.
- zone
Id string - Zone id.
- create_
time str - Create time.
- description str
- User's description. Length: Maximum 1024 characters.
- display_
name str - The display name of the user. Length: Maximum 256 characters.
- email str
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first_
name str - The user's last name. Length: Maximum 64 characters.
- identity_
center_ struser_ id - ID of the resource.
- last_
name str - The user's name. Length: Maximum 64 characters.
- update_
time str - Update time.
- user_
id str - User id.
- user_
name str - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - user_
status str - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user_
type str - User type.
- zone_
id str - Zone id.
- create
Time String - Create time.
- description String
- User's description. Length: Maximum 1024 characters.
- display
Name String - The display name of the user. Length: Maximum 256 characters.
- email String
- The user's email address. Must be unique within the catalog. Length: Maximum 128 characters.
- first
Name String - The user's last name. Length: Maximum 64 characters.
- identity
Center StringUser Id - ID of the resource.
- last
Name String - The user's name. Length: Maximum 64 characters.
- update
Time String - Update time.
- user
Id String - User id.
- user
Name String - User name. It must be unique in space. Modifications are not supported. Format: Contains numbers, English letters and special symbols(
+
,=
,,
,.
,@
,-
,_
). Length: Maximum 64 characters. - user
Status String - The status of the user. Value: Enabled (default): Enabled. Disabled: Disabled.
- user
Type String - User type.
- zone
Id String - Zone id.
Import
organization identity center user can be imported using the id, e.g.
$ pulumi import tencentcloud:index/identityCenterUser:IdentityCenterUser example z-1os7c9tyugct#u-rdvm4xdqi8pr
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.