tencentcloud.IdentityCenterGroup
Explore with Pulumi AI
Provides a resource to create an identity center group
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const identityCenterGroup = new tencentcloud.IdentityCenterGroup("identityCenterGroup", {
description: "test",
groupName: "test-group",
zoneId: "z-xxxxxx",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
identity_center_group = tencentcloud.IdentityCenterGroup("identityCenterGroup",
description="test",
group_name="test-group",
zone_id="z-xxxxxx")
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.NewIdentityCenterGroup(ctx, "identityCenterGroup", &tencentcloud.IdentityCenterGroupArgs{
Description: pulumi.String("test"),
GroupName: pulumi.String("test-group"),
ZoneId: pulumi.String("z-xxxxxx"),
})
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 identityCenterGroup = new Tencentcloud.IdentityCenterGroup("identityCenterGroup", new()
{
Description = "test",
GroupName = "test-group",
ZoneId = "z-xxxxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.IdentityCenterGroup;
import com.pulumi.tencentcloud.IdentityCenterGroupArgs;
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 identityCenterGroup = new IdentityCenterGroup("identityCenterGroup", IdentityCenterGroupArgs.builder()
.description("test")
.groupName("test-group")
.zoneId("z-xxxxxx")
.build());
}
}
resources:
identityCenterGroup:
type: tencentcloud:IdentityCenterGroup
properties:
description: test
groupName: test-group
zoneId: z-xxxxxx
Create IdentityCenterGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IdentityCenterGroup(name: string, args: IdentityCenterGroupArgs, opts?: CustomResourceOptions);
@overload
def IdentityCenterGroup(resource_name: str,
args: IdentityCenterGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IdentityCenterGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
group_name: Optional[str] = None,
zone_id: Optional[str] = None,
description: Optional[str] = None,
group_type: Optional[str] = None,
identity_center_group_id: Optional[str] = None)
func NewIdentityCenterGroup(ctx *Context, name string, args IdentityCenterGroupArgs, opts ...ResourceOption) (*IdentityCenterGroup, error)
public IdentityCenterGroup(string name, IdentityCenterGroupArgs args, CustomResourceOptions? opts = null)
public IdentityCenterGroup(String name, IdentityCenterGroupArgs args)
public IdentityCenterGroup(String name, IdentityCenterGroupArgs args, CustomResourceOptions options)
type: tencentcloud:IdentityCenterGroup
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 IdentityCenterGroupArgs
- 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 IdentityCenterGroupArgs
- 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 IdentityCenterGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IdentityCenterGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IdentityCenterGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IdentityCenterGroup 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 IdentityCenterGroup resource accepts the following input properties:
- Group
Name string - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- Zone
Id string - Zone id.
- Description string
- A description of the user group. Length: Maximum 1024 characters.
- Group
Type string - Type of user group.
Manual
: manual creation,Synchronized
: external import. - Identity
Center stringGroup Id - ID of the resource.
- Group
Name string - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- Zone
Id string - Zone id.
- Description string
- A description of the user group. Length: Maximum 1024 characters.
- Group
Type string - Type of user group.
Manual
: manual creation,Synchronized
: external import. - Identity
Center stringGroup Id - ID of the resource.
- group
Name String - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- zone
Id String - Zone id.
- description String
- A description of the user group. Length: Maximum 1024 characters.
- group
Type String - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity
Center StringGroup Id - ID of the resource.
- group
Name string - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- zone
Id string - Zone id.
- description string
- A description of the user group. Length: Maximum 1024 characters.
- group
Type string - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity
Center stringGroup Id - ID of the resource.
- group_
name str - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- zone_
id str - Zone id.
- description str
- A description of the user group. Length: Maximum 1024 characters.
- group_
type str - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity_
center_ strgroup_ id - ID of the resource.
- group
Name String - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- zone
Id String - Zone id.
- description String
- A description of the user group. Length: Maximum 1024 characters.
- group
Type String - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity
Center StringGroup Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the IdentityCenterGroup resource produces the following output properties:
- Create
Time string - Creation time of the user group.
- Group
Id string - ID of the user group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Count double - Number of team members.
- Update
Time string - Modification time for the user group.
- Create
Time string - Creation time of the user group.
- Group
Id string - ID of the user group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Count float64 - Number of team members.
- Update
Time string - Modification time for the user group.
- create
Time String - Creation time of the user group.
- group
Id String - ID of the user group.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Count Double - Number of team members.
- update
Time String - Modification time for the user group.
- create
Time string - Creation time of the user group.
- group
Id string - ID of the user group.
- id string
- The provider-assigned unique ID for this managed resource.
- member
Count number - Number of team members.
- update
Time string - Modification time for the user group.
- create_
time str - Creation time of the user group.
- group_
id str - ID of the user group.
- id str
- The provider-assigned unique ID for this managed resource.
- member_
count float - Number of team members.
- update_
time str - Modification time for the user group.
- create
Time String - Creation time of the user group.
- group
Id String - ID of the user group.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Count Number - Number of team members.
- update
Time String - Modification time for the user group.
Look up Existing IdentityCenterGroup Resource
Get an existing IdentityCenterGroup 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?: IdentityCenterGroupState, opts?: CustomResourceOptions): IdentityCenterGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
group_id: Optional[str] = None,
group_name: Optional[str] = None,
group_type: Optional[str] = None,
identity_center_group_id: Optional[str] = None,
member_count: Optional[float] = None,
update_time: Optional[str] = None,
zone_id: Optional[str] = None) -> IdentityCenterGroup
func GetIdentityCenterGroup(ctx *Context, name string, id IDInput, state *IdentityCenterGroupState, opts ...ResourceOption) (*IdentityCenterGroup, error)
public static IdentityCenterGroup Get(string name, Input<string> id, IdentityCenterGroupState? state, CustomResourceOptions? opts = null)
public static IdentityCenterGroup get(String name, Output<String> id, IdentityCenterGroupState state, CustomResourceOptions options)
resources: _: type: tencentcloud:IdentityCenterGroup 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 - Creation time of the user group.
- Description string
- A description of the user group. Length: Maximum 1024 characters.
- Group
Id string - ID of the user group.
- Group
Name string - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- Group
Type string - Type of user group.
Manual
: manual creation,Synchronized
: external import. - Identity
Center stringGroup Id - ID of the resource.
- Member
Count double - Number of team members.
- Update
Time string - Modification time for the user group.
- Zone
Id string - Zone id.
- Create
Time string - Creation time of the user group.
- Description string
- A description of the user group. Length: Maximum 1024 characters.
- Group
Id string - ID of the user group.
- Group
Name string - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- Group
Type string - Type of user group.
Manual
: manual creation,Synchronized
: external import. - Identity
Center stringGroup Id - ID of the resource.
- Member
Count float64 - Number of team members.
- Update
Time string - Modification time for the user group.
- Zone
Id string - Zone id.
- create
Time String - Creation time of the user group.
- description String
- A description of the user group. Length: Maximum 1024 characters.
- group
Id String - ID of the user group.
- group
Name String - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- group
Type String - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity
Center StringGroup Id - ID of the resource.
- member
Count Double - Number of team members.
- update
Time String - Modification time for the user group.
- zone
Id String - Zone id.
- create
Time string - Creation time of the user group.
- description string
- A description of the user group. Length: Maximum 1024 characters.
- group
Id string - ID of the user group.
- group
Name string - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- group
Type string - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity
Center stringGroup Id - ID of the resource.
- member
Count number - Number of team members.
- update
Time string - Modification time for the user group.
- zone
Id string - Zone id.
- create_
time str - Creation time of the user group.
- description str
- A description of the user group. Length: Maximum 1024 characters.
- group_
id str - ID of the user group.
- group_
name str - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- group_
type str - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity_
center_ strgroup_ id - ID of the resource.
- member_
count float - Number of team members.
- update_
time str - Modification time for the user group.
- zone_
id str - Zone id.
- create
Time String - Creation time of the user group.
- description String
- A description of the user group. Length: Maximum 1024 characters.
- group
Id String - ID of the user group.
- group
Name String - The name of the user group. Format: Allow English letters, numbers and special characters-. Length: Maximum 128 characters.
- group
Type String - Type of user group.
Manual
: manual creation,Synchronized
: external import. - identity
Center StringGroup Id - ID of the resource.
- member
Count Number - Number of team members.
- update
Time String - Modification time for the user group.
- zone
Id String - Zone id.
Import
tencentcloud_identity_center_group can be imported using the id, e.g.
$ pulumi import tencentcloud:index/identityCenterGroup:IdentityCenterGroup identity_center_group ${zoneId}#${groupId}
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.