Documentation
¶
Index ¶
- type Acl
- type AclArgs
- type AclArray
- type AclArrayInput
- type AclArrayOutput
- type AclInput
- type AclMap
- type AclMapInput
- type AclMapOutput
- type AclOutput
- func (o AclOutput) AcTemplateIdSets() pulumi.StringArrayOutput
- func (o AclOutput) AccountSets() pulumi.StringArrayOutput
- func (o AclOutput) AllowAccessCredential() pulumi.BoolPtrOutput
- func (o AclOutput) AllowAnyAccount() pulumi.BoolOutput
- func (o AclOutput) AllowClipFileDown() pulumi.BoolPtrOutput
- func (o AclOutput) AllowClipFileUp() pulumi.BoolPtrOutput
- func (o AclOutput) AllowClipTextDown() pulumi.BoolPtrOutput
- func (o AclOutput) AllowClipTextUp() pulumi.BoolPtrOutput
- func (o AclOutput) AllowDiskFileDown() pulumi.BoolPtrOutput
- func (o AclOutput) AllowDiskFileUp() pulumi.BoolPtrOutput
- func (o AclOutput) AllowDiskRedirect() pulumi.BoolOutput
- func (o AclOutput) AllowFileDel() pulumi.BoolPtrOutput
- func (o AclOutput) AllowFileDown() pulumi.BoolPtrOutput
- func (o AclOutput) AllowFileUp() pulumi.BoolPtrOutput
- func (o AclOutput) AllowShellFileDown() pulumi.BoolPtrOutput
- func (o AclOutput) AllowShellFileUp() pulumi.BoolPtrOutput
- func (o AclOutput) CmdTemplateIdSets() pulumi.IntArrayOutput
- func (o AclOutput) DepartmentId() pulumi.StringPtrOutput
- func (o AclOutput) DeviceGroupIdSets() pulumi.IntArrayOutput
- func (o AclOutput) DeviceIdSets() pulumi.IntArrayOutput
- func (AclOutput) ElementType() reflect.Type
- func (o AclOutput) MaxFileDownSize() pulumi.IntPtrOutput
- func (o AclOutput) MaxFileUpSize() pulumi.IntPtrOutput
- func (o AclOutput) Name() pulumi.StringOutput
- func (o AclOutput) ToAclOutput() AclOutput
- func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput
- func (o AclOutput) UserGroupIdSets() pulumi.IntArrayOutput
- func (o AclOutput) UserIdSets() pulumi.IntArrayOutput
- func (o AclOutput) ValidateFrom() pulumi.StringOutput
- func (o AclOutput) ValidateTo() pulumi.StringOutput
- type AclState
- type BindDeviceAccountPassword
- type BindDeviceAccountPasswordArgs
- type BindDeviceAccountPasswordArray
- func (BindDeviceAccountPasswordArray) ElementType() reflect.Type
- func (i BindDeviceAccountPasswordArray) ToBindDeviceAccountPasswordArrayOutput() BindDeviceAccountPasswordArrayOutput
- func (i BindDeviceAccountPasswordArray) ToBindDeviceAccountPasswordArrayOutputWithContext(ctx context.Context) BindDeviceAccountPasswordArrayOutput
- type BindDeviceAccountPasswordArrayInput
- type BindDeviceAccountPasswordArrayOutput
- func (BindDeviceAccountPasswordArrayOutput) ElementType() reflect.Type
- func (o BindDeviceAccountPasswordArrayOutput) Index(i pulumi.IntInput) BindDeviceAccountPasswordOutput
- func (o BindDeviceAccountPasswordArrayOutput) ToBindDeviceAccountPasswordArrayOutput() BindDeviceAccountPasswordArrayOutput
- func (o BindDeviceAccountPasswordArrayOutput) ToBindDeviceAccountPasswordArrayOutputWithContext(ctx context.Context) BindDeviceAccountPasswordArrayOutput
- type BindDeviceAccountPasswordInput
- type BindDeviceAccountPasswordMap
- func (BindDeviceAccountPasswordMap) ElementType() reflect.Type
- func (i BindDeviceAccountPasswordMap) ToBindDeviceAccountPasswordMapOutput() BindDeviceAccountPasswordMapOutput
- func (i BindDeviceAccountPasswordMap) ToBindDeviceAccountPasswordMapOutputWithContext(ctx context.Context) BindDeviceAccountPasswordMapOutput
- type BindDeviceAccountPasswordMapInput
- type BindDeviceAccountPasswordMapOutput
- func (BindDeviceAccountPasswordMapOutput) ElementType() reflect.Type
- func (o BindDeviceAccountPasswordMapOutput) MapIndex(k pulumi.StringInput) BindDeviceAccountPasswordOutput
- func (o BindDeviceAccountPasswordMapOutput) ToBindDeviceAccountPasswordMapOutput() BindDeviceAccountPasswordMapOutput
- func (o BindDeviceAccountPasswordMapOutput) ToBindDeviceAccountPasswordMapOutputWithContext(ctx context.Context) BindDeviceAccountPasswordMapOutput
- type BindDeviceAccountPasswordOutput
- func (o BindDeviceAccountPasswordOutput) DeviceAccountId() pulumi.IntOutput
- func (BindDeviceAccountPasswordOutput) ElementType() reflect.Type
- func (o BindDeviceAccountPasswordOutput) Password() pulumi.StringOutput
- func (o BindDeviceAccountPasswordOutput) ToBindDeviceAccountPasswordOutput() BindDeviceAccountPasswordOutput
- func (o BindDeviceAccountPasswordOutput) ToBindDeviceAccountPasswordOutputWithContext(ctx context.Context) BindDeviceAccountPasswordOutput
- type BindDeviceAccountPasswordState
- type BindDeviceAccountPrivateKey
- func (*BindDeviceAccountPrivateKey) ElementType() reflect.Type
- func (i *BindDeviceAccountPrivateKey) ToBindDeviceAccountPrivateKeyOutput() BindDeviceAccountPrivateKeyOutput
- func (i *BindDeviceAccountPrivateKey) ToBindDeviceAccountPrivateKeyOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyOutput
- type BindDeviceAccountPrivateKeyArgs
- type BindDeviceAccountPrivateKeyArray
- func (BindDeviceAccountPrivateKeyArray) ElementType() reflect.Type
- func (i BindDeviceAccountPrivateKeyArray) ToBindDeviceAccountPrivateKeyArrayOutput() BindDeviceAccountPrivateKeyArrayOutput
- func (i BindDeviceAccountPrivateKeyArray) ToBindDeviceAccountPrivateKeyArrayOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyArrayOutput
- type BindDeviceAccountPrivateKeyArrayInput
- type BindDeviceAccountPrivateKeyArrayOutput
- func (BindDeviceAccountPrivateKeyArrayOutput) ElementType() reflect.Type
- func (o BindDeviceAccountPrivateKeyArrayOutput) Index(i pulumi.IntInput) BindDeviceAccountPrivateKeyOutput
- func (o BindDeviceAccountPrivateKeyArrayOutput) ToBindDeviceAccountPrivateKeyArrayOutput() BindDeviceAccountPrivateKeyArrayOutput
- func (o BindDeviceAccountPrivateKeyArrayOutput) ToBindDeviceAccountPrivateKeyArrayOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyArrayOutput
- type BindDeviceAccountPrivateKeyInput
- type BindDeviceAccountPrivateKeyMap
- func (BindDeviceAccountPrivateKeyMap) ElementType() reflect.Type
- func (i BindDeviceAccountPrivateKeyMap) ToBindDeviceAccountPrivateKeyMapOutput() BindDeviceAccountPrivateKeyMapOutput
- func (i BindDeviceAccountPrivateKeyMap) ToBindDeviceAccountPrivateKeyMapOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyMapOutput
- type BindDeviceAccountPrivateKeyMapInput
- type BindDeviceAccountPrivateKeyMapOutput
- func (BindDeviceAccountPrivateKeyMapOutput) ElementType() reflect.Type
- func (o BindDeviceAccountPrivateKeyMapOutput) MapIndex(k pulumi.StringInput) BindDeviceAccountPrivateKeyOutput
- func (o BindDeviceAccountPrivateKeyMapOutput) ToBindDeviceAccountPrivateKeyMapOutput() BindDeviceAccountPrivateKeyMapOutput
- func (o BindDeviceAccountPrivateKeyMapOutput) ToBindDeviceAccountPrivateKeyMapOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyMapOutput
- type BindDeviceAccountPrivateKeyOutput
- func (o BindDeviceAccountPrivateKeyOutput) DeviceAccountId() pulumi.IntOutput
- func (BindDeviceAccountPrivateKeyOutput) ElementType() reflect.Type
- func (o BindDeviceAccountPrivateKeyOutput) PrivateKey() pulumi.StringOutput
- func (o BindDeviceAccountPrivateKeyOutput) PrivateKeyPassword() pulumi.StringPtrOutput
- func (o BindDeviceAccountPrivateKeyOutput) ToBindDeviceAccountPrivateKeyOutput() BindDeviceAccountPrivateKeyOutput
- func (o BindDeviceAccountPrivateKeyOutput) ToBindDeviceAccountPrivateKeyOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyOutput
- type BindDeviceAccountPrivateKeyState
- type BindDeviceResource
- type BindDeviceResourceArgs
- type BindDeviceResourceArray
- type BindDeviceResourceArrayInput
- type BindDeviceResourceArrayOutput
- func (BindDeviceResourceArrayOutput) ElementType() reflect.Type
- func (o BindDeviceResourceArrayOutput) Index(i pulumi.IntInput) BindDeviceResourceOutput
- func (o BindDeviceResourceArrayOutput) ToBindDeviceResourceArrayOutput() BindDeviceResourceArrayOutput
- func (o BindDeviceResourceArrayOutput) ToBindDeviceResourceArrayOutputWithContext(ctx context.Context) BindDeviceResourceArrayOutput
- type BindDeviceResourceInput
- type BindDeviceResourceMap
- type BindDeviceResourceMapInput
- type BindDeviceResourceMapOutput
- func (BindDeviceResourceMapOutput) ElementType() reflect.Type
- func (o BindDeviceResourceMapOutput) MapIndex(k pulumi.StringInput) BindDeviceResourceOutput
- func (o BindDeviceResourceMapOutput) ToBindDeviceResourceMapOutput() BindDeviceResourceMapOutput
- func (o BindDeviceResourceMapOutput) ToBindDeviceResourceMapOutputWithContext(ctx context.Context) BindDeviceResourceMapOutput
- type BindDeviceResourceOutput
- func (o BindDeviceResourceOutput) DeviceIdSets() pulumi.IntArrayOutput
- func (BindDeviceResourceOutput) ElementType() reflect.Type
- func (o BindDeviceResourceOutput) ResourceId() pulumi.StringOutput
- func (o BindDeviceResourceOutput) ToBindDeviceResourceOutput() BindDeviceResourceOutput
- func (o BindDeviceResourceOutput) ToBindDeviceResourceOutputWithContext(ctx context.Context) BindDeviceResourceOutput
- type BindDeviceResourceState
- type CmdTemplate
- type CmdTemplateArgs
- type CmdTemplateArray
- type CmdTemplateArrayInput
- type CmdTemplateArrayOutput
- func (CmdTemplateArrayOutput) ElementType() reflect.Type
- func (o CmdTemplateArrayOutput) Index(i pulumi.IntInput) CmdTemplateOutput
- func (o CmdTemplateArrayOutput) ToCmdTemplateArrayOutput() CmdTemplateArrayOutput
- func (o CmdTemplateArrayOutput) ToCmdTemplateArrayOutputWithContext(ctx context.Context) CmdTemplateArrayOutput
- type CmdTemplateInput
- type CmdTemplateMap
- type CmdTemplateMapInput
- type CmdTemplateMapOutput
- func (CmdTemplateMapOutput) ElementType() reflect.Type
- func (o CmdTemplateMapOutput) MapIndex(k pulumi.StringInput) CmdTemplateOutput
- func (o CmdTemplateMapOutput) ToCmdTemplateMapOutput() CmdTemplateMapOutput
- func (o CmdTemplateMapOutput) ToCmdTemplateMapOutputWithContext(ctx context.Context) CmdTemplateMapOutput
- type CmdTemplateOutput
- func (o CmdTemplateOutput) CmdList() pulumi.StringOutput
- func (CmdTemplateOutput) ElementType() reflect.Type
- func (o CmdTemplateOutput) Name() pulumi.StringOutput
- func (o CmdTemplateOutput) ToCmdTemplateOutput() CmdTemplateOutput
- func (o CmdTemplateOutput) ToCmdTemplateOutputWithContext(ctx context.Context) CmdTemplateOutput
- type CmdTemplateState
- type Device
- type DeviceAccount
- type DeviceAccountArgs
- type DeviceAccountArray
- type DeviceAccountArrayInput
- type DeviceAccountArrayOutput
- func (DeviceAccountArrayOutput) ElementType() reflect.Type
- func (o DeviceAccountArrayOutput) Index(i pulumi.IntInput) DeviceAccountOutput
- func (o DeviceAccountArrayOutput) ToDeviceAccountArrayOutput() DeviceAccountArrayOutput
- func (o DeviceAccountArrayOutput) ToDeviceAccountArrayOutputWithContext(ctx context.Context) DeviceAccountArrayOutput
- type DeviceAccountInput
- type DeviceAccountMap
- type DeviceAccountMapInput
- type DeviceAccountMapOutput
- func (DeviceAccountMapOutput) ElementType() reflect.Type
- func (o DeviceAccountMapOutput) MapIndex(k pulumi.StringInput) DeviceAccountOutput
- func (o DeviceAccountMapOutput) ToDeviceAccountMapOutput() DeviceAccountMapOutput
- func (o DeviceAccountMapOutput) ToDeviceAccountMapOutputWithContext(ctx context.Context) DeviceAccountMapOutput
- type DeviceAccountOutput
- func (o DeviceAccountOutput) Account() pulumi.StringOutput
- func (o DeviceAccountOutput) DeviceId() pulumi.IntOutput
- func (DeviceAccountOutput) ElementType() reflect.Type
- func (o DeviceAccountOutput) ToDeviceAccountOutput() DeviceAccountOutput
- func (o DeviceAccountOutput) ToDeviceAccountOutputWithContext(ctx context.Context) DeviceAccountOutput
- type DeviceAccountState
- type DeviceArgs
- type DeviceArray
- type DeviceArrayInput
- type DeviceArrayOutput
- type DeviceGroup
- type DeviceGroupArgs
- type DeviceGroupArray
- type DeviceGroupArrayInput
- type DeviceGroupArrayOutput
- func (DeviceGroupArrayOutput) ElementType() reflect.Type
- func (o DeviceGroupArrayOutput) Index(i pulumi.IntInput) DeviceGroupOutput
- func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutput() DeviceGroupArrayOutput
- func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutputWithContext(ctx context.Context) DeviceGroupArrayOutput
- type DeviceGroupInput
- type DeviceGroupMap
- type DeviceGroupMapInput
- type DeviceGroupMapOutput
- func (DeviceGroupMapOutput) ElementType() reflect.Type
- func (o DeviceGroupMapOutput) MapIndex(k pulumi.StringInput) DeviceGroupOutput
- func (o DeviceGroupMapOutput) ToDeviceGroupMapOutput() DeviceGroupMapOutput
- func (o DeviceGroupMapOutput) ToDeviceGroupMapOutputWithContext(ctx context.Context) DeviceGroupMapOutput
- type DeviceGroupMembers
- type DeviceGroupMembersArgs
- type DeviceGroupMembersArray
- type DeviceGroupMembersArrayInput
- type DeviceGroupMembersArrayOutput
- func (DeviceGroupMembersArrayOutput) ElementType() reflect.Type
- func (o DeviceGroupMembersArrayOutput) Index(i pulumi.IntInput) DeviceGroupMembersOutput
- func (o DeviceGroupMembersArrayOutput) ToDeviceGroupMembersArrayOutput() DeviceGroupMembersArrayOutput
- func (o DeviceGroupMembersArrayOutput) ToDeviceGroupMembersArrayOutputWithContext(ctx context.Context) DeviceGroupMembersArrayOutput
- type DeviceGroupMembersInput
- type DeviceGroupMembersMap
- type DeviceGroupMembersMapInput
- type DeviceGroupMembersMapOutput
- func (DeviceGroupMembersMapOutput) ElementType() reflect.Type
- func (o DeviceGroupMembersMapOutput) MapIndex(k pulumi.StringInput) DeviceGroupMembersOutput
- func (o DeviceGroupMembersMapOutput) ToDeviceGroupMembersMapOutput() DeviceGroupMembersMapOutput
- func (o DeviceGroupMembersMapOutput) ToDeviceGroupMembersMapOutputWithContext(ctx context.Context) DeviceGroupMembersMapOutput
- type DeviceGroupMembersOutput
- func (o DeviceGroupMembersOutput) DeviceGroupId() pulumi.IntOutput
- func (DeviceGroupMembersOutput) ElementType() reflect.Type
- func (o DeviceGroupMembersOutput) MemberIdSets() pulumi.IntArrayOutput
- func (o DeviceGroupMembersOutput) ToDeviceGroupMembersOutput() DeviceGroupMembersOutput
- func (o DeviceGroupMembersOutput) ToDeviceGroupMembersOutputWithContext(ctx context.Context) DeviceGroupMembersOutput
- type DeviceGroupMembersState
- type DeviceGroupOutput
- func (o DeviceGroupOutput) DepartmentId() pulumi.StringPtrOutput
- func (DeviceGroupOutput) ElementType() reflect.Type
- func (o DeviceGroupOutput) Name() pulumi.StringOutput
- func (o DeviceGroupOutput) ToDeviceGroupOutput() DeviceGroupOutput
- func (o DeviceGroupOutput) ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput
- type DeviceGroupState
- type DeviceInput
- type DeviceMap
- type DeviceMapInput
- type DeviceMapOutput
- type DeviceOutput
- func (o DeviceOutput) DepartmentId() pulumi.StringPtrOutput
- func (DeviceOutput) ElementType() reflect.Type
- func (o DeviceOutput) Ip() pulumi.StringOutput
- func (o DeviceOutput) IpPortSets() pulumi.StringArrayOutput
- func (o DeviceOutput) Name() pulumi.StringOutput
- func (o DeviceOutput) OsName() pulumi.StringOutput
- func (o DeviceOutput) Port() pulumi.IntOutput
- func (o DeviceOutput) ToDeviceOutput() DeviceOutput
- func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
- type DeviceState
- type ResetUser
- type ResetUserArgs
- type ResetUserArray
- type ResetUserArrayInput
- type ResetUserArrayOutput
- func (ResetUserArrayOutput) ElementType() reflect.Type
- func (o ResetUserArrayOutput) Index(i pulumi.IntInput) ResetUserOutput
- func (o ResetUserArrayOutput) ToResetUserArrayOutput() ResetUserArrayOutput
- func (o ResetUserArrayOutput) ToResetUserArrayOutputWithContext(ctx context.Context) ResetUserArrayOutput
- type ResetUserInput
- type ResetUserMap
- type ResetUserMapInput
- type ResetUserMapOutput
- type ResetUserOutput
- type ResetUserState
- type Resource
- type ResourceArgs
- type ResourceArray
- type ResourceArrayInput
- type ResourceArrayOutput
- type ResourceInput
- type ResourceMap
- type ResourceMapInput
- type ResourceMapOutput
- type ResourceOutput
- func (o ResourceOutput) AutoRenewFlag() pulumi.IntOutput
- func (o ResourceOutput) CidrBlock() pulumi.StringOutput
- func (o ResourceOutput) DeployRegion() pulumi.StringOutput
- func (o ResourceOutput) DeployZone() pulumi.StringOutput
- func (ResourceOutput) ElementType() reflect.Type
- func (o ResourceOutput) PackageBandwidth() pulumi.IntOutput
- func (o ResourceOutput) ResourceEdition() pulumi.StringOutput
- func (o ResourceOutput) ResourceNode() pulumi.IntOutput
- func (o ResourceOutput) SubnetId() pulumi.StringOutput
- func (o ResourceOutput) TimeSpan() pulumi.IntPtrOutput
- func (o ResourceOutput) TimeUnit() pulumi.StringPtrOutput
- func (o ResourceOutput) ToResourceOutput() ResourceOutput
- func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
- func (o ResourceOutput) VpcCidrBlock() pulumi.StringOutput
- func (o ResourceOutput) VpcId() pulumi.StringOutput
- type ResourceState
- type User
- type UserArgs
- type UserArray
- type UserArrayInput
- type UserArrayOutput
- 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 UserGroupMembers
- type UserGroupMembersArgs
- type UserGroupMembersArray
- type UserGroupMembersArrayInput
- type UserGroupMembersArrayOutput
- func (UserGroupMembersArrayOutput) ElementType() reflect.Type
- func (o UserGroupMembersArrayOutput) Index(i pulumi.IntInput) UserGroupMembersOutput
- func (o UserGroupMembersArrayOutput) ToUserGroupMembersArrayOutput() UserGroupMembersArrayOutput
- func (o UserGroupMembersArrayOutput) ToUserGroupMembersArrayOutputWithContext(ctx context.Context) UserGroupMembersArrayOutput
- type UserGroupMembersInput
- type UserGroupMembersMap
- type UserGroupMembersMapInput
- type UserGroupMembersMapOutput
- func (UserGroupMembersMapOutput) ElementType() reflect.Type
- func (o UserGroupMembersMapOutput) MapIndex(k pulumi.StringInput) UserGroupMembersOutput
- func (o UserGroupMembersMapOutput) ToUserGroupMembersMapOutput() UserGroupMembersMapOutput
- func (o UserGroupMembersMapOutput) ToUserGroupMembersMapOutputWithContext(ctx context.Context) UserGroupMembersMapOutput
- type UserGroupMembersOutput
- func (UserGroupMembersOutput) ElementType() reflect.Type
- func (o UserGroupMembersOutput) MemberIdSets() pulumi.IntArrayOutput
- func (o UserGroupMembersOutput) ToUserGroupMembersOutput() UserGroupMembersOutput
- func (o UserGroupMembersOutput) ToUserGroupMembersOutputWithContext(ctx context.Context) UserGroupMembersOutput
- func (o UserGroupMembersOutput) UserGroupId() pulumi.IntOutput
- type UserGroupMembersState
- type UserGroupOutput
- func (o UserGroupOutput) DepartmentId() pulumi.StringPtrOutput
- func (UserGroupOutput) ElementType() reflect.Type
- func (o UserGroupOutput) Name() pulumi.StringOutput
- func (o UserGroupOutput) ToUserGroupOutput() UserGroupOutput
- func (o UserGroupOutput) ToUserGroupOutputWithContext(ctx context.Context) UserGroupOutput
- type UserGroupState
- type UserInput
- type UserMap
- type UserMapInput
- type UserMapOutput
- type UserOutput
- func (o UserOutput) AuthType() pulumi.IntPtrOutput
- func (o UserOutput) DepartmentId() pulumi.StringPtrOutput
- func (UserOutput) ElementType() reflect.Type
- func (o UserOutput) Email() pulumi.StringPtrOutput
- func (o UserOutput) GroupIdSets() pulumi.IntArrayOutput
- func (o UserOutput) Phone() pulumi.StringPtrOutput
- func (o UserOutput) RealName() pulumi.StringOutput
- func (o UserOutput) ToUserOutput() UserOutput
- func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
- func (o UserOutput) UserName() pulumi.StringOutput
- func (o UserOutput) ValidateFrom() pulumi.StringOutput
- func (o UserOutput) ValidateTime() pulumi.StringPtrOutput
- func (o UserOutput) ValidateTo() pulumi.StringOutput
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acl ¶
type Acl struct { pulumi.CustomResourceState // Associate high-risk DB template IDs. AcTemplateIdSets pulumi.StringArrayOutput `pulumi:"acTemplateIdSets"` // Associated accounts. AccountSets pulumi.StringArrayOutput `pulumi:"accountSets"` // Allow access credential,default allow. AllowAccessCredential pulumi.BoolPtrOutput `pulumi:"allowAccessCredential"` // Allow any account. AllowAnyAccount pulumi.BoolOutput `pulumi:"allowAnyAccount"` // Allow clip file down. AllowClipFileDown pulumi.BoolPtrOutput `pulumi:"allowClipFileDown"` // Allow clip file up. AllowClipFileUp pulumi.BoolPtrOutput `pulumi:"allowClipFileUp"` // Allow clip text down. AllowClipTextDown pulumi.BoolPtrOutput `pulumi:"allowClipTextDown"` // Allow clip text up. AllowClipTextUp pulumi.BoolPtrOutput `pulumi:"allowClipTextUp"` // Allow disk file download. AllowDiskFileDown pulumi.BoolPtrOutput `pulumi:"allowDiskFileDown"` // Allow disk file upload. AllowDiskFileUp pulumi.BoolPtrOutput `pulumi:"allowDiskFileUp"` // Allow disk redirect. AllowDiskRedirect pulumi.BoolOutput `pulumi:"allowDiskRedirect"` // Allow sftp file delete. AllowFileDel pulumi.BoolPtrOutput `pulumi:"allowFileDel"` // Allow sftp file download. AllowFileDown pulumi.BoolPtrOutput `pulumi:"allowFileDown"` // Allow sftp up file. AllowFileUp pulumi.BoolPtrOutput `pulumi:"allowFileUp"` // Allow shell file download. AllowShellFileDown pulumi.BoolPtrOutput `pulumi:"allowShellFileDown"` // Allow shell file upload. AllowShellFileUp pulumi.BoolPtrOutput `pulumi:"allowShellFileUp"` // Associated high-risk command template ID. CmdTemplateIdSets pulumi.IntArrayOutput `pulumi:"cmdTemplateIdSets"` // Department id. DepartmentId pulumi.StringPtrOutput `pulumi:"departmentId"` // Associated device group ID. DeviceGroupIdSets pulumi.IntArrayOutput `pulumi:"deviceGroupIdSets"` // Associated collection of device IDs. DeviceIdSets pulumi.IntArrayOutput `pulumi:"deviceIdSets"` // File transfer download size limit (reserved parameter, currently unused). MaxFileDownSize pulumi.IntPtrOutput `pulumi:"maxFileDownSize"` // File upload transfer size limit (artifact parameter, currently unused). MaxFileUpSize pulumi.IntPtrOutput `pulumi:"maxFileUpSize"` // Acl name. Name pulumi.StringOutput `pulumi:"name"` // Associated user group ID. UserGroupIdSets pulumi.IntArrayOutput `pulumi:"userGroupIdSets"` // Associated set of user IDs. UserIdSets pulumi.IntArrayOutput `pulumi:"userIdSets"` // Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time. ValidateFrom pulumi.StringOutput `pulumi:"validateFrom"` // Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time. ValidateTo pulumi.StringOutput `pulumi:"validateTo"` }
Provides a resource to create a dasb acl
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleUser, err := Dasb.NewUser(ctx, "exampleUser", &Dasb.UserArgs{ UserName: pulumi.String("tf_example"), RealName: pulumi.String("terraform"), Phone: pulumi.String("+86|18345678782"), Email: pulumi.String("demo@tencent.com"), AuthType: pulumi.Int(0), }) if err != nil { return err } exampleUserGroup, err := Dasb.NewUserGroup(ctx, "exampleUserGroup", nil) if err != nil { return err } exampleDevice, err := Dasb.NewDevice(ctx, "exampleDevice", &Dasb.DeviceArgs{ OsName: pulumi.String("Linux"), Ip: pulumi.String("192.168.0.1"), Port: pulumi.Int(80), }) if err != nil { return err } exampleDeviceGroup, err := Dasb.NewDeviceGroup(ctx, "exampleDeviceGroup", nil) if err != nil { return err } exampleDeviceAccount, err := Dasb.NewDeviceAccount(ctx, "exampleDeviceAccount", &Dasb.DeviceAccountArgs{ DeviceId: exampleDevice.ID(), Account: pulumi.String("root"), }) if err != nil { return err } exampleCmdTemplate, err := Dasb.NewCmdTemplate(ctx, "exampleCmdTemplate", &Dasb.CmdTemplateArgs{ CmdList: pulumi.String("rm -rf*"), }) if err != nil { return err } _, err = Dasb.NewAcl(ctx, "exampleAcl", &Dasb.AclArgs{ AllowDiskRedirect: pulumi.Bool(true), AllowAnyAccount: pulumi.Bool(false), AllowClipFileUp: pulumi.Bool(true), AllowClipFileDown: pulumi.Bool(true), AllowClipTextUp: pulumi.Bool(true), AllowClipTextDown: pulumi.Bool(true), AllowFileUp: pulumi.Bool(true), AllowFileDown: pulumi.Bool(true), MaxFileUpSize: pulumi.Int(0), MaxFileDownSize: pulumi.Int(0), UserIdSets: pulumi.IntArray{ exampleUser.ID(), }, UserGroupIdSets: pulumi.IntArray{ exampleUserGroup.ID(), }, DeviceIdSets: pulumi.IntArray{ exampleDevice.ID(), }, DeviceGroupIdSets: pulumi.IntArray{ exampleDeviceGroup.ID(), }, AccountSets: pulumi.StringArray{ exampleDeviceAccount.ID(), }, CmdTemplateIdSets: pulumi.IntArray{ exampleCmdTemplate.ID(), }, AcTemplateIdSets: pulumi.StringArray{}, AllowDiskFileUp: pulumi.Bool(true), AllowDiskFileDown: pulumi.Bool(true), AllowShellFileUp: pulumi.Bool(true), AllowShellFileDown: pulumi.Bool(true), AllowFileDel: pulumi.Bool(true), AllowAccessCredential: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb acl can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/acl:Acl example 132 ```
func GetAcl ¶
func GetAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)
GetAcl gets an existing Acl 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 NewAcl ¶
func NewAcl(ctx *pulumi.Context, name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)
NewAcl registers a new resource with the given unique name, arguments, and options.
func (*Acl) ElementType ¶
func (*Acl) ToAclOutput ¶
type AclArgs ¶
type AclArgs struct { // Associate high-risk DB template IDs. AcTemplateIdSets pulumi.StringArrayInput // Associated accounts. AccountSets pulumi.StringArrayInput // Allow access credential,default allow. AllowAccessCredential pulumi.BoolPtrInput // Allow any account. AllowAnyAccount pulumi.BoolInput // Allow clip file down. AllowClipFileDown pulumi.BoolPtrInput // Allow clip file up. AllowClipFileUp pulumi.BoolPtrInput // Allow clip text down. AllowClipTextDown pulumi.BoolPtrInput // Allow clip text up. AllowClipTextUp pulumi.BoolPtrInput // Allow disk file download. AllowDiskFileDown pulumi.BoolPtrInput // Allow disk file upload. AllowDiskFileUp pulumi.BoolPtrInput // Allow disk redirect. AllowDiskRedirect pulumi.BoolInput // Allow sftp file delete. AllowFileDel pulumi.BoolPtrInput // Allow sftp file download. AllowFileDown pulumi.BoolPtrInput // Allow sftp up file. AllowFileUp pulumi.BoolPtrInput // Allow shell file download. AllowShellFileDown pulumi.BoolPtrInput // Allow shell file upload. AllowShellFileUp pulumi.BoolPtrInput // Associated high-risk command template ID. CmdTemplateIdSets pulumi.IntArrayInput // Department id. DepartmentId pulumi.StringPtrInput // Associated device group ID. DeviceGroupIdSets pulumi.IntArrayInput // Associated collection of device IDs. DeviceIdSets pulumi.IntArrayInput // File transfer download size limit (reserved parameter, currently unused). MaxFileDownSize pulumi.IntPtrInput // File upload transfer size limit (artifact parameter, currently unused). MaxFileUpSize pulumi.IntPtrInput // Acl name. Name pulumi.StringPtrInput // Associated user group ID. UserGroupIdSets pulumi.IntArrayInput // Associated set of user IDs. UserIdSets pulumi.IntArrayInput // Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time. ValidateFrom pulumi.StringPtrInput // Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time. ValidateTo pulumi.StringPtrInput }
The set of arguments for constructing a Acl resource.
func (AclArgs) ElementType ¶
type AclArray ¶
type AclArray []AclInput
func (AclArray) ElementType ¶
func (AclArray) ToAclArrayOutput ¶
func (i AclArray) ToAclArrayOutput() AclArrayOutput
func (AclArray) ToAclArrayOutputWithContext ¶
func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclArrayInput ¶
type AclArrayInput interface { pulumi.Input ToAclArrayOutput() AclArrayOutput ToAclArrayOutputWithContext(context.Context) AclArrayOutput }
AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:
AclArray{ AclArgs{...} }
type AclArrayOutput ¶
type AclArrayOutput struct{ *pulumi.OutputState }
func (AclArrayOutput) ElementType ¶
func (AclArrayOutput) ElementType() reflect.Type
func (AclArrayOutput) ToAclArrayOutput ¶
func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput
func (AclArrayOutput) ToAclArrayOutputWithContext ¶
func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclMap ¶
func (AclMap) ElementType ¶
func (AclMap) ToAclMapOutput ¶
func (i AclMap) ToAclMapOutput() AclMapOutput
func (AclMap) ToAclMapOutputWithContext ¶
func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclMapInput ¶
type AclMapInput interface { pulumi.Input ToAclMapOutput() AclMapOutput ToAclMapOutputWithContext(context.Context) AclMapOutput }
AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:
AclMap{ "key": AclArgs{...} }
type AclMapOutput ¶
type AclMapOutput struct{ *pulumi.OutputState }
func (AclMapOutput) ElementType ¶
func (AclMapOutput) ElementType() reflect.Type
func (AclMapOutput) MapIndex ¶
func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput
func (AclMapOutput) ToAclMapOutput ¶
func (o AclMapOutput) ToAclMapOutput() AclMapOutput
func (AclMapOutput) ToAclMapOutputWithContext ¶
func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclOutput ¶
type AclOutput struct{ *pulumi.OutputState }
func (AclOutput) AcTemplateIdSets ¶
func (o AclOutput) AcTemplateIdSets() pulumi.StringArrayOutput
Associate high-risk DB template IDs.
func (AclOutput) AccountSets ¶
func (o AclOutput) AccountSets() pulumi.StringArrayOutput
Associated accounts.
func (AclOutput) AllowAccessCredential ¶
func (o AclOutput) AllowAccessCredential() pulumi.BoolPtrOutput
Allow access credential,default allow.
func (AclOutput) AllowAnyAccount ¶
func (o AclOutput) AllowAnyAccount() pulumi.BoolOutput
Allow any account.
func (AclOutput) AllowClipFileDown ¶
func (o AclOutput) AllowClipFileDown() pulumi.BoolPtrOutput
Allow clip file down.
func (AclOutput) AllowClipFileUp ¶
func (o AclOutput) AllowClipFileUp() pulumi.BoolPtrOutput
Allow clip file up.
func (AclOutput) AllowClipTextDown ¶
func (o AclOutput) AllowClipTextDown() pulumi.BoolPtrOutput
Allow clip text down.
func (AclOutput) AllowClipTextUp ¶
func (o AclOutput) AllowClipTextUp() pulumi.BoolPtrOutput
Allow clip text up.
func (AclOutput) AllowDiskFileDown ¶
func (o AclOutput) AllowDiskFileDown() pulumi.BoolPtrOutput
Allow disk file download.
func (AclOutput) AllowDiskFileUp ¶
func (o AclOutput) AllowDiskFileUp() pulumi.BoolPtrOutput
Allow disk file upload.
func (AclOutput) AllowDiskRedirect ¶
func (o AclOutput) AllowDiskRedirect() pulumi.BoolOutput
Allow disk redirect.
func (AclOutput) AllowFileDel ¶
func (o AclOutput) AllowFileDel() pulumi.BoolPtrOutput
Allow sftp file delete.
func (AclOutput) AllowFileDown ¶
func (o AclOutput) AllowFileDown() pulumi.BoolPtrOutput
Allow sftp file download.
func (AclOutput) AllowFileUp ¶
func (o AclOutput) AllowFileUp() pulumi.BoolPtrOutput
Allow sftp up file.
func (AclOutput) AllowShellFileDown ¶
func (o AclOutput) AllowShellFileDown() pulumi.BoolPtrOutput
Allow shell file download.
func (AclOutput) AllowShellFileUp ¶
func (o AclOutput) AllowShellFileUp() pulumi.BoolPtrOutput
Allow shell file upload.
func (AclOutput) CmdTemplateIdSets ¶
func (o AclOutput) CmdTemplateIdSets() pulumi.IntArrayOutput
Associated high-risk command template ID.
func (AclOutput) DepartmentId ¶
func (o AclOutput) DepartmentId() pulumi.StringPtrOutput
Department id.
func (AclOutput) DeviceGroupIdSets ¶
func (o AclOutput) DeviceGroupIdSets() pulumi.IntArrayOutput
Associated device group ID.
func (AclOutput) DeviceIdSets ¶
func (o AclOutput) DeviceIdSets() pulumi.IntArrayOutput
Associated collection of device IDs.
func (AclOutput) ElementType ¶
func (AclOutput) MaxFileDownSize ¶
func (o AclOutput) MaxFileDownSize() pulumi.IntPtrOutput
File transfer download size limit (reserved parameter, currently unused).
func (AclOutput) MaxFileUpSize ¶
func (o AclOutput) MaxFileUpSize() pulumi.IntPtrOutput
File upload transfer size limit (artifact parameter, currently unused).
func (AclOutput) ToAclOutput ¶
func (AclOutput) ToAclOutputWithContext ¶
func (AclOutput) UserGroupIdSets ¶
func (o AclOutput) UserGroupIdSets() pulumi.IntArrayOutput
Associated user group ID.
func (AclOutput) UserIdSets ¶
func (o AclOutput) UserIdSets() pulumi.IntArrayOutput
Associated set of user IDs.
func (AclOutput) ValidateFrom ¶
func (o AclOutput) ValidateFrom() pulumi.StringOutput
Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
func (AclOutput) ValidateTo ¶
func (o AclOutput) ValidateTo() pulumi.StringOutput
Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time.
type AclState ¶
type AclState struct { // Associate high-risk DB template IDs. AcTemplateIdSets pulumi.StringArrayInput // Associated accounts. AccountSets pulumi.StringArrayInput // Allow access credential,default allow. AllowAccessCredential pulumi.BoolPtrInput // Allow any account. AllowAnyAccount pulumi.BoolPtrInput // Allow clip file down. AllowClipFileDown pulumi.BoolPtrInput // Allow clip file up. AllowClipFileUp pulumi.BoolPtrInput // Allow clip text down. AllowClipTextDown pulumi.BoolPtrInput // Allow clip text up. AllowClipTextUp pulumi.BoolPtrInput // Allow disk file download. AllowDiskFileDown pulumi.BoolPtrInput // Allow disk file upload. AllowDiskFileUp pulumi.BoolPtrInput // Allow disk redirect. AllowDiskRedirect pulumi.BoolPtrInput // Allow sftp file delete. AllowFileDel pulumi.BoolPtrInput // Allow sftp file download. AllowFileDown pulumi.BoolPtrInput // Allow sftp up file. AllowFileUp pulumi.BoolPtrInput // Allow shell file download. AllowShellFileDown pulumi.BoolPtrInput // Allow shell file upload. AllowShellFileUp pulumi.BoolPtrInput // Associated high-risk command template ID. CmdTemplateIdSets pulumi.IntArrayInput // Department id. DepartmentId pulumi.StringPtrInput // Associated device group ID. DeviceGroupIdSets pulumi.IntArrayInput // Associated collection of device IDs. DeviceIdSets pulumi.IntArrayInput // File transfer download size limit (reserved parameter, currently unused). MaxFileDownSize pulumi.IntPtrInput // File upload transfer size limit (artifact parameter, currently unused). MaxFileUpSize pulumi.IntPtrInput // Acl name. Name pulumi.StringPtrInput // Associated user group ID. UserGroupIdSets pulumi.IntArrayInput // Associated set of user IDs. UserIdSets pulumi.IntArrayInput // Access permission effective time, such as: 2021-09-22T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time. ValidateFrom pulumi.StringPtrInput // Access permission expiration time, such as: 2021-09-23T00:00:00+08:00If the effective and expiry time are not filled in, the access rights will be valid for a long time. ValidateTo pulumi.StringPtrInput }
func (AclState) ElementType ¶
type BindDeviceAccountPassword ¶
type BindDeviceAccountPassword struct { pulumi.CustomResourceState // Host account ID. DeviceAccountId pulumi.IntOutput `pulumi:"deviceAccountId"` // Host account password. Password pulumi.StringOutput `pulumi:"password"` }
Provides a resource to create a dasb bindDeviceAccountPassword
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleDevice, err := Dasb.NewDevice(ctx, "exampleDevice", &Dasb.DeviceArgs{ OsName: pulumi.String("Linux"), Ip: pulumi.String("192.168.0.1"), Port: pulumi.Int(80), }) if err != nil { return err } exampleDeviceAccount, err := Dasb.NewDeviceAccount(ctx, "exampleDeviceAccount", &Dasb.DeviceAccountArgs{ DeviceId: exampleDevice.ID(), Account: pulumi.String("root"), }) if err != nil { return err } _, err = Dasb.NewBindDeviceAccountPassword(ctx, "exampleBindDeviceAccountPassword", &Dasb.BindDeviceAccountPasswordArgs{ DeviceAccountId: exampleDeviceAccount.ID(), Password: pulumi.String("TerraformPassword"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetBindDeviceAccountPassword ¶
func GetBindDeviceAccountPassword(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BindDeviceAccountPasswordState, opts ...pulumi.ResourceOption) (*BindDeviceAccountPassword, error)
GetBindDeviceAccountPassword gets an existing BindDeviceAccountPassword 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 NewBindDeviceAccountPassword ¶
func NewBindDeviceAccountPassword(ctx *pulumi.Context, name string, args *BindDeviceAccountPasswordArgs, opts ...pulumi.ResourceOption) (*BindDeviceAccountPassword, error)
NewBindDeviceAccountPassword registers a new resource with the given unique name, arguments, and options.
func (*BindDeviceAccountPassword) ElementType ¶
func (*BindDeviceAccountPassword) ElementType() reflect.Type
func (*BindDeviceAccountPassword) ToBindDeviceAccountPasswordOutput ¶
func (i *BindDeviceAccountPassword) ToBindDeviceAccountPasswordOutput() BindDeviceAccountPasswordOutput
func (*BindDeviceAccountPassword) ToBindDeviceAccountPasswordOutputWithContext ¶
func (i *BindDeviceAccountPassword) ToBindDeviceAccountPasswordOutputWithContext(ctx context.Context) BindDeviceAccountPasswordOutput
type BindDeviceAccountPasswordArgs ¶
type BindDeviceAccountPasswordArgs struct { // Host account ID. DeviceAccountId pulumi.IntInput // Host account password. Password pulumi.StringInput }
The set of arguments for constructing a BindDeviceAccountPassword resource.
func (BindDeviceAccountPasswordArgs) ElementType ¶
func (BindDeviceAccountPasswordArgs) ElementType() reflect.Type
type BindDeviceAccountPasswordArray ¶
type BindDeviceAccountPasswordArray []BindDeviceAccountPasswordInput
func (BindDeviceAccountPasswordArray) ElementType ¶
func (BindDeviceAccountPasswordArray) ElementType() reflect.Type
func (BindDeviceAccountPasswordArray) ToBindDeviceAccountPasswordArrayOutput ¶
func (i BindDeviceAccountPasswordArray) ToBindDeviceAccountPasswordArrayOutput() BindDeviceAccountPasswordArrayOutput
func (BindDeviceAccountPasswordArray) ToBindDeviceAccountPasswordArrayOutputWithContext ¶
func (i BindDeviceAccountPasswordArray) ToBindDeviceAccountPasswordArrayOutputWithContext(ctx context.Context) BindDeviceAccountPasswordArrayOutput
type BindDeviceAccountPasswordArrayInput ¶
type BindDeviceAccountPasswordArrayInput interface { pulumi.Input ToBindDeviceAccountPasswordArrayOutput() BindDeviceAccountPasswordArrayOutput ToBindDeviceAccountPasswordArrayOutputWithContext(context.Context) BindDeviceAccountPasswordArrayOutput }
BindDeviceAccountPasswordArrayInput is an input type that accepts BindDeviceAccountPasswordArray and BindDeviceAccountPasswordArrayOutput values. You can construct a concrete instance of `BindDeviceAccountPasswordArrayInput` via:
BindDeviceAccountPasswordArray{ BindDeviceAccountPasswordArgs{...} }
type BindDeviceAccountPasswordArrayOutput ¶
type BindDeviceAccountPasswordArrayOutput struct{ *pulumi.OutputState }
func (BindDeviceAccountPasswordArrayOutput) ElementType ¶
func (BindDeviceAccountPasswordArrayOutput) ElementType() reflect.Type
func (BindDeviceAccountPasswordArrayOutput) Index ¶
func (o BindDeviceAccountPasswordArrayOutput) Index(i pulumi.IntInput) BindDeviceAccountPasswordOutput
func (BindDeviceAccountPasswordArrayOutput) ToBindDeviceAccountPasswordArrayOutput ¶
func (o BindDeviceAccountPasswordArrayOutput) ToBindDeviceAccountPasswordArrayOutput() BindDeviceAccountPasswordArrayOutput
func (BindDeviceAccountPasswordArrayOutput) ToBindDeviceAccountPasswordArrayOutputWithContext ¶
func (o BindDeviceAccountPasswordArrayOutput) ToBindDeviceAccountPasswordArrayOutputWithContext(ctx context.Context) BindDeviceAccountPasswordArrayOutput
type BindDeviceAccountPasswordInput ¶
type BindDeviceAccountPasswordInput interface { pulumi.Input ToBindDeviceAccountPasswordOutput() BindDeviceAccountPasswordOutput ToBindDeviceAccountPasswordOutputWithContext(ctx context.Context) BindDeviceAccountPasswordOutput }
type BindDeviceAccountPasswordMap ¶
type BindDeviceAccountPasswordMap map[string]BindDeviceAccountPasswordInput
func (BindDeviceAccountPasswordMap) ElementType ¶
func (BindDeviceAccountPasswordMap) ElementType() reflect.Type
func (BindDeviceAccountPasswordMap) ToBindDeviceAccountPasswordMapOutput ¶
func (i BindDeviceAccountPasswordMap) ToBindDeviceAccountPasswordMapOutput() BindDeviceAccountPasswordMapOutput
func (BindDeviceAccountPasswordMap) ToBindDeviceAccountPasswordMapOutputWithContext ¶
func (i BindDeviceAccountPasswordMap) ToBindDeviceAccountPasswordMapOutputWithContext(ctx context.Context) BindDeviceAccountPasswordMapOutput
type BindDeviceAccountPasswordMapInput ¶
type BindDeviceAccountPasswordMapInput interface { pulumi.Input ToBindDeviceAccountPasswordMapOutput() BindDeviceAccountPasswordMapOutput ToBindDeviceAccountPasswordMapOutputWithContext(context.Context) BindDeviceAccountPasswordMapOutput }
BindDeviceAccountPasswordMapInput is an input type that accepts BindDeviceAccountPasswordMap and BindDeviceAccountPasswordMapOutput values. You can construct a concrete instance of `BindDeviceAccountPasswordMapInput` via:
BindDeviceAccountPasswordMap{ "key": BindDeviceAccountPasswordArgs{...} }
type BindDeviceAccountPasswordMapOutput ¶
type BindDeviceAccountPasswordMapOutput struct{ *pulumi.OutputState }
func (BindDeviceAccountPasswordMapOutput) ElementType ¶
func (BindDeviceAccountPasswordMapOutput) ElementType() reflect.Type
func (BindDeviceAccountPasswordMapOutput) MapIndex ¶
func (o BindDeviceAccountPasswordMapOutput) MapIndex(k pulumi.StringInput) BindDeviceAccountPasswordOutput
func (BindDeviceAccountPasswordMapOutput) ToBindDeviceAccountPasswordMapOutput ¶
func (o BindDeviceAccountPasswordMapOutput) ToBindDeviceAccountPasswordMapOutput() BindDeviceAccountPasswordMapOutput
func (BindDeviceAccountPasswordMapOutput) ToBindDeviceAccountPasswordMapOutputWithContext ¶
func (o BindDeviceAccountPasswordMapOutput) ToBindDeviceAccountPasswordMapOutputWithContext(ctx context.Context) BindDeviceAccountPasswordMapOutput
type BindDeviceAccountPasswordOutput ¶
type BindDeviceAccountPasswordOutput struct{ *pulumi.OutputState }
func (BindDeviceAccountPasswordOutput) DeviceAccountId ¶
func (o BindDeviceAccountPasswordOutput) DeviceAccountId() pulumi.IntOutput
Host account ID.
func (BindDeviceAccountPasswordOutput) ElementType ¶
func (BindDeviceAccountPasswordOutput) ElementType() reflect.Type
func (BindDeviceAccountPasswordOutput) Password ¶
func (o BindDeviceAccountPasswordOutput) Password() pulumi.StringOutput
Host account password.
func (BindDeviceAccountPasswordOutput) ToBindDeviceAccountPasswordOutput ¶
func (o BindDeviceAccountPasswordOutput) ToBindDeviceAccountPasswordOutput() BindDeviceAccountPasswordOutput
func (BindDeviceAccountPasswordOutput) ToBindDeviceAccountPasswordOutputWithContext ¶
func (o BindDeviceAccountPasswordOutput) ToBindDeviceAccountPasswordOutputWithContext(ctx context.Context) BindDeviceAccountPasswordOutput
type BindDeviceAccountPasswordState ¶
type BindDeviceAccountPasswordState struct { // Host account ID. DeviceAccountId pulumi.IntPtrInput // Host account password. Password pulumi.StringPtrInput }
func (BindDeviceAccountPasswordState) ElementType ¶
func (BindDeviceAccountPasswordState) ElementType() reflect.Type
type BindDeviceAccountPrivateKey ¶
type BindDeviceAccountPrivateKey struct { pulumi.CustomResourceState // Host account ID. DeviceAccountId pulumi.IntOutput `pulumi:"deviceAccountId"` // Host account private key, the latest length is 128 bytes, the maximum length is 8192 bytes. PrivateKey pulumi.StringOutput `pulumi:"privateKey"` // Host account private key password, maximum length 256 bytes. PrivateKeyPassword pulumi.StringPtrOutput `pulumi:"privateKeyPassword"` }
Provides a resource to create a dasb bindDeviceAccountPrivateKey
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleDevice, err := Dasb.NewDevice(ctx, "exampleDevice", &Dasb.DeviceArgs{ OsName: pulumi.String("Linux"), Ip: pulumi.String("192.168.0.1"), Port: pulumi.Int(80), }) if err != nil { return err } exampleDeviceAccount, err := Dasb.NewDeviceAccount(ctx, "exampleDeviceAccount", &Dasb.DeviceAccountArgs{ DeviceId: exampleDevice.ID(), Account: pulumi.String("root"), }) if err != nil { return err } _, err = Dasb.NewBindDeviceAccountPrivateKey(ctx, "exampleBindDeviceAccountPrivateKey", &Dasb.BindDeviceAccountPrivateKeyArgs{ DeviceAccountId: exampleDeviceAccount.ID(), PrivateKey: pulumi.String("MIICXAIBAAKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe4eCZ0FPqri0cb2JZfXJ/DgYSF6vUpwmJG8wVQZKjeGcjDOL5UlsuusFncCzWBQ7RKNUSesmQRMSGkVb1/3j+skZ6UtW+5u09lHNsj6tQ51s1SPrCBkedbNf0Tp0GbMJDyR4e9T04ZZwIDAQABAoGAFijko56+qGyN8M0RVyaRAXz++xTqHBLh"), PrivateKeyPassword: pulumi.String("TerraformPassword"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetBindDeviceAccountPrivateKey ¶
func GetBindDeviceAccountPrivateKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BindDeviceAccountPrivateKeyState, opts ...pulumi.ResourceOption) (*BindDeviceAccountPrivateKey, error)
GetBindDeviceAccountPrivateKey gets an existing BindDeviceAccountPrivateKey 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 NewBindDeviceAccountPrivateKey ¶
func NewBindDeviceAccountPrivateKey(ctx *pulumi.Context, name string, args *BindDeviceAccountPrivateKeyArgs, opts ...pulumi.ResourceOption) (*BindDeviceAccountPrivateKey, error)
NewBindDeviceAccountPrivateKey registers a new resource with the given unique name, arguments, and options.
func (*BindDeviceAccountPrivateKey) ElementType ¶
func (*BindDeviceAccountPrivateKey) ElementType() reflect.Type
func (*BindDeviceAccountPrivateKey) ToBindDeviceAccountPrivateKeyOutput ¶
func (i *BindDeviceAccountPrivateKey) ToBindDeviceAccountPrivateKeyOutput() BindDeviceAccountPrivateKeyOutput
func (*BindDeviceAccountPrivateKey) ToBindDeviceAccountPrivateKeyOutputWithContext ¶
func (i *BindDeviceAccountPrivateKey) ToBindDeviceAccountPrivateKeyOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyOutput
type BindDeviceAccountPrivateKeyArgs ¶
type BindDeviceAccountPrivateKeyArgs struct { // Host account ID. DeviceAccountId pulumi.IntInput // Host account private key, the latest length is 128 bytes, the maximum length is 8192 bytes. PrivateKey pulumi.StringInput // Host account private key password, maximum length 256 bytes. PrivateKeyPassword pulumi.StringPtrInput }
The set of arguments for constructing a BindDeviceAccountPrivateKey resource.
func (BindDeviceAccountPrivateKeyArgs) ElementType ¶
func (BindDeviceAccountPrivateKeyArgs) ElementType() reflect.Type
type BindDeviceAccountPrivateKeyArray ¶
type BindDeviceAccountPrivateKeyArray []BindDeviceAccountPrivateKeyInput
func (BindDeviceAccountPrivateKeyArray) ElementType ¶
func (BindDeviceAccountPrivateKeyArray) ElementType() reflect.Type
func (BindDeviceAccountPrivateKeyArray) ToBindDeviceAccountPrivateKeyArrayOutput ¶
func (i BindDeviceAccountPrivateKeyArray) ToBindDeviceAccountPrivateKeyArrayOutput() BindDeviceAccountPrivateKeyArrayOutput
func (BindDeviceAccountPrivateKeyArray) ToBindDeviceAccountPrivateKeyArrayOutputWithContext ¶
func (i BindDeviceAccountPrivateKeyArray) ToBindDeviceAccountPrivateKeyArrayOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyArrayOutput
type BindDeviceAccountPrivateKeyArrayInput ¶
type BindDeviceAccountPrivateKeyArrayInput interface { pulumi.Input ToBindDeviceAccountPrivateKeyArrayOutput() BindDeviceAccountPrivateKeyArrayOutput ToBindDeviceAccountPrivateKeyArrayOutputWithContext(context.Context) BindDeviceAccountPrivateKeyArrayOutput }
BindDeviceAccountPrivateKeyArrayInput is an input type that accepts BindDeviceAccountPrivateKeyArray and BindDeviceAccountPrivateKeyArrayOutput values. You can construct a concrete instance of `BindDeviceAccountPrivateKeyArrayInput` via:
BindDeviceAccountPrivateKeyArray{ BindDeviceAccountPrivateKeyArgs{...} }
type BindDeviceAccountPrivateKeyArrayOutput ¶
type BindDeviceAccountPrivateKeyArrayOutput struct{ *pulumi.OutputState }
func (BindDeviceAccountPrivateKeyArrayOutput) ElementType ¶
func (BindDeviceAccountPrivateKeyArrayOutput) ElementType() reflect.Type
func (BindDeviceAccountPrivateKeyArrayOutput) ToBindDeviceAccountPrivateKeyArrayOutput ¶
func (o BindDeviceAccountPrivateKeyArrayOutput) ToBindDeviceAccountPrivateKeyArrayOutput() BindDeviceAccountPrivateKeyArrayOutput
func (BindDeviceAccountPrivateKeyArrayOutput) ToBindDeviceAccountPrivateKeyArrayOutputWithContext ¶
func (o BindDeviceAccountPrivateKeyArrayOutput) ToBindDeviceAccountPrivateKeyArrayOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyArrayOutput
type BindDeviceAccountPrivateKeyInput ¶
type BindDeviceAccountPrivateKeyInput interface { pulumi.Input ToBindDeviceAccountPrivateKeyOutput() BindDeviceAccountPrivateKeyOutput ToBindDeviceAccountPrivateKeyOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyOutput }
type BindDeviceAccountPrivateKeyMap ¶
type BindDeviceAccountPrivateKeyMap map[string]BindDeviceAccountPrivateKeyInput
func (BindDeviceAccountPrivateKeyMap) ElementType ¶
func (BindDeviceAccountPrivateKeyMap) ElementType() reflect.Type
func (BindDeviceAccountPrivateKeyMap) ToBindDeviceAccountPrivateKeyMapOutput ¶
func (i BindDeviceAccountPrivateKeyMap) ToBindDeviceAccountPrivateKeyMapOutput() BindDeviceAccountPrivateKeyMapOutput
func (BindDeviceAccountPrivateKeyMap) ToBindDeviceAccountPrivateKeyMapOutputWithContext ¶
func (i BindDeviceAccountPrivateKeyMap) ToBindDeviceAccountPrivateKeyMapOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyMapOutput
type BindDeviceAccountPrivateKeyMapInput ¶
type BindDeviceAccountPrivateKeyMapInput interface { pulumi.Input ToBindDeviceAccountPrivateKeyMapOutput() BindDeviceAccountPrivateKeyMapOutput ToBindDeviceAccountPrivateKeyMapOutputWithContext(context.Context) BindDeviceAccountPrivateKeyMapOutput }
BindDeviceAccountPrivateKeyMapInput is an input type that accepts BindDeviceAccountPrivateKeyMap and BindDeviceAccountPrivateKeyMapOutput values. You can construct a concrete instance of `BindDeviceAccountPrivateKeyMapInput` via:
BindDeviceAccountPrivateKeyMap{ "key": BindDeviceAccountPrivateKeyArgs{...} }
type BindDeviceAccountPrivateKeyMapOutput ¶
type BindDeviceAccountPrivateKeyMapOutput struct{ *pulumi.OutputState }
func (BindDeviceAccountPrivateKeyMapOutput) ElementType ¶
func (BindDeviceAccountPrivateKeyMapOutput) ElementType() reflect.Type
func (BindDeviceAccountPrivateKeyMapOutput) MapIndex ¶
func (o BindDeviceAccountPrivateKeyMapOutput) MapIndex(k pulumi.StringInput) BindDeviceAccountPrivateKeyOutput
func (BindDeviceAccountPrivateKeyMapOutput) ToBindDeviceAccountPrivateKeyMapOutput ¶
func (o BindDeviceAccountPrivateKeyMapOutput) ToBindDeviceAccountPrivateKeyMapOutput() BindDeviceAccountPrivateKeyMapOutput
func (BindDeviceAccountPrivateKeyMapOutput) ToBindDeviceAccountPrivateKeyMapOutputWithContext ¶
func (o BindDeviceAccountPrivateKeyMapOutput) ToBindDeviceAccountPrivateKeyMapOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyMapOutput
type BindDeviceAccountPrivateKeyOutput ¶
type BindDeviceAccountPrivateKeyOutput struct{ *pulumi.OutputState }
func (BindDeviceAccountPrivateKeyOutput) DeviceAccountId ¶
func (o BindDeviceAccountPrivateKeyOutput) DeviceAccountId() pulumi.IntOutput
Host account ID.
func (BindDeviceAccountPrivateKeyOutput) ElementType ¶
func (BindDeviceAccountPrivateKeyOutput) ElementType() reflect.Type
func (BindDeviceAccountPrivateKeyOutput) PrivateKey ¶
func (o BindDeviceAccountPrivateKeyOutput) PrivateKey() pulumi.StringOutput
Host account private key, the latest length is 128 bytes, the maximum length is 8192 bytes.
func (BindDeviceAccountPrivateKeyOutput) PrivateKeyPassword ¶
func (o BindDeviceAccountPrivateKeyOutput) PrivateKeyPassword() pulumi.StringPtrOutput
Host account private key password, maximum length 256 bytes.
func (BindDeviceAccountPrivateKeyOutput) ToBindDeviceAccountPrivateKeyOutput ¶
func (o BindDeviceAccountPrivateKeyOutput) ToBindDeviceAccountPrivateKeyOutput() BindDeviceAccountPrivateKeyOutput
func (BindDeviceAccountPrivateKeyOutput) ToBindDeviceAccountPrivateKeyOutputWithContext ¶
func (o BindDeviceAccountPrivateKeyOutput) ToBindDeviceAccountPrivateKeyOutputWithContext(ctx context.Context) BindDeviceAccountPrivateKeyOutput
type BindDeviceAccountPrivateKeyState ¶
type BindDeviceAccountPrivateKeyState struct { // Host account ID. DeviceAccountId pulumi.IntPtrInput // Host account private key, the latest length is 128 bytes, the maximum length is 8192 bytes. PrivateKey pulumi.StringPtrInput // Host account private key password, maximum length 256 bytes. PrivateKeyPassword pulumi.StringPtrInput }
func (BindDeviceAccountPrivateKeyState) ElementType ¶
func (BindDeviceAccountPrivateKeyState) ElementType() reflect.Type
type BindDeviceResource ¶
type BindDeviceResource struct { pulumi.CustomResourceState // Asset ID collection. DeviceIdSets pulumi.IntArrayOutput `pulumi:"deviceIdSets"` // Bastion host service ID. ResourceId pulumi.StringOutput `pulumi:"resourceId"` }
Provides a resource to create a dasb bindDeviceResource
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewBindDeviceResource(ctx, "example", &Dasb.BindDeviceResourceArgs{ DeviceIdSets: pulumi.IntArray{ pulumi.Int(17), pulumi.Int(18), }, ResourceId: pulumi.String("bh-saas-weyosfym"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetBindDeviceResource ¶
func GetBindDeviceResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BindDeviceResourceState, opts ...pulumi.ResourceOption) (*BindDeviceResource, error)
GetBindDeviceResource gets an existing BindDeviceResource 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 NewBindDeviceResource ¶
func NewBindDeviceResource(ctx *pulumi.Context, name string, args *BindDeviceResourceArgs, opts ...pulumi.ResourceOption) (*BindDeviceResource, error)
NewBindDeviceResource registers a new resource with the given unique name, arguments, and options.
func (*BindDeviceResource) ElementType ¶
func (*BindDeviceResource) ElementType() reflect.Type
func (*BindDeviceResource) ToBindDeviceResourceOutput ¶
func (i *BindDeviceResource) ToBindDeviceResourceOutput() BindDeviceResourceOutput
func (*BindDeviceResource) ToBindDeviceResourceOutputWithContext ¶
func (i *BindDeviceResource) ToBindDeviceResourceOutputWithContext(ctx context.Context) BindDeviceResourceOutput
type BindDeviceResourceArgs ¶
type BindDeviceResourceArgs struct { // Asset ID collection. DeviceIdSets pulumi.IntArrayInput // Bastion host service ID. ResourceId pulumi.StringInput }
The set of arguments for constructing a BindDeviceResource resource.
func (BindDeviceResourceArgs) ElementType ¶
func (BindDeviceResourceArgs) ElementType() reflect.Type
type BindDeviceResourceArray ¶
type BindDeviceResourceArray []BindDeviceResourceInput
func (BindDeviceResourceArray) ElementType ¶
func (BindDeviceResourceArray) ElementType() reflect.Type
func (BindDeviceResourceArray) ToBindDeviceResourceArrayOutput ¶
func (i BindDeviceResourceArray) ToBindDeviceResourceArrayOutput() BindDeviceResourceArrayOutput
func (BindDeviceResourceArray) ToBindDeviceResourceArrayOutputWithContext ¶
func (i BindDeviceResourceArray) ToBindDeviceResourceArrayOutputWithContext(ctx context.Context) BindDeviceResourceArrayOutput
type BindDeviceResourceArrayInput ¶
type BindDeviceResourceArrayInput interface { pulumi.Input ToBindDeviceResourceArrayOutput() BindDeviceResourceArrayOutput ToBindDeviceResourceArrayOutputWithContext(context.Context) BindDeviceResourceArrayOutput }
BindDeviceResourceArrayInput is an input type that accepts BindDeviceResourceArray and BindDeviceResourceArrayOutput values. You can construct a concrete instance of `BindDeviceResourceArrayInput` via:
BindDeviceResourceArray{ BindDeviceResourceArgs{...} }
type BindDeviceResourceArrayOutput ¶
type BindDeviceResourceArrayOutput struct{ *pulumi.OutputState }
func (BindDeviceResourceArrayOutput) ElementType ¶
func (BindDeviceResourceArrayOutput) ElementType() reflect.Type
func (BindDeviceResourceArrayOutput) Index ¶
func (o BindDeviceResourceArrayOutput) Index(i pulumi.IntInput) BindDeviceResourceOutput
func (BindDeviceResourceArrayOutput) ToBindDeviceResourceArrayOutput ¶
func (o BindDeviceResourceArrayOutput) ToBindDeviceResourceArrayOutput() BindDeviceResourceArrayOutput
func (BindDeviceResourceArrayOutput) ToBindDeviceResourceArrayOutputWithContext ¶
func (o BindDeviceResourceArrayOutput) ToBindDeviceResourceArrayOutputWithContext(ctx context.Context) BindDeviceResourceArrayOutput
type BindDeviceResourceInput ¶
type BindDeviceResourceInput interface { pulumi.Input ToBindDeviceResourceOutput() BindDeviceResourceOutput ToBindDeviceResourceOutputWithContext(ctx context.Context) BindDeviceResourceOutput }
type BindDeviceResourceMap ¶
type BindDeviceResourceMap map[string]BindDeviceResourceInput
func (BindDeviceResourceMap) ElementType ¶
func (BindDeviceResourceMap) ElementType() reflect.Type
func (BindDeviceResourceMap) ToBindDeviceResourceMapOutput ¶
func (i BindDeviceResourceMap) ToBindDeviceResourceMapOutput() BindDeviceResourceMapOutput
func (BindDeviceResourceMap) ToBindDeviceResourceMapOutputWithContext ¶
func (i BindDeviceResourceMap) ToBindDeviceResourceMapOutputWithContext(ctx context.Context) BindDeviceResourceMapOutput
type BindDeviceResourceMapInput ¶
type BindDeviceResourceMapInput interface { pulumi.Input ToBindDeviceResourceMapOutput() BindDeviceResourceMapOutput ToBindDeviceResourceMapOutputWithContext(context.Context) BindDeviceResourceMapOutput }
BindDeviceResourceMapInput is an input type that accepts BindDeviceResourceMap and BindDeviceResourceMapOutput values. You can construct a concrete instance of `BindDeviceResourceMapInput` via:
BindDeviceResourceMap{ "key": BindDeviceResourceArgs{...} }
type BindDeviceResourceMapOutput ¶
type BindDeviceResourceMapOutput struct{ *pulumi.OutputState }
func (BindDeviceResourceMapOutput) ElementType ¶
func (BindDeviceResourceMapOutput) ElementType() reflect.Type
func (BindDeviceResourceMapOutput) MapIndex ¶
func (o BindDeviceResourceMapOutput) MapIndex(k pulumi.StringInput) BindDeviceResourceOutput
func (BindDeviceResourceMapOutput) ToBindDeviceResourceMapOutput ¶
func (o BindDeviceResourceMapOutput) ToBindDeviceResourceMapOutput() BindDeviceResourceMapOutput
func (BindDeviceResourceMapOutput) ToBindDeviceResourceMapOutputWithContext ¶
func (o BindDeviceResourceMapOutput) ToBindDeviceResourceMapOutputWithContext(ctx context.Context) BindDeviceResourceMapOutput
type BindDeviceResourceOutput ¶
type BindDeviceResourceOutput struct{ *pulumi.OutputState }
func (BindDeviceResourceOutput) DeviceIdSets ¶
func (o BindDeviceResourceOutput) DeviceIdSets() pulumi.IntArrayOutput
Asset ID collection.
func (BindDeviceResourceOutput) ElementType ¶
func (BindDeviceResourceOutput) ElementType() reflect.Type
func (BindDeviceResourceOutput) ResourceId ¶
func (o BindDeviceResourceOutput) ResourceId() pulumi.StringOutput
Bastion host service ID.
func (BindDeviceResourceOutput) ToBindDeviceResourceOutput ¶
func (o BindDeviceResourceOutput) ToBindDeviceResourceOutput() BindDeviceResourceOutput
func (BindDeviceResourceOutput) ToBindDeviceResourceOutputWithContext ¶
func (o BindDeviceResourceOutput) ToBindDeviceResourceOutputWithContext(ctx context.Context) BindDeviceResourceOutput
type BindDeviceResourceState ¶
type BindDeviceResourceState struct { // Asset ID collection. DeviceIdSets pulumi.IntArrayInput // Bastion host service ID. ResourceId pulumi.StringPtrInput }
func (BindDeviceResourceState) ElementType ¶
func (BindDeviceResourceState) ElementType() reflect.Type
type CmdTemplate ¶
type CmdTemplate struct { pulumi.CustomResourceState // Command list, n separated, maximum length 32768 bytes. CmdList pulumi.StringOutput `pulumi:"cmdList"` // Template name, maximum length 32 characters, cannot contain blank characters. Name pulumi.StringOutput `pulumi:"name"` }
Provides a resource to create a dasb cmdTemplate
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewCmdTemplate(ctx, "example", &Dasb.CmdTemplateArgs{ CmdList: pulumi.String("rm -rf*"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb cmd_template can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/cmdTemplate:CmdTemplate example 15 ```
func GetCmdTemplate ¶
func GetCmdTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CmdTemplateState, opts ...pulumi.ResourceOption) (*CmdTemplate, error)
GetCmdTemplate gets an existing CmdTemplate 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 NewCmdTemplate ¶
func NewCmdTemplate(ctx *pulumi.Context, name string, args *CmdTemplateArgs, opts ...pulumi.ResourceOption) (*CmdTemplate, error)
NewCmdTemplate registers a new resource with the given unique name, arguments, and options.
func (*CmdTemplate) ElementType ¶
func (*CmdTemplate) ElementType() reflect.Type
func (*CmdTemplate) ToCmdTemplateOutput ¶
func (i *CmdTemplate) ToCmdTemplateOutput() CmdTemplateOutput
func (*CmdTemplate) ToCmdTemplateOutputWithContext ¶
func (i *CmdTemplate) ToCmdTemplateOutputWithContext(ctx context.Context) CmdTemplateOutput
type CmdTemplateArgs ¶
type CmdTemplateArgs struct { // Command list, n separated, maximum length 32768 bytes. CmdList pulumi.StringInput // Template name, maximum length 32 characters, cannot contain blank characters. Name pulumi.StringPtrInput }
The set of arguments for constructing a CmdTemplate resource.
func (CmdTemplateArgs) ElementType ¶
func (CmdTemplateArgs) ElementType() reflect.Type
type CmdTemplateArray ¶
type CmdTemplateArray []CmdTemplateInput
func (CmdTemplateArray) ElementType ¶
func (CmdTemplateArray) ElementType() reflect.Type
func (CmdTemplateArray) ToCmdTemplateArrayOutput ¶
func (i CmdTemplateArray) ToCmdTemplateArrayOutput() CmdTemplateArrayOutput
func (CmdTemplateArray) ToCmdTemplateArrayOutputWithContext ¶
func (i CmdTemplateArray) ToCmdTemplateArrayOutputWithContext(ctx context.Context) CmdTemplateArrayOutput
type CmdTemplateArrayInput ¶
type CmdTemplateArrayInput interface { pulumi.Input ToCmdTemplateArrayOutput() CmdTemplateArrayOutput ToCmdTemplateArrayOutputWithContext(context.Context) CmdTemplateArrayOutput }
CmdTemplateArrayInput is an input type that accepts CmdTemplateArray and CmdTemplateArrayOutput values. You can construct a concrete instance of `CmdTemplateArrayInput` via:
CmdTemplateArray{ CmdTemplateArgs{...} }
type CmdTemplateArrayOutput ¶
type CmdTemplateArrayOutput struct{ *pulumi.OutputState }
func (CmdTemplateArrayOutput) ElementType ¶
func (CmdTemplateArrayOutput) ElementType() reflect.Type
func (CmdTemplateArrayOutput) Index ¶
func (o CmdTemplateArrayOutput) Index(i pulumi.IntInput) CmdTemplateOutput
func (CmdTemplateArrayOutput) ToCmdTemplateArrayOutput ¶
func (o CmdTemplateArrayOutput) ToCmdTemplateArrayOutput() CmdTemplateArrayOutput
func (CmdTemplateArrayOutput) ToCmdTemplateArrayOutputWithContext ¶
func (o CmdTemplateArrayOutput) ToCmdTemplateArrayOutputWithContext(ctx context.Context) CmdTemplateArrayOutput
type CmdTemplateInput ¶
type CmdTemplateInput interface { pulumi.Input ToCmdTemplateOutput() CmdTemplateOutput ToCmdTemplateOutputWithContext(ctx context.Context) CmdTemplateOutput }
type CmdTemplateMap ¶
type CmdTemplateMap map[string]CmdTemplateInput
func (CmdTemplateMap) ElementType ¶
func (CmdTemplateMap) ElementType() reflect.Type
func (CmdTemplateMap) ToCmdTemplateMapOutput ¶
func (i CmdTemplateMap) ToCmdTemplateMapOutput() CmdTemplateMapOutput
func (CmdTemplateMap) ToCmdTemplateMapOutputWithContext ¶
func (i CmdTemplateMap) ToCmdTemplateMapOutputWithContext(ctx context.Context) CmdTemplateMapOutput
type CmdTemplateMapInput ¶
type CmdTemplateMapInput interface { pulumi.Input ToCmdTemplateMapOutput() CmdTemplateMapOutput ToCmdTemplateMapOutputWithContext(context.Context) CmdTemplateMapOutput }
CmdTemplateMapInput is an input type that accepts CmdTemplateMap and CmdTemplateMapOutput values. You can construct a concrete instance of `CmdTemplateMapInput` via:
CmdTemplateMap{ "key": CmdTemplateArgs{...} }
type CmdTemplateMapOutput ¶
type CmdTemplateMapOutput struct{ *pulumi.OutputState }
func (CmdTemplateMapOutput) ElementType ¶
func (CmdTemplateMapOutput) ElementType() reflect.Type
func (CmdTemplateMapOutput) MapIndex ¶
func (o CmdTemplateMapOutput) MapIndex(k pulumi.StringInput) CmdTemplateOutput
func (CmdTemplateMapOutput) ToCmdTemplateMapOutput ¶
func (o CmdTemplateMapOutput) ToCmdTemplateMapOutput() CmdTemplateMapOutput
func (CmdTemplateMapOutput) ToCmdTemplateMapOutputWithContext ¶
func (o CmdTemplateMapOutput) ToCmdTemplateMapOutputWithContext(ctx context.Context) CmdTemplateMapOutput
type CmdTemplateOutput ¶
type CmdTemplateOutput struct{ *pulumi.OutputState }
func (CmdTemplateOutput) CmdList ¶
func (o CmdTemplateOutput) CmdList() pulumi.StringOutput
Command list, n separated, maximum length 32768 bytes.
func (CmdTemplateOutput) ElementType ¶
func (CmdTemplateOutput) ElementType() reflect.Type
func (CmdTemplateOutput) Name ¶
func (o CmdTemplateOutput) Name() pulumi.StringOutput
Template name, maximum length 32 characters, cannot contain blank characters.
func (CmdTemplateOutput) ToCmdTemplateOutput ¶
func (o CmdTemplateOutput) ToCmdTemplateOutput() CmdTemplateOutput
func (CmdTemplateOutput) ToCmdTemplateOutputWithContext ¶
func (o CmdTemplateOutput) ToCmdTemplateOutputWithContext(ctx context.Context) CmdTemplateOutput
type CmdTemplateState ¶
type CmdTemplateState struct { // Command list, n separated, maximum length 32768 bytes. CmdList pulumi.StringPtrInput // Template name, maximum length 32 characters, cannot contain blank characters. Name pulumi.StringPtrInput }
func (CmdTemplateState) ElementType ¶
func (CmdTemplateState) ElementType() reflect.Type
type Device ¶
type Device struct { pulumi.CustomResourceState // The department ID to which the device belongs. DepartmentId pulumi.StringPtrOutput `pulumi:"departmentId"` // IP address. Ip pulumi.StringOutput `pulumi:"ip"` // Asset multi-node: fields ip and port. IpPortSets pulumi.StringArrayOutput `pulumi:"ipPortSets"` // Hostname, can be empty. Name pulumi.StringOutput `pulumi:"name"` // Operating system name, only Linux, Windows or MySQL. OsName pulumi.StringOutput `pulumi:"osName"` // Management port. Port pulumi.IntOutput `pulumi:"port"` }
Provides a resource to create a dasb device
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewDevice(ctx, "example", &Dasb.DeviceArgs{ DepartmentId: pulumi.String("1.2.3"), Ip: pulumi.String("192.168.0.1"), OsName: pulumi.String("Linux"), Port: pulumi.Int(80), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb device can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/device:Device example 17 ```
func GetDevice ¶
func GetDevice(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceState, opts ...pulumi.ResourceOption) (*Device, error)
GetDevice gets an existing Device 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 NewDevice ¶
func NewDevice(ctx *pulumi.Context, name string, args *DeviceArgs, opts ...pulumi.ResourceOption) (*Device, error)
NewDevice registers a new resource with the given unique name, arguments, and options.
func (*Device) ElementType ¶
func (*Device) ToDeviceOutput ¶
func (i *Device) ToDeviceOutput() DeviceOutput
func (*Device) ToDeviceOutputWithContext ¶
func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
type DeviceAccount ¶
type DeviceAccount struct { pulumi.CustomResourceState // Device account. Account pulumi.StringOutput `pulumi:"account"` // Device ID. DeviceId pulumi.IntOutput `pulumi:"deviceId"` }
Provides a resource to create a dasb deviceAccount
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleDevice, err := Dasb.NewDevice(ctx, "exampleDevice", &Dasb.DeviceArgs{ OsName: pulumi.String("Linux"), Ip: pulumi.String("192.168.0.1"), Port: pulumi.Int(80), }) if err != nil { return err } _, err = Dasb.NewDeviceAccount(ctx, "exampleDeviceAccount", &Dasb.DeviceAccountArgs{ DeviceId: exampleDevice.ID(), Account: pulumi.String("root"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb device_account can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/deviceAccount:DeviceAccount example 11 ```
func GetDeviceAccount ¶
func GetDeviceAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceAccountState, opts ...pulumi.ResourceOption) (*DeviceAccount, error)
GetDeviceAccount gets an existing DeviceAccount 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 NewDeviceAccount ¶
func NewDeviceAccount(ctx *pulumi.Context, name string, args *DeviceAccountArgs, opts ...pulumi.ResourceOption) (*DeviceAccount, error)
NewDeviceAccount registers a new resource with the given unique name, arguments, and options.
func (*DeviceAccount) ElementType ¶
func (*DeviceAccount) ElementType() reflect.Type
func (*DeviceAccount) ToDeviceAccountOutput ¶
func (i *DeviceAccount) ToDeviceAccountOutput() DeviceAccountOutput
func (*DeviceAccount) ToDeviceAccountOutputWithContext ¶
func (i *DeviceAccount) ToDeviceAccountOutputWithContext(ctx context.Context) DeviceAccountOutput
type DeviceAccountArgs ¶
type DeviceAccountArgs struct { // Device account. Account pulumi.StringInput // Device ID. DeviceId pulumi.IntInput }
The set of arguments for constructing a DeviceAccount resource.
func (DeviceAccountArgs) ElementType ¶
func (DeviceAccountArgs) ElementType() reflect.Type
type DeviceAccountArray ¶
type DeviceAccountArray []DeviceAccountInput
func (DeviceAccountArray) ElementType ¶
func (DeviceAccountArray) ElementType() reflect.Type
func (DeviceAccountArray) ToDeviceAccountArrayOutput ¶
func (i DeviceAccountArray) ToDeviceAccountArrayOutput() DeviceAccountArrayOutput
func (DeviceAccountArray) ToDeviceAccountArrayOutputWithContext ¶
func (i DeviceAccountArray) ToDeviceAccountArrayOutputWithContext(ctx context.Context) DeviceAccountArrayOutput
type DeviceAccountArrayInput ¶
type DeviceAccountArrayInput interface { pulumi.Input ToDeviceAccountArrayOutput() DeviceAccountArrayOutput ToDeviceAccountArrayOutputWithContext(context.Context) DeviceAccountArrayOutput }
DeviceAccountArrayInput is an input type that accepts DeviceAccountArray and DeviceAccountArrayOutput values. You can construct a concrete instance of `DeviceAccountArrayInput` via:
DeviceAccountArray{ DeviceAccountArgs{...} }
type DeviceAccountArrayOutput ¶
type DeviceAccountArrayOutput struct{ *pulumi.OutputState }
func (DeviceAccountArrayOutput) ElementType ¶
func (DeviceAccountArrayOutput) ElementType() reflect.Type
func (DeviceAccountArrayOutput) Index ¶
func (o DeviceAccountArrayOutput) Index(i pulumi.IntInput) DeviceAccountOutput
func (DeviceAccountArrayOutput) ToDeviceAccountArrayOutput ¶
func (o DeviceAccountArrayOutput) ToDeviceAccountArrayOutput() DeviceAccountArrayOutput
func (DeviceAccountArrayOutput) ToDeviceAccountArrayOutputWithContext ¶
func (o DeviceAccountArrayOutput) ToDeviceAccountArrayOutputWithContext(ctx context.Context) DeviceAccountArrayOutput
type DeviceAccountInput ¶
type DeviceAccountInput interface { pulumi.Input ToDeviceAccountOutput() DeviceAccountOutput ToDeviceAccountOutputWithContext(ctx context.Context) DeviceAccountOutput }
type DeviceAccountMap ¶
type DeviceAccountMap map[string]DeviceAccountInput
func (DeviceAccountMap) ElementType ¶
func (DeviceAccountMap) ElementType() reflect.Type
func (DeviceAccountMap) ToDeviceAccountMapOutput ¶
func (i DeviceAccountMap) ToDeviceAccountMapOutput() DeviceAccountMapOutput
func (DeviceAccountMap) ToDeviceAccountMapOutputWithContext ¶
func (i DeviceAccountMap) ToDeviceAccountMapOutputWithContext(ctx context.Context) DeviceAccountMapOutput
type DeviceAccountMapInput ¶
type DeviceAccountMapInput interface { pulumi.Input ToDeviceAccountMapOutput() DeviceAccountMapOutput ToDeviceAccountMapOutputWithContext(context.Context) DeviceAccountMapOutput }
DeviceAccountMapInput is an input type that accepts DeviceAccountMap and DeviceAccountMapOutput values. You can construct a concrete instance of `DeviceAccountMapInput` via:
DeviceAccountMap{ "key": DeviceAccountArgs{...} }
type DeviceAccountMapOutput ¶
type DeviceAccountMapOutput struct{ *pulumi.OutputState }
func (DeviceAccountMapOutput) ElementType ¶
func (DeviceAccountMapOutput) ElementType() reflect.Type
func (DeviceAccountMapOutput) MapIndex ¶
func (o DeviceAccountMapOutput) MapIndex(k pulumi.StringInput) DeviceAccountOutput
func (DeviceAccountMapOutput) ToDeviceAccountMapOutput ¶
func (o DeviceAccountMapOutput) ToDeviceAccountMapOutput() DeviceAccountMapOutput
func (DeviceAccountMapOutput) ToDeviceAccountMapOutputWithContext ¶
func (o DeviceAccountMapOutput) ToDeviceAccountMapOutputWithContext(ctx context.Context) DeviceAccountMapOutput
type DeviceAccountOutput ¶
type DeviceAccountOutput struct{ *pulumi.OutputState }
func (DeviceAccountOutput) Account ¶
func (o DeviceAccountOutput) Account() pulumi.StringOutput
Device account.
func (DeviceAccountOutput) DeviceId ¶
func (o DeviceAccountOutput) DeviceId() pulumi.IntOutput
Device ID.
func (DeviceAccountOutput) ElementType ¶
func (DeviceAccountOutput) ElementType() reflect.Type
func (DeviceAccountOutput) ToDeviceAccountOutput ¶
func (o DeviceAccountOutput) ToDeviceAccountOutput() DeviceAccountOutput
func (DeviceAccountOutput) ToDeviceAccountOutputWithContext ¶
func (o DeviceAccountOutput) ToDeviceAccountOutputWithContext(ctx context.Context) DeviceAccountOutput
type DeviceAccountState ¶
type DeviceAccountState struct { // Device account. Account pulumi.StringPtrInput // Device ID. DeviceId pulumi.IntPtrInput }
func (DeviceAccountState) ElementType ¶
func (DeviceAccountState) ElementType() reflect.Type
type DeviceArgs ¶
type DeviceArgs struct { // The department ID to which the device belongs. DepartmentId pulumi.StringPtrInput // IP address. Ip pulumi.StringInput // Asset multi-node: fields ip and port. IpPortSets pulumi.StringArrayInput // Hostname, can be empty. Name pulumi.StringPtrInput // Operating system name, only Linux, Windows or MySQL. OsName pulumi.StringInput // Management port. Port pulumi.IntInput }
The set of arguments for constructing a Device resource.
func (DeviceArgs) ElementType ¶
func (DeviceArgs) ElementType() reflect.Type
type DeviceArray ¶
type DeviceArray []DeviceInput
func (DeviceArray) ElementType ¶
func (DeviceArray) ElementType() reflect.Type
func (DeviceArray) ToDeviceArrayOutput ¶
func (i DeviceArray) ToDeviceArrayOutput() DeviceArrayOutput
func (DeviceArray) ToDeviceArrayOutputWithContext ¶
func (i DeviceArray) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput
type DeviceArrayInput ¶
type DeviceArrayInput interface { pulumi.Input ToDeviceArrayOutput() DeviceArrayOutput ToDeviceArrayOutputWithContext(context.Context) DeviceArrayOutput }
DeviceArrayInput is an input type that accepts DeviceArray and DeviceArrayOutput values. You can construct a concrete instance of `DeviceArrayInput` via:
DeviceArray{ DeviceArgs{...} }
type DeviceArrayOutput ¶
type DeviceArrayOutput struct{ *pulumi.OutputState }
func (DeviceArrayOutput) ElementType ¶
func (DeviceArrayOutput) ElementType() reflect.Type
func (DeviceArrayOutput) Index ¶
func (o DeviceArrayOutput) Index(i pulumi.IntInput) DeviceOutput
func (DeviceArrayOutput) ToDeviceArrayOutput ¶
func (o DeviceArrayOutput) ToDeviceArrayOutput() DeviceArrayOutput
func (DeviceArrayOutput) ToDeviceArrayOutputWithContext ¶
func (o DeviceArrayOutput) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput
type DeviceGroup ¶
type DeviceGroup struct { pulumi.CustomResourceState // The ID of the department to which the asset group belongs, such as: 1.2.3 name, with a maximum length of 32 characters. DepartmentId pulumi.StringPtrOutput `pulumi:"departmentId"` // Device group name, the maximum length is 32 characters. Name pulumi.StringOutput `pulumi:"name"` }
Provides a resource to create a dasb deviceGroup
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewDeviceGroup(ctx, "example", &Dasb.DeviceGroupArgs{ DepartmentId: pulumi.String("1.2"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb device_group can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/deviceGroup:DeviceGroup example 36 ```
func GetDeviceGroup ¶
func GetDeviceGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceGroupState, opts ...pulumi.ResourceOption) (*DeviceGroup, error)
GetDeviceGroup gets an existing DeviceGroup 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 NewDeviceGroup ¶
func NewDeviceGroup(ctx *pulumi.Context, name string, args *DeviceGroupArgs, opts ...pulumi.ResourceOption) (*DeviceGroup, error)
NewDeviceGroup registers a new resource with the given unique name, arguments, and options.
func (*DeviceGroup) ElementType ¶
func (*DeviceGroup) ElementType() reflect.Type
func (*DeviceGroup) ToDeviceGroupOutput ¶
func (i *DeviceGroup) ToDeviceGroupOutput() DeviceGroupOutput
func (*DeviceGroup) ToDeviceGroupOutputWithContext ¶
func (i *DeviceGroup) ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput
type DeviceGroupArgs ¶
type DeviceGroupArgs struct { // The ID of the department to which the asset group belongs, such as: 1.2.3 name, with a maximum length of 32 characters. DepartmentId pulumi.StringPtrInput // Device group name, the maximum length is 32 characters. Name pulumi.StringPtrInput }
The set of arguments for constructing a DeviceGroup resource.
func (DeviceGroupArgs) ElementType ¶
func (DeviceGroupArgs) ElementType() reflect.Type
type DeviceGroupArray ¶
type DeviceGroupArray []DeviceGroupInput
func (DeviceGroupArray) ElementType ¶
func (DeviceGroupArray) ElementType() reflect.Type
func (DeviceGroupArray) ToDeviceGroupArrayOutput ¶
func (i DeviceGroupArray) ToDeviceGroupArrayOutput() DeviceGroupArrayOutput
func (DeviceGroupArray) ToDeviceGroupArrayOutputWithContext ¶
func (i DeviceGroupArray) ToDeviceGroupArrayOutputWithContext(ctx context.Context) DeviceGroupArrayOutput
type DeviceGroupArrayInput ¶
type DeviceGroupArrayInput interface { pulumi.Input ToDeviceGroupArrayOutput() DeviceGroupArrayOutput ToDeviceGroupArrayOutputWithContext(context.Context) DeviceGroupArrayOutput }
DeviceGroupArrayInput is an input type that accepts DeviceGroupArray and DeviceGroupArrayOutput values. You can construct a concrete instance of `DeviceGroupArrayInput` via:
DeviceGroupArray{ DeviceGroupArgs{...} }
type DeviceGroupArrayOutput ¶
type DeviceGroupArrayOutput struct{ *pulumi.OutputState }
func (DeviceGroupArrayOutput) ElementType ¶
func (DeviceGroupArrayOutput) ElementType() reflect.Type
func (DeviceGroupArrayOutput) Index ¶
func (o DeviceGroupArrayOutput) Index(i pulumi.IntInput) DeviceGroupOutput
func (DeviceGroupArrayOutput) ToDeviceGroupArrayOutput ¶
func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutput() DeviceGroupArrayOutput
func (DeviceGroupArrayOutput) ToDeviceGroupArrayOutputWithContext ¶
func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutputWithContext(ctx context.Context) DeviceGroupArrayOutput
type DeviceGroupInput ¶
type DeviceGroupInput interface { pulumi.Input ToDeviceGroupOutput() DeviceGroupOutput ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput }
type DeviceGroupMap ¶
type DeviceGroupMap map[string]DeviceGroupInput
func (DeviceGroupMap) ElementType ¶
func (DeviceGroupMap) ElementType() reflect.Type
func (DeviceGroupMap) ToDeviceGroupMapOutput ¶
func (i DeviceGroupMap) ToDeviceGroupMapOutput() DeviceGroupMapOutput
func (DeviceGroupMap) ToDeviceGroupMapOutputWithContext ¶
func (i DeviceGroupMap) ToDeviceGroupMapOutputWithContext(ctx context.Context) DeviceGroupMapOutput
type DeviceGroupMapInput ¶
type DeviceGroupMapInput interface { pulumi.Input ToDeviceGroupMapOutput() DeviceGroupMapOutput ToDeviceGroupMapOutputWithContext(context.Context) DeviceGroupMapOutput }
DeviceGroupMapInput is an input type that accepts DeviceGroupMap and DeviceGroupMapOutput values. You can construct a concrete instance of `DeviceGroupMapInput` via:
DeviceGroupMap{ "key": DeviceGroupArgs{...} }
type DeviceGroupMapOutput ¶
type DeviceGroupMapOutput struct{ *pulumi.OutputState }
func (DeviceGroupMapOutput) ElementType ¶
func (DeviceGroupMapOutput) ElementType() reflect.Type
func (DeviceGroupMapOutput) MapIndex ¶
func (o DeviceGroupMapOutput) MapIndex(k pulumi.StringInput) DeviceGroupOutput
func (DeviceGroupMapOutput) ToDeviceGroupMapOutput ¶
func (o DeviceGroupMapOutput) ToDeviceGroupMapOutput() DeviceGroupMapOutput
func (DeviceGroupMapOutput) ToDeviceGroupMapOutputWithContext ¶
func (o DeviceGroupMapOutput) ToDeviceGroupMapOutputWithContext(ctx context.Context) DeviceGroupMapOutput
type DeviceGroupMembers ¶
type DeviceGroupMembers struct { pulumi.CustomResourceState // Device Group ID. DeviceGroupId pulumi.IntOutput `pulumi:"deviceGroupId"` // A collection of device IDs that need to be added to the device group. MemberIdSets pulumi.IntArrayOutput `pulumi:"memberIdSets"` }
Provides a resource to create a dasb deviceGroupMembers
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleDevice, err := Dasb.NewDevice(ctx, "exampleDevice", &Dasb.DeviceArgs{ OsName: pulumi.String("Linux"), Ip: pulumi.String("192.168.0.1"), Port: pulumi.Int(80), }) if err != nil { return err } exampleDeviceGroup, err := Dasb.NewDeviceGroup(ctx, "exampleDeviceGroup", nil) if err != nil { return err } _, err = Dasb.NewDeviceGroupMembers(ctx, "exampleDeviceGroupMembers", &Dasb.DeviceGroupMembersArgs{ DeviceGroupId: exampleDeviceGroup.ID(), MemberIdSets: pulumi.IntArray{ exampleDevice.ID(), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb device_group_members can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/deviceGroupMembers:DeviceGroupMembers example 53#102 ```
func GetDeviceGroupMembers ¶
func GetDeviceGroupMembers(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DeviceGroupMembersState, opts ...pulumi.ResourceOption) (*DeviceGroupMembers, error)
GetDeviceGroupMembers gets an existing DeviceGroupMembers 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 NewDeviceGroupMembers ¶
func NewDeviceGroupMembers(ctx *pulumi.Context, name string, args *DeviceGroupMembersArgs, opts ...pulumi.ResourceOption) (*DeviceGroupMembers, error)
NewDeviceGroupMembers registers a new resource with the given unique name, arguments, and options.
func (*DeviceGroupMembers) ElementType ¶
func (*DeviceGroupMembers) ElementType() reflect.Type
func (*DeviceGroupMembers) ToDeviceGroupMembersOutput ¶
func (i *DeviceGroupMembers) ToDeviceGroupMembersOutput() DeviceGroupMembersOutput
func (*DeviceGroupMembers) ToDeviceGroupMembersOutputWithContext ¶
func (i *DeviceGroupMembers) ToDeviceGroupMembersOutputWithContext(ctx context.Context) DeviceGroupMembersOutput
type DeviceGroupMembersArgs ¶
type DeviceGroupMembersArgs struct { // Device Group ID. DeviceGroupId pulumi.IntInput // A collection of device IDs that need to be added to the device group. MemberIdSets pulumi.IntArrayInput }
The set of arguments for constructing a DeviceGroupMembers resource.
func (DeviceGroupMembersArgs) ElementType ¶
func (DeviceGroupMembersArgs) ElementType() reflect.Type
type DeviceGroupMembersArray ¶
type DeviceGroupMembersArray []DeviceGroupMembersInput
func (DeviceGroupMembersArray) ElementType ¶
func (DeviceGroupMembersArray) ElementType() reflect.Type
func (DeviceGroupMembersArray) ToDeviceGroupMembersArrayOutput ¶
func (i DeviceGroupMembersArray) ToDeviceGroupMembersArrayOutput() DeviceGroupMembersArrayOutput
func (DeviceGroupMembersArray) ToDeviceGroupMembersArrayOutputWithContext ¶
func (i DeviceGroupMembersArray) ToDeviceGroupMembersArrayOutputWithContext(ctx context.Context) DeviceGroupMembersArrayOutput
type DeviceGroupMembersArrayInput ¶
type DeviceGroupMembersArrayInput interface { pulumi.Input ToDeviceGroupMembersArrayOutput() DeviceGroupMembersArrayOutput ToDeviceGroupMembersArrayOutputWithContext(context.Context) DeviceGroupMembersArrayOutput }
DeviceGroupMembersArrayInput is an input type that accepts DeviceGroupMembersArray and DeviceGroupMembersArrayOutput values. You can construct a concrete instance of `DeviceGroupMembersArrayInput` via:
DeviceGroupMembersArray{ DeviceGroupMembersArgs{...} }
type DeviceGroupMembersArrayOutput ¶
type DeviceGroupMembersArrayOutput struct{ *pulumi.OutputState }
func (DeviceGroupMembersArrayOutput) ElementType ¶
func (DeviceGroupMembersArrayOutput) ElementType() reflect.Type
func (DeviceGroupMembersArrayOutput) Index ¶
func (o DeviceGroupMembersArrayOutput) Index(i pulumi.IntInput) DeviceGroupMembersOutput
func (DeviceGroupMembersArrayOutput) ToDeviceGroupMembersArrayOutput ¶
func (o DeviceGroupMembersArrayOutput) ToDeviceGroupMembersArrayOutput() DeviceGroupMembersArrayOutput
func (DeviceGroupMembersArrayOutput) ToDeviceGroupMembersArrayOutputWithContext ¶
func (o DeviceGroupMembersArrayOutput) ToDeviceGroupMembersArrayOutputWithContext(ctx context.Context) DeviceGroupMembersArrayOutput
type DeviceGroupMembersInput ¶
type DeviceGroupMembersInput interface { pulumi.Input ToDeviceGroupMembersOutput() DeviceGroupMembersOutput ToDeviceGroupMembersOutputWithContext(ctx context.Context) DeviceGroupMembersOutput }
type DeviceGroupMembersMap ¶
type DeviceGroupMembersMap map[string]DeviceGroupMembersInput
func (DeviceGroupMembersMap) ElementType ¶
func (DeviceGroupMembersMap) ElementType() reflect.Type
func (DeviceGroupMembersMap) ToDeviceGroupMembersMapOutput ¶
func (i DeviceGroupMembersMap) ToDeviceGroupMembersMapOutput() DeviceGroupMembersMapOutput
func (DeviceGroupMembersMap) ToDeviceGroupMembersMapOutputWithContext ¶
func (i DeviceGroupMembersMap) ToDeviceGroupMembersMapOutputWithContext(ctx context.Context) DeviceGroupMembersMapOutput
type DeviceGroupMembersMapInput ¶
type DeviceGroupMembersMapInput interface { pulumi.Input ToDeviceGroupMembersMapOutput() DeviceGroupMembersMapOutput ToDeviceGroupMembersMapOutputWithContext(context.Context) DeviceGroupMembersMapOutput }
DeviceGroupMembersMapInput is an input type that accepts DeviceGroupMembersMap and DeviceGroupMembersMapOutput values. You can construct a concrete instance of `DeviceGroupMembersMapInput` via:
DeviceGroupMembersMap{ "key": DeviceGroupMembersArgs{...} }
type DeviceGroupMembersMapOutput ¶
type DeviceGroupMembersMapOutput struct{ *pulumi.OutputState }
func (DeviceGroupMembersMapOutput) ElementType ¶
func (DeviceGroupMembersMapOutput) ElementType() reflect.Type
func (DeviceGroupMembersMapOutput) MapIndex ¶
func (o DeviceGroupMembersMapOutput) MapIndex(k pulumi.StringInput) DeviceGroupMembersOutput
func (DeviceGroupMembersMapOutput) ToDeviceGroupMembersMapOutput ¶
func (o DeviceGroupMembersMapOutput) ToDeviceGroupMembersMapOutput() DeviceGroupMembersMapOutput
func (DeviceGroupMembersMapOutput) ToDeviceGroupMembersMapOutputWithContext ¶
func (o DeviceGroupMembersMapOutput) ToDeviceGroupMembersMapOutputWithContext(ctx context.Context) DeviceGroupMembersMapOutput
type DeviceGroupMembersOutput ¶
type DeviceGroupMembersOutput struct{ *pulumi.OutputState }
func (DeviceGroupMembersOutput) DeviceGroupId ¶
func (o DeviceGroupMembersOutput) DeviceGroupId() pulumi.IntOutput
Device Group ID.
func (DeviceGroupMembersOutput) ElementType ¶
func (DeviceGroupMembersOutput) ElementType() reflect.Type
func (DeviceGroupMembersOutput) MemberIdSets ¶
func (o DeviceGroupMembersOutput) MemberIdSets() pulumi.IntArrayOutput
A collection of device IDs that need to be added to the device group.
func (DeviceGroupMembersOutput) ToDeviceGroupMembersOutput ¶
func (o DeviceGroupMembersOutput) ToDeviceGroupMembersOutput() DeviceGroupMembersOutput
func (DeviceGroupMembersOutput) ToDeviceGroupMembersOutputWithContext ¶
func (o DeviceGroupMembersOutput) ToDeviceGroupMembersOutputWithContext(ctx context.Context) DeviceGroupMembersOutput
type DeviceGroupMembersState ¶
type DeviceGroupMembersState struct { // Device Group ID. DeviceGroupId pulumi.IntPtrInput // A collection of device IDs that need to be added to the device group. MemberIdSets pulumi.IntArrayInput }
func (DeviceGroupMembersState) ElementType ¶
func (DeviceGroupMembersState) ElementType() reflect.Type
type DeviceGroupOutput ¶
type DeviceGroupOutput struct{ *pulumi.OutputState }
func (DeviceGroupOutput) DepartmentId ¶
func (o DeviceGroupOutput) DepartmentId() pulumi.StringPtrOutput
The ID of the department to which the asset group belongs, such as: 1.2.3 name, with a maximum length of 32 characters.
func (DeviceGroupOutput) ElementType ¶
func (DeviceGroupOutput) ElementType() reflect.Type
func (DeviceGroupOutput) Name ¶
func (o DeviceGroupOutput) Name() pulumi.StringOutput
Device group name, the maximum length is 32 characters.
func (DeviceGroupOutput) ToDeviceGroupOutput ¶
func (o DeviceGroupOutput) ToDeviceGroupOutput() DeviceGroupOutput
func (DeviceGroupOutput) ToDeviceGroupOutputWithContext ¶
func (o DeviceGroupOutput) ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput
type DeviceGroupState ¶
type DeviceGroupState struct { // The ID of the department to which the asset group belongs, such as: 1.2.3 name, with a maximum length of 32 characters. DepartmentId pulumi.StringPtrInput // Device group name, the maximum length is 32 characters. Name pulumi.StringPtrInput }
func (DeviceGroupState) ElementType ¶
func (DeviceGroupState) ElementType() reflect.Type
type DeviceInput ¶
type DeviceInput interface { pulumi.Input ToDeviceOutput() DeviceOutput ToDeviceOutputWithContext(ctx context.Context) DeviceOutput }
type DeviceMap ¶
type DeviceMap map[string]DeviceInput
func (DeviceMap) ElementType ¶
func (DeviceMap) ToDeviceMapOutput ¶
func (i DeviceMap) ToDeviceMapOutput() DeviceMapOutput
func (DeviceMap) ToDeviceMapOutputWithContext ¶
func (i DeviceMap) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOutput
type DeviceMapInput ¶
type DeviceMapInput interface { pulumi.Input ToDeviceMapOutput() DeviceMapOutput ToDeviceMapOutputWithContext(context.Context) DeviceMapOutput }
DeviceMapInput is an input type that accepts DeviceMap and DeviceMapOutput values. You can construct a concrete instance of `DeviceMapInput` via:
DeviceMap{ "key": DeviceArgs{...} }
type DeviceMapOutput ¶
type DeviceMapOutput struct{ *pulumi.OutputState }
func (DeviceMapOutput) ElementType ¶
func (DeviceMapOutput) ElementType() reflect.Type
func (DeviceMapOutput) MapIndex ¶
func (o DeviceMapOutput) MapIndex(k pulumi.StringInput) DeviceOutput
func (DeviceMapOutput) ToDeviceMapOutput ¶
func (o DeviceMapOutput) ToDeviceMapOutput() DeviceMapOutput
func (DeviceMapOutput) ToDeviceMapOutputWithContext ¶
func (o DeviceMapOutput) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOutput
type DeviceOutput ¶
type DeviceOutput struct{ *pulumi.OutputState }
func (DeviceOutput) DepartmentId ¶
func (o DeviceOutput) DepartmentId() pulumi.StringPtrOutput
The department ID to which the device belongs.
func (DeviceOutput) ElementType ¶
func (DeviceOutput) ElementType() reflect.Type
func (DeviceOutput) IpPortSets ¶
func (o DeviceOutput) IpPortSets() pulumi.StringArrayOutput
Asset multi-node: fields ip and port.
func (DeviceOutput) OsName ¶
func (o DeviceOutput) OsName() pulumi.StringOutput
Operating system name, only Linux, Windows or MySQL.
func (DeviceOutput) ToDeviceOutput ¶
func (o DeviceOutput) ToDeviceOutput() DeviceOutput
func (DeviceOutput) ToDeviceOutputWithContext ¶
func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
type DeviceState ¶
type DeviceState struct { // The department ID to which the device belongs. DepartmentId pulumi.StringPtrInput // IP address. Ip pulumi.StringPtrInput // Asset multi-node: fields ip and port. IpPortSets pulumi.StringArrayInput // Hostname, can be empty. Name pulumi.StringPtrInput // Operating system name, only Linux, Windows or MySQL. OsName pulumi.StringPtrInput // Management port. Port pulumi.IntPtrInput }
func (DeviceState) ElementType ¶
func (DeviceState) ElementType() reflect.Type
type ResetUser ¶
type ResetUser struct { pulumi.CustomResourceState // User Id. UserId pulumi.IntOutput `pulumi:"userId"` }
Provides a resource to create a dasb resetUser
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewResetUser(ctx, "example", &Dasb.ResetUserArgs{ UserId: pulumi.Int(16), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
func GetResetUser ¶
func GetResetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResetUserState, opts ...pulumi.ResourceOption) (*ResetUser, error)
GetResetUser gets an existing ResetUser 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 NewResetUser ¶
func NewResetUser(ctx *pulumi.Context, name string, args *ResetUserArgs, opts ...pulumi.ResourceOption) (*ResetUser, error)
NewResetUser registers a new resource with the given unique name, arguments, and options.
func (*ResetUser) ElementType ¶
func (*ResetUser) ToResetUserOutput ¶
func (i *ResetUser) ToResetUserOutput() ResetUserOutput
func (*ResetUser) ToResetUserOutputWithContext ¶
func (i *ResetUser) ToResetUserOutputWithContext(ctx context.Context) ResetUserOutput
type ResetUserArgs ¶
The set of arguments for constructing a ResetUser resource.
func (ResetUserArgs) ElementType ¶
func (ResetUserArgs) ElementType() reflect.Type
type ResetUserArray ¶
type ResetUserArray []ResetUserInput
func (ResetUserArray) ElementType ¶
func (ResetUserArray) ElementType() reflect.Type
func (ResetUserArray) ToResetUserArrayOutput ¶
func (i ResetUserArray) ToResetUserArrayOutput() ResetUserArrayOutput
func (ResetUserArray) ToResetUserArrayOutputWithContext ¶
func (i ResetUserArray) ToResetUserArrayOutputWithContext(ctx context.Context) ResetUserArrayOutput
type ResetUserArrayInput ¶
type ResetUserArrayInput interface { pulumi.Input ToResetUserArrayOutput() ResetUserArrayOutput ToResetUserArrayOutputWithContext(context.Context) ResetUserArrayOutput }
ResetUserArrayInput is an input type that accepts ResetUserArray and ResetUserArrayOutput values. You can construct a concrete instance of `ResetUserArrayInput` via:
ResetUserArray{ ResetUserArgs{...} }
type ResetUserArrayOutput ¶
type ResetUserArrayOutput struct{ *pulumi.OutputState }
func (ResetUserArrayOutput) ElementType ¶
func (ResetUserArrayOutput) ElementType() reflect.Type
func (ResetUserArrayOutput) Index ¶
func (o ResetUserArrayOutput) Index(i pulumi.IntInput) ResetUserOutput
func (ResetUserArrayOutput) ToResetUserArrayOutput ¶
func (o ResetUserArrayOutput) ToResetUserArrayOutput() ResetUserArrayOutput
func (ResetUserArrayOutput) ToResetUserArrayOutputWithContext ¶
func (o ResetUserArrayOutput) ToResetUserArrayOutputWithContext(ctx context.Context) ResetUserArrayOutput
type ResetUserInput ¶
type ResetUserInput interface { pulumi.Input ToResetUserOutput() ResetUserOutput ToResetUserOutputWithContext(ctx context.Context) ResetUserOutput }
type ResetUserMap ¶
type ResetUserMap map[string]ResetUserInput
func (ResetUserMap) ElementType ¶
func (ResetUserMap) ElementType() reflect.Type
func (ResetUserMap) ToResetUserMapOutput ¶
func (i ResetUserMap) ToResetUserMapOutput() ResetUserMapOutput
func (ResetUserMap) ToResetUserMapOutputWithContext ¶
func (i ResetUserMap) ToResetUserMapOutputWithContext(ctx context.Context) ResetUserMapOutput
type ResetUserMapInput ¶
type ResetUserMapInput interface { pulumi.Input ToResetUserMapOutput() ResetUserMapOutput ToResetUserMapOutputWithContext(context.Context) ResetUserMapOutput }
ResetUserMapInput is an input type that accepts ResetUserMap and ResetUserMapOutput values. You can construct a concrete instance of `ResetUserMapInput` via:
ResetUserMap{ "key": ResetUserArgs{...} }
type ResetUserMapOutput ¶
type ResetUserMapOutput struct{ *pulumi.OutputState }
func (ResetUserMapOutput) ElementType ¶
func (ResetUserMapOutput) ElementType() reflect.Type
func (ResetUserMapOutput) MapIndex ¶
func (o ResetUserMapOutput) MapIndex(k pulumi.StringInput) ResetUserOutput
func (ResetUserMapOutput) ToResetUserMapOutput ¶
func (o ResetUserMapOutput) ToResetUserMapOutput() ResetUserMapOutput
func (ResetUserMapOutput) ToResetUserMapOutputWithContext ¶
func (o ResetUserMapOutput) ToResetUserMapOutputWithContext(ctx context.Context) ResetUserMapOutput
type ResetUserOutput ¶
type ResetUserOutput struct{ *pulumi.OutputState }
func (ResetUserOutput) ElementType ¶
func (ResetUserOutput) ElementType() reflect.Type
func (ResetUserOutput) ToResetUserOutput ¶
func (o ResetUserOutput) ToResetUserOutput() ResetUserOutput
func (ResetUserOutput) ToResetUserOutputWithContext ¶
func (o ResetUserOutput) ToResetUserOutputWithContext(ctx context.Context) ResetUserOutput
type ResetUserState ¶
type ResetUserState struct { // User Id. UserId pulumi.IntPtrInput }
func (ResetUserState) ElementType ¶
func (ResetUserState) ElementType() reflect.Type
type Resource ¶
type Resource struct { pulumi.CustomResourceState // Automatic renewal. 1 is auto renew flag, 0 is not. AutoRenewFlag pulumi.IntOutput `pulumi:"autoRenewFlag"` // Subnet segments that require service activation. CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` // Deploy region. DeployRegion pulumi.StringOutput `pulumi:"deployRegion"` // Deploy zone. DeployZone pulumi.StringOutput `pulumi:"deployZone"` // Number of bandwidth expansion packets (4M), The set value is an integer multiple of 4. PackageBandwidth pulumi.IntOutput `pulumi:"packageBandwidth"` // Resource type.Value:standard/pro. ResourceEdition pulumi.StringOutput `pulumi:"resourceEdition"` // Number of resource nodes. ResourceNode pulumi.IntOutput `pulumi:"resourceNode"` // Deploy resource subnetId. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // Billing time. This field is mandatory, with a minimum value of 1. TimeSpan pulumi.IntPtrOutput `pulumi:"timeSpan"` // Billing cycle, only support m: month. This field is mandatory, fill in m. TimeUnit pulumi.StringPtrOutput `pulumi:"timeUnit"` // The network segment corresponding to the VPC that requires service activation. VpcCidrBlock pulumi.StringOutput `pulumi:"vpcCidrBlock"` // Deploy resource vpcId. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a resource to create a dasb resource
## Example Usage
### Create a standard version instance
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewResource(ctx, "example", &Dasb.ResourceArgs{ AutoRenewFlag: pulumi.Int(1), CidrBlock: pulumi.String("10.35.20.0/24"), DeployRegion: pulumi.String("ap-guangzhou"), DeployZone: pulumi.String("ap-guangzhou-6"), PackageBandwidth: pulumi.Int(1), ResourceEdition: pulumi.String("standard"), ResourceNode: pulumi.Int(50), SubnetId: pulumi.String("subnet-g7jhwhi2"), TimeSpan: pulumi.Int(1), TimeUnit: pulumi.String("m"), VpcCidrBlock: pulumi.String("10.35.0.0/16"), VpcId: pulumi.String("vpc-fmz6l9nz"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
### Create a professional instance
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewResource(ctx, "example", &Dasb.ResourceArgs{ AutoRenewFlag: pulumi.Int(1), CidrBlock: pulumi.String("10.35.20.0/24"), DeployRegion: pulumi.String("ap-guangzhou"), DeployZone: pulumi.String("ap-guangzhou-6"), PackageBandwidth: pulumi.Int(1), ResourceEdition: pulumi.String("pro"), ResourceNode: pulumi.Int(50), SubnetId: pulumi.String("subnet-g7jhwhi2"), TimeSpan: pulumi.Int(1), TimeUnit: pulumi.String("m"), VpcCidrBlock: pulumi.String("10.35.0.0/16"), VpcId: pulumi.String("vpc-fmz6l9nz"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb resource can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/resource:Resource example bh-saas-kgckynrt ```
func GetResource ¶
func GetResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceState, opts ...pulumi.ResourceOption) (*Resource, error)
GetResource gets an existing Resource 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 NewResource ¶
func NewResource(ctx *pulumi.Context, name string, args *ResourceArgs, opts ...pulumi.ResourceOption) (*Resource, error)
NewResource registers a new resource with the given unique name, arguments, and options.
func (*Resource) ElementType ¶
func (*Resource) ToResourceOutput ¶
func (i *Resource) ToResourceOutput() ResourceOutput
func (*Resource) ToResourceOutputWithContext ¶
func (i *Resource) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
type ResourceArgs ¶
type ResourceArgs struct { // Automatic renewal. 1 is auto renew flag, 0 is not. AutoRenewFlag pulumi.IntInput // Subnet segments that require service activation. CidrBlock pulumi.StringInput // Deploy region. DeployRegion pulumi.StringInput // Deploy zone. DeployZone pulumi.StringInput // Number of bandwidth expansion packets (4M), The set value is an integer multiple of 4. PackageBandwidth pulumi.IntPtrInput // Resource type.Value:standard/pro. ResourceEdition pulumi.StringInput // Number of resource nodes. ResourceNode pulumi.IntInput // Deploy resource subnetId. SubnetId pulumi.StringInput // Billing time. This field is mandatory, with a minimum value of 1. TimeSpan pulumi.IntPtrInput // Billing cycle, only support m: month. This field is mandatory, fill in m. TimeUnit pulumi.StringPtrInput // The network segment corresponding to the VPC that requires service activation. VpcCidrBlock pulumi.StringInput // Deploy resource vpcId. VpcId pulumi.StringInput }
The set of arguments for constructing a Resource resource.
func (ResourceArgs) ElementType ¶
func (ResourceArgs) ElementType() reflect.Type
type ResourceArray ¶
type ResourceArray []ResourceInput
func (ResourceArray) ElementType ¶
func (ResourceArray) ElementType() reflect.Type
func (ResourceArray) ToResourceArrayOutput ¶
func (i ResourceArray) ToResourceArrayOutput() ResourceArrayOutput
func (ResourceArray) ToResourceArrayOutputWithContext ¶
func (i ResourceArray) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput
type ResourceArrayInput ¶
type ResourceArrayInput interface { pulumi.Input ToResourceArrayOutput() ResourceArrayOutput ToResourceArrayOutputWithContext(context.Context) ResourceArrayOutput }
ResourceArrayInput is an input type that accepts ResourceArray and ResourceArrayOutput values. You can construct a concrete instance of `ResourceArrayInput` via:
ResourceArray{ ResourceArgs{...} }
type ResourceArrayOutput ¶
type ResourceArrayOutput struct{ *pulumi.OutputState }
func (ResourceArrayOutput) ElementType ¶
func (ResourceArrayOutput) ElementType() reflect.Type
func (ResourceArrayOutput) Index ¶
func (o ResourceArrayOutput) Index(i pulumi.IntInput) ResourceOutput
func (ResourceArrayOutput) ToResourceArrayOutput ¶
func (o ResourceArrayOutput) ToResourceArrayOutput() ResourceArrayOutput
func (ResourceArrayOutput) ToResourceArrayOutputWithContext ¶
func (o ResourceArrayOutput) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput
type ResourceInput ¶
type ResourceInput interface { pulumi.Input ToResourceOutput() ResourceOutput ToResourceOutputWithContext(ctx context.Context) ResourceOutput }
type ResourceMap ¶
type ResourceMap map[string]ResourceInput
func (ResourceMap) ElementType ¶
func (ResourceMap) ElementType() reflect.Type
func (ResourceMap) ToResourceMapOutput ¶
func (i ResourceMap) ToResourceMapOutput() ResourceMapOutput
func (ResourceMap) ToResourceMapOutputWithContext ¶
func (i ResourceMap) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput
type ResourceMapInput ¶
type ResourceMapInput interface { pulumi.Input ToResourceMapOutput() ResourceMapOutput ToResourceMapOutputWithContext(context.Context) ResourceMapOutput }
ResourceMapInput is an input type that accepts ResourceMap and ResourceMapOutput values. You can construct a concrete instance of `ResourceMapInput` via:
ResourceMap{ "key": ResourceArgs{...} }
type ResourceMapOutput ¶
type ResourceMapOutput struct{ *pulumi.OutputState }
func (ResourceMapOutput) ElementType ¶
func (ResourceMapOutput) ElementType() reflect.Type
func (ResourceMapOutput) MapIndex ¶
func (o ResourceMapOutput) MapIndex(k pulumi.StringInput) ResourceOutput
func (ResourceMapOutput) ToResourceMapOutput ¶
func (o ResourceMapOutput) ToResourceMapOutput() ResourceMapOutput
func (ResourceMapOutput) ToResourceMapOutputWithContext ¶
func (o ResourceMapOutput) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput
type ResourceOutput ¶
type ResourceOutput struct{ *pulumi.OutputState }
func (ResourceOutput) AutoRenewFlag ¶
func (o ResourceOutput) AutoRenewFlag() pulumi.IntOutput
Automatic renewal. 1 is auto renew flag, 0 is not.
func (ResourceOutput) CidrBlock ¶ added in v0.1.9
func (o ResourceOutput) CidrBlock() pulumi.StringOutput
Subnet segments that require service activation.
func (ResourceOutput) DeployRegion ¶
func (o ResourceOutput) DeployRegion() pulumi.StringOutput
Deploy region.
func (ResourceOutput) DeployZone ¶
func (o ResourceOutput) DeployZone() pulumi.StringOutput
Deploy zone.
func (ResourceOutput) ElementType ¶
func (ResourceOutput) ElementType() reflect.Type
func (ResourceOutput) PackageBandwidth ¶
func (o ResourceOutput) PackageBandwidth() pulumi.IntOutput
Number of bandwidth expansion packets (4M), The set value is an integer multiple of 4.
func (ResourceOutput) ResourceEdition ¶
func (o ResourceOutput) ResourceEdition() pulumi.StringOutput
Resource type.Value:standard/pro.
func (ResourceOutput) ResourceNode ¶
func (o ResourceOutput) ResourceNode() pulumi.IntOutput
Number of resource nodes.
func (ResourceOutput) SubnetId ¶
func (o ResourceOutput) SubnetId() pulumi.StringOutput
Deploy resource subnetId.
func (ResourceOutput) TimeSpan ¶
func (o ResourceOutput) TimeSpan() pulumi.IntPtrOutput
Billing time. This field is mandatory, with a minimum value of 1.
func (ResourceOutput) TimeUnit ¶
func (o ResourceOutput) TimeUnit() pulumi.StringPtrOutput
Billing cycle, only support m: month. This field is mandatory, fill in m.
func (ResourceOutput) ToResourceOutput ¶
func (o ResourceOutput) ToResourceOutput() ResourceOutput
func (ResourceOutput) ToResourceOutputWithContext ¶
func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
func (ResourceOutput) VpcCidrBlock ¶ added in v0.1.9
func (o ResourceOutput) VpcCidrBlock() pulumi.StringOutput
The network segment corresponding to the VPC that requires service activation.
func (ResourceOutput) VpcId ¶
func (o ResourceOutput) VpcId() pulumi.StringOutput
Deploy resource vpcId.
type ResourceState ¶
type ResourceState struct { // Automatic renewal. 1 is auto renew flag, 0 is not. AutoRenewFlag pulumi.IntPtrInput // Subnet segments that require service activation. CidrBlock pulumi.StringPtrInput // Deploy region. DeployRegion pulumi.StringPtrInput // Deploy zone. DeployZone pulumi.StringPtrInput // Number of bandwidth expansion packets (4M), The set value is an integer multiple of 4. PackageBandwidth pulumi.IntPtrInput // Resource type.Value:standard/pro. ResourceEdition pulumi.StringPtrInput // Number of resource nodes. ResourceNode pulumi.IntPtrInput // Deploy resource subnetId. SubnetId pulumi.StringPtrInput // Billing time. This field is mandatory, with a minimum value of 1. TimeSpan pulumi.IntPtrInput // Billing cycle, only support m: month. This field is mandatory, fill in m. TimeUnit pulumi.StringPtrInput // The network segment corresponding to the VPC that requires service activation. VpcCidrBlock pulumi.StringPtrInput // Deploy resource vpcId. VpcId pulumi.StringPtrInput }
func (ResourceState) ElementType ¶
func (ResourceState) ElementType() reflect.Type
type User ¶
type User struct { pulumi.CustomResourceState // Authentication method, 0 - local, 1 - LDAP, 2 - OAuth. If not passed, the default is 0. AuthType pulumi.IntPtrOutput `pulumi:"authType"` // Department ID, such as: 1.2.3. DepartmentId pulumi.StringPtrOutput `pulumi:"departmentId"` // Email. Email pulumi.StringPtrOutput `pulumi:"email"` // The set of user group IDs to which it belongs. GroupIdSets pulumi.IntArrayOutput `pulumi:"groupIdSets"` // Fill in the mainland mobile phone number directly. If it is a number from other countries or regions, enter it in the format of country area code|mobile phone number. For example: +852|xxxxxxxx. Phone pulumi.StringPtrOutput `pulumi:"phone"` // Real name, maximum length 20 characters, cannot contain blank characters. RealName pulumi.StringOutput `pulumi:"realName"` // Username, 3-20 characters, must start with an English letter and cannot contain characters other than letters, numbers, '.', '_', '-'. UserName pulumi.StringOutput `pulumi:"userName"` // User effective time, such as: 2021-09-22T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. ValidateFrom pulumi.StringOutput `pulumi:"validateFrom"` // Access time period limit, a string composed of 0 and 1, length 168 (7 * 24), representing the time period the user is allowed to access in a week. The Nth character in the string represents the Nth hour of the week, 0 - means access is not allowed, 1 - means access is allowed. ValidateTime pulumi.StringPtrOutput `pulumi:"validateTime"` // User expiration time, such as: 2021-09-23T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. ValidateTo pulumi.StringOutput `pulumi:"validateTo"` }
Provides a resource to create a dasb user
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewUser(ctx, "example", &Dasb.UserArgs{ AuthType: pulumi.Int(0), DepartmentId: pulumi.String("1.2"), Email: pulumi.String("demo@tencent.com"), Phone: pulumi.String("+86|18345678782"), RealName: pulumi.String("terraform"), UserName: pulumi.String("tf_example"), ValidateFrom: pulumi.String("2023-09-22T02:00:00+08:00"), ValidateTo: pulumi.String("2023-09-23T03:00:00+08:00"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb user can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/user:User example 134 ```
func GetUser ¶
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User 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 NewUser ¶
func NewUser(ctx *pulumi.Context, name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)
NewUser registers a new resource with the given unique name, arguments, and options.
func (*User) ElementType ¶
func (*User) ToUserOutput ¶
func (i *User) ToUserOutput() UserOutput
func (*User) ToUserOutputWithContext ¶
func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput
type UserArgs ¶
type UserArgs struct { // Authentication method, 0 - local, 1 - LDAP, 2 - OAuth. If not passed, the default is 0. AuthType pulumi.IntPtrInput // Department ID, such as: 1.2.3. DepartmentId pulumi.StringPtrInput // Email. Email pulumi.StringPtrInput // The set of user group IDs to which it belongs. GroupIdSets pulumi.IntArrayInput // Fill in the mainland mobile phone number directly. If it is a number from other countries or regions, enter it in the format of country area code|mobile phone number. For example: +852|xxxxxxxx. Phone pulumi.StringPtrInput // Real name, maximum length 20 characters, cannot contain blank characters. RealName pulumi.StringInput // Username, 3-20 characters, must start with an English letter and cannot contain characters other than letters, numbers, '.', '_', '-'. UserName pulumi.StringInput // User effective time, such as: 2021-09-22T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. ValidateFrom pulumi.StringPtrInput // Access time period limit, a string composed of 0 and 1, length 168 (7 * 24), representing the time period the user is allowed to access in a week. The Nth character in the string represents the Nth hour of the week, 0 - means access is not allowed, 1 - means access is allowed. ValidateTime pulumi.StringPtrInput // User expiration time, such as: 2021-09-23T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. ValidateTo pulumi.StringPtrInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶
type UserArray ¶
type UserArray []UserInput
func (UserArray) ElementType ¶
func (UserArray) ToUserArrayOutput ¶
func (i UserArray) ToUserArrayOutput() UserArrayOutput
func (UserArray) ToUserArrayOutputWithContext ¶
func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserArrayInput ¶
type UserArrayInput interface { pulumi.Input ToUserArrayOutput() UserArrayOutput ToUserArrayOutputWithContext(context.Context) UserArrayOutput }
UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:
UserArray{ UserArgs{...} }
type UserArrayOutput ¶
type UserArrayOutput struct{ *pulumi.OutputState }
func (UserArrayOutput) ElementType ¶
func (UserArrayOutput) ElementType() reflect.Type
func (UserArrayOutput) Index ¶
func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput
func (UserArrayOutput) ToUserArrayOutput ¶
func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput
func (UserArrayOutput) ToUserArrayOutputWithContext ¶
func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserGroup ¶
type UserGroup struct { pulumi.CustomResourceState // ID of the department to which the user group belongs, such as: 1.2.3. DepartmentId pulumi.StringPtrOutput `pulumi:"departmentId"` // User group name, maximum length 32 characters. Name pulumi.StringOutput `pulumi:"name"` }
Provides a resource to create a dasb userGroup
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewUserGroup(ctx, "example", nil) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
### Or
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dasb.NewUserGroup(ctx, "example", &Dasb.UserGroupArgs{ DepartmentId: pulumi.String("1.2"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb user_group can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/userGroup:UserGroup example 16 ```
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 { // ID of the department to which the user group belongs, such as: 1.2.3. DepartmentId pulumi.StringPtrInput // User group name, maximum length 32 characters. Name pulumi.StringPtrInput }
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 UserGroupMembers ¶
type UserGroupMembers struct { pulumi.CustomResourceState // Collection of member user IDs. MemberIdSets pulumi.IntArrayOutput `pulumi:"memberIdSets"` // User Group ID. UserGroupId pulumi.IntOutput `pulumi:"userGroupId"` }
Provides a resource to create a dasb userGroupMembers
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dasb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleUser, err := Dasb.NewUser(ctx, "exampleUser", &Dasb.UserArgs{ UserName: pulumi.String("tf_example"), RealName: pulumi.String("terraform"), Phone: pulumi.String("+86|18345678782"), Email: pulumi.String("demo@tencent.com"), AuthType: pulumi.Int(0), }) if err != nil { return err } exampleUserGroup, err := Dasb.NewUserGroup(ctx, "exampleUserGroup", nil) if err != nil { return err } _, err = Dasb.NewUserGroupMembers(ctx, "exampleUserGroupMembers", &Dasb.UserGroupMembersArgs{ UserGroupId: exampleUserGroup.ID(), MemberIdSets: pulumi.IntArray{ exampleUser.ID(), }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
dasb user_group_members can be imported using the id, e.g.
```sh $ pulumi import tencentcloud:Dasb/userGroupMembers:UserGroupMembers example 3#14 ```
func GetUserGroupMembers ¶
func GetUserGroupMembers(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserGroupMembersState, opts ...pulumi.ResourceOption) (*UserGroupMembers, error)
GetUserGroupMembers gets an existing UserGroupMembers 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 NewUserGroupMembers ¶
func NewUserGroupMembers(ctx *pulumi.Context, name string, args *UserGroupMembersArgs, opts ...pulumi.ResourceOption) (*UserGroupMembers, error)
NewUserGroupMembers registers a new resource with the given unique name, arguments, and options.
func (*UserGroupMembers) ElementType ¶
func (*UserGroupMembers) ElementType() reflect.Type
func (*UserGroupMembers) ToUserGroupMembersOutput ¶
func (i *UserGroupMembers) ToUserGroupMembersOutput() UserGroupMembersOutput
func (*UserGroupMembers) ToUserGroupMembersOutputWithContext ¶
func (i *UserGroupMembers) ToUserGroupMembersOutputWithContext(ctx context.Context) UserGroupMembersOutput
type UserGroupMembersArgs ¶
type UserGroupMembersArgs struct { // Collection of member user IDs. MemberIdSets pulumi.IntArrayInput // User Group ID. UserGroupId pulumi.IntInput }
The set of arguments for constructing a UserGroupMembers resource.
func (UserGroupMembersArgs) ElementType ¶
func (UserGroupMembersArgs) ElementType() reflect.Type
type UserGroupMembersArray ¶
type UserGroupMembersArray []UserGroupMembersInput
func (UserGroupMembersArray) ElementType ¶
func (UserGroupMembersArray) ElementType() reflect.Type
func (UserGroupMembersArray) ToUserGroupMembersArrayOutput ¶
func (i UserGroupMembersArray) ToUserGroupMembersArrayOutput() UserGroupMembersArrayOutput
func (UserGroupMembersArray) ToUserGroupMembersArrayOutputWithContext ¶
func (i UserGroupMembersArray) ToUserGroupMembersArrayOutputWithContext(ctx context.Context) UserGroupMembersArrayOutput
type UserGroupMembersArrayInput ¶
type UserGroupMembersArrayInput interface { pulumi.Input ToUserGroupMembersArrayOutput() UserGroupMembersArrayOutput ToUserGroupMembersArrayOutputWithContext(context.Context) UserGroupMembersArrayOutput }
UserGroupMembersArrayInput is an input type that accepts UserGroupMembersArray and UserGroupMembersArrayOutput values. You can construct a concrete instance of `UserGroupMembersArrayInput` via:
UserGroupMembersArray{ UserGroupMembersArgs{...} }
type UserGroupMembersArrayOutput ¶
type UserGroupMembersArrayOutput struct{ *pulumi.OutputState }
func (UserGroupMembersArrayOutput) ElementType ¶
func (UserGroupMembersArrayOutput) ElementType() reflect.Type
func (UserGroupMembersArrayOutput) Index ¶
func (o UserGroupMembersArrayOutput) Index(i pulumi.IntInput) UserGroupMembersOutput
func (UserGroupMembersArrayOutput) ToUserGroupMembersArrayOutput ¶
func (o UserGroupMembersArrayOutput) ToUserGroupMembersArrayOutput() UserGroupMembersArrayOutput
func (UserGroupMembersArrayOutput) ToUserGroupMembersArrayOutputWithContext ¶
func (o UserGroupMembersArrayOutput) ToUserGroupMembersArrayOutputWithContext(ctx context.Context) UserGroupMembersArrayOutput
type UserGroupMembersInput ¶
type UserGroupMembersInput interface { pulumi.Input ToUserGroupMembersOutput() UserGroupMembersOutput ToUserGroupMembersOutputWithContext(ctx context.Context) UserGroupMembersOutput }
type UserGroupMembersMap ¶
type UserGroupMembersMap map[string]UserGroupMembersInput
func (UserGroupMembersMap) ElementType ¶
func (UserGroupMembersMap) ElementType() reflect.Type
func (UserGroupMembersMap) ToUserGroupMembersMapOutput ¶
func (i UserGroupMembersMap) ToUserGroupMembersMapOutput() UserGroupMembersMapOutput
func (UserGroupMembersMap) ToUserGroupMembersMapOutputWithContext ¶
func (i UserGroupMembersMap) ToUserGroupMembersMapOutputWithContext(ctx context.Context) UserGroupMembersMapOutput
type UserGroupMembersMapInput ¶
type UserGroupMembersMapInput interface { pulumi.Input ToUserGroupMembersMapOutput() UserGroupMembersMapOutput ToUserGroupMembersMapOutputWithContext(context.Context) UserGroupMembersMapOutput }
UserGroupMembersMapInput is an input type that accepts UserGroupMembersMap and UserGroupMembersMapOutput values. You can construct a concrete instance of `UserGroupMembersMapInput` via:
UserGroupMembersMap{ "key": UserGroupMembersArgs{...} }
type UserGroupMembersMapOutput ¶
type UserGroupMembersMapOutput struct{ *pulumi.OutputState }
func (UserGroupMembersMapOutput) ElementType ¶
func (UserGroupMembersMapOutput) ElementType() reflect.Type
func (UserGroupMembersMapOutput) MapIndex ¶
func (o UserGroupMembersMapOutput) MapIndex(k pulumi.StringInput) UserGroupMembersOutput
func (UserGroupMembersMapOutput) ToUserGroupMembersMapOutput ¶
func (o UserGroupMembersMapOutput) ToUserGroupMembersMapOutput() UserGroupMembersMapOutput
func (UserGroupMembersMapOutput) ToUserGroupMembersMapOutputWithContext ¶
func (o UserGroupMembersMapOutput) ToUserGroupMembersMapOutputWithContext(ctx context.Context) UserGroupMembersMapOutput
type UserGroupMembersOutput ¶
type UserGroupMembersOutput struct{ *pulumi.OutputState }
func (UserGroupMembersOutput) ElementType ¶
func (UserGroupMembersOutput) ElementType() reflect.Type
func (UserGroupMembersOutput) MemberIdSets ¶
func (o UserGroupMembersOutput) MemberIdSets() pulumi.IntArrayOutput
Collection of member user IDs.
func (UserGroupMembersOutput) ToUserGroupMembersOutput ¶
func (o UserGroupMembersOutput) ToUserGroupMembersOutput() UserGroupMembersOutput
func (UserGroupMembersOutput) ToUserGroupMembersOutputWithContext ¶
func (o UserGroupMembersOutput) ToUserGroupMembersOutputWithContext(ctx context.Context) UserGroupMembersOutput
func (UserGroupMembersOutput) UserGroupId ¶
func (o UserGroupMembersOutput) UserGroupId() pulumi.IntOutput
User Group ID.
type UserGroupMembersState ¶
type UserGroupMembersState struct { // Collection of member user IDs. MemberIdSets pulumi.IntArrayInput // User Group ID. UserGroupId pulumi.IntPtrInput }
func (UserGroupMembersState) ElementType ¶
func (UserGroupMembersState) ElementType() reflect.Type
type UserGroupOutput ¶
type UserGroupOutput struct{ *pulumi.OutputState }
func (UserGroupOutput) DepartmentId ¶
func (o UserGroupOutput) DepartmentId() pulumi.StringPtrOutput
ID of the department to which the user group belongs, such as: 1.2.3.
func (UserGroupOutput) ElementType ¶
func (UserGroupOutput) ElementType() reflect.Type
func (UserGroupOutput) Name ¶
func (o UserGroupOutput) Name() pulumi.StringOutput
User group name, maximum length 32 characters.
func (UserGroupOutput) ToUserGroupOutput ¶
func (o UserGroupOutput) ToUserGroupOutput() UserGroupOutput
func (UserGroupOutput) ToUserGroupOutputWithContext ¶
func (o UserGroupOutput) ToUserGroupOutputWithContext(ctx context.Context) UserGroupOutput
type UserGroupState ¶
type UserGroupState struct { // ID of the department to which the user group belongs, such as: 1.2.3. DepartmentId pulumi.StringPtrInput // User group name, maximum length 32 characters. Name pulumi.StringPtrInput }
func (UserGroupState) ElementType ¶
func (UserGroupState) ElementType() reflect.Type
type UserInput ¶
type UserInput interface { pulumi.Input ToUserOutput() UserOutput ToUserOutputWithContext(ctx context.Context) UserOutput }
type UserMap ¶
func (UserMap) ElementType ¶
func (UserMap) ToUserMapOutput ¶
func (i UserMap) ToUserMapOutput() UserMapOutput
func (UserMap) ToUserMapOutputWithContext ¶
func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserMapInput ¶
type UserMapInput interface { pulumi.Input ToUserMapOutput() UserMapOutput ToUserMapOutputWithContext(context.Context) UserMapOutput }
UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:
UserMap{ "key": UserArgs{...} }
type UserMapOutput ¶
type UserMapOutput struct{ *pulumi.OutputState }
func (UserMapOutput) ElementType ¶
func (UserMapOutput) ElementType() reflect.Type
func (UserMapOutput) MapIndex ¶
func (o UserMapOutput) MapIndex(k pulumi.StringInput) UserOutput
func (UserMapOutput) ToUserMapOutput ¶
func (o UserMapOutput) ToUserMapOutput() UserMapOutput
func (UserMapOutput) ToUserMapOutputWithContext ¶
func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserOutput ¶
type UserOutput struct{ *pulumi.OutputState }
func (UserOutput) AuthType ¶
func (o UserOutput) AuthType() pulumi.IntPtrOutput
Authentication method, 0 - local, 1 - LDAP, 2 - OAuth. If not passed, the default is 0.
func (UserOutput) DepartmentId ¶
func (o UserOutput) DepartmentId() pulumi.StringPtrOutput
Department ID, such as: 1.2.3.
func (UserOutput) ElementType ¶
func (UserOutput) ElementType() reflect.Type
func (UserOutput) GroupIdSets ¶
func (o UserOutput) GroupIdSets() pulumi.IntArrayOutput
The set of user group IDs to which it belongs.
func (UserOutput) Phone ¶
func (o UserOutput) Phone() pulumi.StringPtrOutput
Fill in the mainland mobile phone number directly. If it is a number from other countries or regions, enter it in the format of country area code|mobile phone number. For example: +852|xxxxxxxx.
func (UserOutput) RealName ¶
func (o UserOutput) RealName() pulumi.StringOutput
Real name, maximum length 20 characters, cannot contain blank characters.
func (UserOutput) ToUserOutput ¶
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
func (UserOutput) UserName ¶
func (o UserOutput) UserName() pulumi.StringOutput
Username, 3-20 characters, must start with an English letter and cannot contain characters other than letters, numbers, '.', '_', '-'.
func (UserOutput) ValidateFrom ¶
func (o UserOutput) ValidateFrom() pulumi.StringOutput
User effective time, such as: 2021-09-22T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time.
func (UserOutput) ValidateTime ¶
func (o UserOutput) ValidateTime() pulumi.StringPtrOutput
Access time period limit, a string composed of 0 and 1, length 168 (7 * 24), representing the time period the user is allowed to access in a week. The Nth character in the string represents the Nth hour of the week, 0 - means access is not allowed, 1 - means access is allowed.
func (UserOutput) ValidateTo ¶
func (o UserOutput) ValidateTo() pulumi.StringOutput
User expiration time, such as: 2021-09-23T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time.
type UserState ¶
type UserState struct { // Authentication method, 0 - local, 1 - LDAP, 2 - OAuth. If not passed, the default is 0. AuthType pulumi.IntPtrInput // Department ID, such as: 1.2.3. DepartmentId pulumi.StringPtrInput // Email. Email pulumi.StringPtrInput // The set of user group IDs to which it belongs. GroupIdSets pulumi.IntArrayInput // Fill in the mainland mobile phone number directly. If it is a number from other countries or regions, enter it in the format of country area code|mobile phone number. For example: +852|xxxxxxxx. Phone pulumi.StringPtrInput // Real name, maximum length 20 characters, cannot contain blank characters. RealName pulumi.StringPtrInput // Username, 3-20 characters, must start with an English letter and cannot contain characters other than letters, numbers, '.', '_', '-'. UserName pulumi.StringPtrInput // User effective time, such as: 2021-09-22T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. ValidateFrom pulumi.StringPtrInput // Access time period limit, a string composed of 0 and 1, length 168 (7 * 24), representing the time period the user is allowed to access in a week. The Nth character in the string represents the Nth hour of the week, 0 - means access is not allowed, 1 - means access is allowed. ValidateTime pulumi.StringPtrInput // User expiration time, such as: 2021-09-23T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. ValidateTo pulumi.StringPtrInput }