Documentation
¶
Index ¶
- type UserGroup
- type UserGroupArgs
- type UserGroupArray
- type UserGroupArrayInput
- type UserGroupArrayOutput
- func (UserGroupArrayOutput) ElementType() reflect.Type
- func (o UserGroupArrayOutput) Index(i pulumi.IntInput) UserGroupOutput
- func (o UserGroupArrayOutput) ToUserGroupArrayOutput() UserGroupArrayOutput
- func (o UserGroupArrayOutput) ToUserGroupArrayOutputWithContext(ctx context.Context) UserGroupArrayOutput
- type UserGroupInput
- type UserGroupMap
- type UserGroupMapInput
- type UserGroupMapOutput
- type UserGroupOutput
- func (o UserGroupOutput) Description() pulumi.StringPtrOutput
- func (o UserGroupOutput) DisplayName() pulumi.StringOutput
- func (UserGroupOutput) ElementType() reflect.Type
- func (o UserGroupOutput) ToUserGroupOutput() UserGroupOutput
- func (o UserGroupOutput) ToUserGroupOutputWithContext(ctx context.Context) UserGroupOutput
- func (o UserGroupOutput) UserStoreId() pulumi.StringOutput
- type UserGroupState
- type UserStore
- type UserStoreArgs
- type UserStoreArray
- type UserStoreArrayInput
- type UserStoreArrayOutput
- func (UserStoreArrayOutput) ElementType() reflect.Type
- func (o UserStoreArrayOutput) Index(i pulumi.IntInput) UserStoreOutput
- func (o UserStoreArrayOutput) ToUserStoreArrayOutput() UserStoreArrayOutput
- func (o UserStoreArrayOutput) ToUserStoreArrayOutputWithContext(ctx context.Context) UserStoreArrayOutput
- type UserStoreInput
- type UserStoreMap
- type UserStoreMapInput
- type UserStoreMapOutput
- type UserStoreOutput
- func (UserStoreOutput) ElementType() reflect.Type
- func (o UserStoreOutput) ToUserStoreOutput() UserStoreOutput
- func (o UserStoreOutput) ToUserStoreOutputWithContext(ctx context.Context) UserStoreOutput
- func (o UserStoreOutput) UserPoolDesc() pulumi.StringPtrOutput
- func (o UserStoreOutput) UserPoolLogo() pulumi.StringPtrOutput
- func (o UserStoreOutput) UserPoolName() pulumi.StringOutput
- type UserStoreState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserGroup ¶
type UserGroup struct {
pulumi.CustomResourceState
// User Group Description.
Description pulumi.StringPtrOutput `pulumi:"description"`
// User Group Name.
DisplayName pulumi.StringOutput `pulumi:"displayName"`
// User Store ID.
UserStoreId pulumi.StringOutput `pulumi:"userStoreId"`
}
Provides a resource to create a ciam user group
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ciam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
userStore, err := Ciam.NewUserStore(ctx, "userStore", &Ciam.UserStoreArgs{
UserPoolName: pulumi.String("tf_user_store"),
UserPoolDesc: pulumi.String("for terraform test"),
UserPoolLogo: pulumi.String("https://ciam-prd-1302490086.cos.ap-guangzhou.myqcloud.com/temporary/92630252a2c5422d9663db5feafd619b.png"),
})
if err != nil {
return err
}
_, err = Ciam.NewUserGroup(ctx, "userGroup", &Ciam.UserGroupArgs{
DisplayName: pulumi.String("tf_user_group"),
UserStoreId: userStore.ID(),
Description: pulumi.String("for terrafrom test"),
})
if err != nil {
return err
}
return nil
})
}
``` <!--End PulumiCodeChooser -->
## Import
ciam user_group can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Ciam/userGroup:UserGroup user_group userStoreId#userGroupId ```
func GetUserGroup ¶
func GetUserGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserGroupState, opts ...pulumi.ResourceOption) (*UserGroup, error)
GetUserGroup gets an existing UserGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserGroup ¶
func NewUserGroup(ctx *pulumi.Context, name string, args *UserGroupArgs, opts ...pulumi.ResourceOption) (*UserGroup, error)
NewUserGroup registers a new resource with the given unique name, arguments, and options.
func (*UserGroup) ElementType ¶
func (*UserGroup) ToUserGroupOutput ¶
func (i *UserGroup) ToUserGroupOutput() UserGroupOutput
func (*UserGroup) ToUserGroupOutputWithContext ¶
func (i *UserGroup) ToUserGroupOutputWithContext(ctx context.Context) UserGroupOutput
type UserGroupArgs ¶
type UserGroupArgs struct {
// User Group Description.
Description pulumi.StringPtrInput
// User Group Name.
DisplayName pulumi.StringInput
// User Store ID.
UserStoreId pulumi.StringInput
}
The set of arguments for constructing a UserGroup resource.
func (UserGroupArgs) ElementType ¶
func (UserGroupArgs) ElementType() reflect.Type
type UserGroupArray ¶
type UserGroupArray []UserGroupInput
func (UserGroupArray) ElementType ¶
func (UserGroupArray) ElementType() reflect.Type
func (UserGroupArray) ToUserGroupArrayOutput ¶
func (i UserGroupArray) ToUserGroupArrayOutput() UserGroupArrayOutput
func (UserGroupArray) ToUserGroupArrayOutputWithContext ¶
func (i UserGroupArray) ToUserGroupArrayOutputWithContext(ctx context.Context) UserGroupArrayOutput
type UserGroupArrayInput ¶
type UserGroupArrayInput interface {
pulumi.Input
ToUserGroupArrayOutput() UserGroupArrayOutput
ToUserGroupArrayOutputWithContext(context.Context) UserGroupArrayOutput
}
UserGroupArrayInput is an input type that accepts UserGroupArray and UserGroupArrayOutput values. You can construct a concrete instance of `UserGroupArrayInput` via:
UserGroupArray{ UserGroupArgs{...} }
type UserGroupArrayOutput ¶
type UserGroupArrayOutput struct{ *pulumi.OutputState }
func (UserGroupArrayOutput) ElementType ¶
func (UserGroupArrayOutput) ElementType() reflect.Type
func (UserGroupArrayOutput) Index ¶
func (o UserGroupArrayOutput) Index(i pulumi.IntInput) UserGroupOutput
func (UserGroupArrayOutput) ToUserGroupArrayOutput ¶
func (o UserGroupArrayOutput) ToUserGroupArrayOutput() UserGroupArrayOutput
func (UserGroupArrayOutput) ToUserGroupArrayOutputWithContext ¶
func (o UserGroupArrayOutput) ToUserGroupArrayOutputWithContext(ctx context.Context) UserGroupArrayOutput
type UserGroupInput ¶
type UserGroupInput interface {
pulumi.Input
ToUserGroupOutput() UserGroupOutput
ToUserGroupOutputWithContext(ctx context.Context) UserGroupOutput
}
type UserGroupMap ¶
type UserGroupMap map[string]UserGroupInput
func (UserGroupMap) ElementType ¶
func (UserGroupMap) ElementType() reflect.Type
func (UserGroupMap) ToUserGroupMapOutput ¶
func (i UserGroupMap) ToUserGroupMapOutput() UserGroupMapOutput
func (UserGroupMap) ToUserGroupMapOutputWithContext ¶
func (i UserGroupMap) ToUserGroupMapOutputWithContext(ctx context.Context) UserGroupMapOutput
type UserGroupMapInput ¶
type UserGroupMapInput interface {
pulumi.Input
ToUserGroupMapOutput() UserGroupMapOutput
ToUserGroupMapOutputWithContext(context.Context) UserGroupMapOutput
}
UserGroupMapInput is an input type that accepts UserGroupMap and UserGroupMapOutput values. You can construct a concrete instance of `UserGroupMapInput` via:
UserGroupMap{ "key": UserGroupArgs{...} }
type UserGroupMapOutput ¶
type UserGroupMapOutput struct{ *pulumi.OutputState }
func (UserGroupMapOutput) ElementType ¶
func (UserGroupMapOutput) ElementType() reflect.Type
func (UserGroupMapOutput) MapIndex ¶
func (o UserGroupMapOutput) MapIndex(k pulumi.StringInput) UserGroupOutput
func (UserGroupMapOutput) ToUserGroupMapOutput ¶
func (o UserGroupMapOutput) ToUserGroupMapOutput() UserGroupMapOutput
func (UserGroupMapOutput) ToUserGroupMapOutputWithContext ¶
func (o UserGroupMapOutput) ToUserGroupMapOutputWithContext(ctx context.Context) UserGroupMapOutput
type UserGroupOutput ¶
type UserGroupOutput struct{ *pulumi.OutputState }
func (UserGroupOutput) Description ¶
func (o UserGroupOutput) Description() pulumi.StringPtrOutput
User Group Description.
func (UserGroupOutput) DisplayName ¶
func (o UserGroupOutput) DisplayName() pulumi.StringOutput
User Group Name.
func (UserGroupOutput) ElementType ¶
func (UserGroupOutput) ElementType() reflect.Type
func (UserGroupOutput) ToUserGroupOutput ¶
func (o UserGroupOutput) ToUserGroupOutput() UserGroupOutput
func (UserGroupOutput) ToUserGroupOutputWithContext ¶
func (o UserGroupOutput) ToUserGroupOutputWithContext(ctx context.Context) UserGroupOutput
func (UserGroupOutput) UserStoreId ¶
func (o UserGroupOutput) UserStoreId() pulumi.StringOutput
User Store ID.
type UserGroupState ¶
type UserGroupState struct {
// User Group Description.
Description pulumi.StringPtrInput
// User Group Name.
DisplayName pulumi.StringPtrInput
// User Store ID.
UserStoreId pulumi.StringPtrInput
}
func (UserGroupState) ElementType ¶
func (UserGroupState) ElementType() reflect.Type
type UserStore ¶
type UserStore struct {
pulumi.CustomResourceState
// User Store Description.
UserPoolDesc pulumi.StringPtrOutput `pulumi:"userPoolDesc"`
// User Store Logo.
UserPoolLogo pulumi.StringPtrOutput `pulumi:"userPoolLogo"`
// User Store Name.
UserPoolName pulumi.StringOutput `pulumi:"userPoolName"`
}
Provides a resource to create a ciam user store
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Ciam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Ciam.NewUserStore(ctx, "userStore", &Ciam.UserStoreArgs{
UserPoolDesc: pulumi.String("for terraform test 123"),
UserPoolLogo: pulumi.String("https://ciam-prd-1302490086.cos.ap-guangzhou.myqcloud.com/temporary/92630252a2c5422d9663db5feafd619b.png"),
UserPoolName: pulumi.String("tf_user_store"),
})
if err != nil {
return err
}
return nil
})
}
``` <!--End PulumiCodeChooser -->
## Import
ciam user_store can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Ciam/userStore:UserStore user_store userStoreId ```
func GetUserStore ¶
func GetUserStore(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserStoreState, opts ...pulumi.ResourceOption) (*UserStore, error)
GetUserStore gets an existing UserStore resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserStore ¶
func NewUserStore(ctx *pulumi.Context, name string, args *UserStoreArgs, opts ...pulumi.ResourceOption) (*UserStore, error)
NewUserStore registers a new resource with the given unique name, arguments, and options.
func (*UserStore) ElementType ¶
func (*UserStore) ToUserStoreOutput ¶
func (i *UserStore) ToUserStoreOutput() UserStoreOutput
func (*UserStore) ToUserStoreOutputWithContext ¶
func (i *UserStore) ToUserStoreOutputWithContext(ctx context.Context) UserStoreOutput
type UserStoreArgs ¶
type UserStoreArgs struct {
// User Store Description.
UserPoolDesc pulumi.StringPtrInput
// User Store Logo.
UserPoolLogo pulumi.StringPtrInput
// User Store Name.
UserPoolName pulumi.StringInput
}
The set of arguments for constructing a UserStore resource.
func (UserStoreArgs) ElementType ¶
func (UserStoreArgs) ElementType() reflect.Type
type UserStoreArray ¶
type UserStoreArray []UserStoreInput
func (UserStoreArray) ElementType ¶
func (UserStoreArray) ElementType() reflect.Type
func (UserStoreArray) ToUserStoreArrayOutput ¶
func (i UserStoreArray) ToUserStoreArrayOutput() UserStoreArrayOutput
func (UserStoreArray) ToUserStoreArrayOutputWithContext ¶
func (i UserStoreArray) ToUserStoreArrayOutputWithContext(ctx context.Context) UserStoreArrayOutput
type UserStoreArrayInput ¶
type UserStoreArrayInput interface {
pulumi.Input
ToUserStoreArrayOutput() UserStoreArrayOutput
ToUserStoreArrayOutputWithContext(context.Context) UserStoreArrayOutput
}
UserStoreArrayInput is an input type that accepts UserStoreArray and UserStoreArrayOutput values. You can construct a concrete instance of `UserStoreArrayInput` via:
UserStoreArray{ UserStoreArgs{...} }
type UserStoreArrayOutput ¶
type UserStoreArrayOutput struct{ *pulumi.OutputState }
func (UserStoreArrayOutput) ElementType ¶
func (UserStoreArrayOutput) ElementType() reflect.Type
func (UserStoreArrayOutput) Index ¶
func (o UserStoreArrayOutput) Index(i pulumi.IntInput) UserStoreOutput
func (UserStoreArrayOutput) ToUserStoreArrayOutput ¶
func (o UserStoreArrayOutput) ToUserStoreArrayOutput() UserStoreArrayOutput
func (UserStoreArrayOutput) ToUserStoreArrayOutputWithContext ¶
func (o UserStoreArrayOutput) ToUserStoreArrayOutputWithContext(ctx context.Context) UserStoreArrayOutput
type UserStoreInput ¶
type UserStoreInput interface {
pulumi.Input
ToUserStoreOutput() UserStoreOutput
ToUserStoreOutputWithContext(ctx context.Context) UserStoreOutput
}
type UserStoreMap ¶
type UserStoreMap map[string]UserStoreInput
func (UserStoreMap) ElementType ¶
func (UserStoreMap) ElementType() reflect.Type
func (UserStoreMap) ToUserStoreMapOutput ¶
func (i UserStoreMap) ToUserStoreMapOutput() UserStoreMapOutput
func (UserStoreMap) ToUserStoreMapOutputWithContext ¶
func (i UserStoreMap) ToUserStoreMapOutputWithContext(ctx context.Context) UserStoreMapOutput
type UserStoreMapInput ¶
type UserStoreMapInput interface {
pulumi.Input
ToUserStoreMapOutput() UserStoreMapOutput
ToUserStoreMapOutputWithContext(context.Context) UserStoreMapOutput
}
UserStoreMapInput is an input type that accepts UserStoreMap and UserStoreMapOutput values. You can construct a concrete instance of `UserStoreMapInput` via:
UserStoreMap{ "key": UserStoreArgs{...} }
type UserStoreMapOutput ¶
type UserStoreMapOutput struct{ *pulumi.OutputState }
func (UserStoreMapOutput) ElementType ¶
func (UserStoreMapOutput) ElementType() reflect.Type
func (UserStoreMapOutput) MapIndex ¶
func (o UserStoreMapOutput) MapIndex(k pulumi.StringInput) UserStoreOutput
func (UserStoreMapOutput) ToUserStoreMapOutput ¶
func (o UserStoreMapOutput) ToUserStoreMapOutput() UserStoreMapOutput
func (UserStoreMapOutput) ToUserStoreMapOutputWithContext ¶
func (o UserStoreMapOutput) ToUserStoreMapOutputWithContext(ctx context.Context) UserStoreMapOutput
type UserStoreOutput ¶
type UserStoreOutput struct{ *pulumi.OutputState }
func (UserStoreOutput) ElementType ¶
func (UserStoreOutput) ElementType() reflect.Type
func (UserStoreOutput) ToUserStoreOutput ¶
func (o UserStoreOutput) ToUserStoreOutput() UserStoreOutput
func (UserStoreOutput) ToUserStoreOutputWithContext ¶
func (o UserStoreOutput) ToUserStoreOutputWithContext(ctx context.Context) UserStoreOutput
func (UserStoreOutput) UserPoolDesc ¶
func (o UserStoreOutput) UserPoolDesc() pulumi.StringPtrOutput
User Store Description.
func (UserStoreOutput) UserPoolLogo ¶
func (o UserStoreOutput) UserPoolLogo() pulumi.StringPtrOutput
User Store Logo.
func (UserStoreOutput) UserPoolName ¶
func (o UserStoreOutput) UserPoolName() pulumi.StringOutput
User Store Name.
type UserStoreState ¶
type UserStoreState struct {
// User Store Description.
UserPoolDesc pulumi.StringPtrInput
// User Store Logo.
UserPoolLogo pulumi.StringPtrInput
// User Store Name.
UserPoolName pulumi.StringPtrInput
}
func (UserStoreState) ElementType ¶
func (UserStoreState) ElementType() reflect.Type