tencentcloud.InviteOrganizationMemberOperation
Explore with Pulumi AI
Provides a resource to create a invite organization member
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.InviteOrganizationMemberOperation("example", {
isAllowQuit: "Allow",
memberUin: 100040906211,
nodeId: 2014419,
permissionIds: [
1,
2,
4,
],
policyType: "Financial",
remark: "Remarks.",
tags: [{
tagKey: "CreateBy",
tagValue: "Terraform",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.InviteOrganizationMemberOperation("example",
is_allow_quit="Allow",
member_uin=100040906211,
node_id=2014419,
permission_ids=[
1,
2,
4,
],
policy_type="Financial",
remark="Remarks.",
tags=[{
"tag_key": "CreateBy",
"tag_value": "Terraform",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewInviteOrganizationMemberOperation(ctx, "example", &tencentcloud.InviteOrganizationMemberOperationArgs{
IsAllowQuit: pulumi.String("Allow"),
MemberUin: pulumi.Float64(100040906211),
NodeId: pulumi.Float64(2014419),
PermissionIds: pulumi.Float64Array{
pulumi.Float64(1),
pulumi.Float64(2),
pulumi.Float64(4),
},
PolicyType: pulumi.String("Financial"),
Remark: pulumi.String("Remarks."),
Tags: tencentcloud.InviteOrganizationMemberOperationTagArray{
&tencentcloud.InviteOrganizationMemberOperationTagArgs{
TagKey: pulumi.String("CreateBy"),
TagValue: pulumi.String("Terraform"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.InviteOrganizationMemberOperation("example", new()
{
IsAllowQuit = "Allow",
MemberUin = 100040906211,
NodeId = 2014419,
PermissionIds = new[]
{
1,
2,
4,
},
PolicyType = "Financial",
Remark = "Remarks.",
Tags = new[]
{
new Tencentcloud.Inputs.InviteOrganizationMemberOperationTagArgs
{
TagKey = "CreateBy",
TagValue = "Terraform",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.InviteOrganizationMemberOperation;
import com.pulumi.tencentcloud.InviteOrganizationMemberOperationArgs;
import com.pulumi.tencentcloud.inputs.InviteOrganizationMemberOperationTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new InviteOrganizationMemberOperation("example", InviteOrganizationMemberOperationArgs.builder()
.isAllowQuit("Allow")
.memberUin("100040906211")
.nodeId(2014419)
.permissionIds(
1,
2,
4)
.policyType("Financial")
.remark("Remarks.")
.tags(InviteOrganizationMemberOperationTagArgs.builder()
.tagKey("CreateBy")
.tagValue("Terraform")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:InviteOrganizationMemberOperation
properties:
isAllowQuit: Allow
memberUin: '100040906211'
nodeId: 2.014419e+06
permissionIds:
- 1
- 2
- 4
policyType: Financial
remark: Remarks.
tags:
- tagKey: CreateBy
tagValue: Terraform
Create InviteOrganizationMemberOperation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InviteOrganizationMemberOperation(name: string, args: InviteOrganizationMemberOperationArgs, opts?: CustomResourceOptions);
@overload
def InviteOrganizationMemberOperation(resource_name: str,
args: InviteOrganizationMemberOperationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InviteOrganizationMemberOperation(resource_name: str,
opts: Optional[ResourceOptions] = None,
member_uin: Optional[float] = None,
node_id: Optional[float] = None,
permission_ids: Optional[Sequence[float]] = None,
policy_type: Optional[str] = None,
auth_files: Optional[Sequence[InviteOrganizationMemberOperationAuthFileArgs]] = None,
invite_organization_member_operation_id: Optional[str] = None,
is_allow_quit: Optional[str] = None,
name: Optional[str] = None,
pay_uin: Optional[str] = None,
relation_auth_name: Optional[str] = None,
remark: Optional[str] = None,
tags: Optional[Sequence[InviteOrganizationMemberOperationTagArgs]] = None)
func NewInviteOrganizationMemberOperation(ctx *Context, name string, args InviteOrganizationMemberOperationArgs, opts ...ResourceOption) (*InviteOrganizationMemberOperation, error)
public InviteOrganizationMemberOperation(string name, InviteOrganizationMemberOperationArgs args, CustomResourceOptions? opts = null)
public InviteOrganizationMemberOperation(String name, InviteOrganizationMemberOperationArgs args)
public InviteOrganizationMemberOperation(String name, InviteOrganizationMemberOperationArgs args, CustomResourceOptions options)
type: tencentcloud:InviteOrganizationMemberOperation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InviteOrganizationMemberOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InviteOrganizationMemberOperationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InviteOrganizationMemberOperationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InviteOrganizationMemberOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InviteOrganizationMemberOperationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InviteOrganizationMemberOperation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InviteOrganizationMemberOperation resource accepts the following input properties:
- Member
Uin double - Invited account Uin.
- Node
Id double - Node ID of the member's department.
- Permission
Ids List<double> - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- Policy
Type string - Relationship strategies. Value taken: Financial.
- Auth
Files List<InviteOrganization Member Operation Auth File> - List of supporting documents of mutual trust entities.
- Invite
Organization stringMember Operation Id - ID of the resource.
- Is
Allow stringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- Name string
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - Pay
Uin string - Payer Uin. Member needs to pay on behalf of.
- Relation
Auth stringName - Name of the real-name subject of mutual trust.
- Remark string
- Remark.
- List<Invite
Organization Member Operation Tag> - List of member tags. Maximum 10.
- Member
Uin float64 - Invited account Uin.
- Node
Id float64 - Node ID of the member's department.
- Permission
Ids []float64 - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- Policy
Type string - Relationship strategies. Value taken: Financial.
- Auth
Files []InviteOrganization Member Operation Auth File Args - List of supporting documents of mutual trust entities.
- Invite
Organization stringMember Operation Id - ID of the resource.
- Is
Allow stringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- Name string
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - Pay
Uin string - Payer Uin. Member needs to pay on behalf of.
- Relation
Auth stringName - Name of the real-name subject of mutual trust.
- Remark string
- Remark.
- []Invite
Organization Member Operation Tag Args - List of member tags. Maximum 10.
- member
Uin Double - Invited account Uin.
- node
Id Double - Node ID of the member's department.
- permission
Ids List<Double> - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy
Type String - Relationship strategies. Value taken: Financial.
- auth
Files List<InviteOrganization Member Operation Auth File> - List of supporting documents of mutual trust entities.
- invite
Organization StringMember Operation Id - ID of the resource.
- is
Allow StringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- name String
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - pay
Uin String - Payer Uin. Member needs to pay on behalf of.
- relation
Auth StringName - Name of the real-name subject of mutual trust.
- remark String
- Remark.
- List<Invite
Organization Member Operation Tag> - List of member tags. Maximum 10.
- member
Uin number - Invited account Uin.
- node
Id number - Node ID of the member's department.
- permission
Ids number[] - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy
Type string - Relationship strategies. Value taken: Financial.
- auth
Files InviteOrganization Member Operation Auth File[] - List of supporting documents of mutual trust entities.
- invite
Organization stringMember Operation Id - ID of the resource.
- is
Allow stringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- name string
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - pay
Uin string - Payer Uin. Member needs to pay on behalf of.
- relation
Auth stringName - Name of the real-name subject of mutual trust.
- remark string
- Remark.
- Invite
Organization Member Operation Tag[] - List of member tags. Maximum 10.
- member_
uin float - Invited account Uin.
- node_
id float - Node ID of the member's department.
- permission_
ids Sequence[float] - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy_
type str - Relationship strategies. Value taken: Financial.
- auth_
files Sequence[InviteOrganization Member Operation Auth File Args] - List of supporting documents of mutual trust entities.
- invite_
organization_ strmember_ operation_ id - ID of the resource.
- is_
allow_ strquit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- name str
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - pay_
uin str - Payer Uin. Member needs to pay on behalf of.
- relation_
auth_ strname - Name of the real-name subject of mutual trust.
- remark str
- Remark.
- Sequence[Invite
Organization Member Operation Tag Args] - List of member tags. Maximum 10.
- member
Uin Number - Invited account Uin.
- node
Id Number - Node ID of the member's department.
- permission
Ids List<Number> - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy
Type String - Relationship strategies. Value taken: Financial.
- auth
Files List<Property Map> - List of supporting documents of mutual trust entities.
- invite
Organization StringMember Operation Id - ID of the resource.
- is
Allow StringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- name String
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - pay
Uin String - Payer Uin. Member needs to pay on behalf of.
- relation
Auth StringName - Name of the real-name subject of mutual trust.
- remark String
- Remark.
- List<Property Map>
- List of member tags. Maximum 10.
Outputs
All input properties are implicitly available as output properties. Additionally, the InviteOrganizationMemberOperation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing InviteOrganizationMemberOperation Resource
Get an existing InviteOrganizationMemberOperation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InviteOrganizationMemberOperationState, opts?: CustomResourceOptions): InviteOrganizationMemberOperation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_files: Optional[Sequence[InviteOrganizationMemberOperationAuthFileArgs]] = None,
invite_organization_member_operation_id: Optional[str] = None,
is_allow_quit: Optional[str] = None,
member_uin: Optional[float] = None,
name: Optional[str] = None,
node_id: Optional[float] = None,
pay_uin: Optional[str] = None,
permission_ids: Optional[Sequence[float]] = None,
policy_type: Optional[str] = None,
relation_auth_name: Optional[str] = None,
remark: Optional[str] = None,
tags: Optional[Sequence[InviteOrganizationMemberOperationTagArgs]] = None) -> InviteOrganizationMemberOperation
func GetInviteOrganizationMemberOperation(ctx *Context, name string, id IDInput, state *InviteOrganizationMemberOperationState, opts ...ResourceOption) (*InviteOrganizationMemberOperation, error)
public static InviteOrganizationMemberOperation Get(string name, Input<string> id, InviteOrganizationMemberOperationState? state, CustomResourceOptions? opts = null)
public static InviteOrganizationMemberOperation get(String name, Output<String> id, InviteOrganizationMemberOperationState state, CustomResourceOptions options)
resources: _: type: tencentcloud:InviteOrganizationMemberOperation get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auth
Files List<InviteOrganization Member Operation Auth File> - List of supporting documents of mutual trust entities.
- Invite
Organization stringMember Operation Id - ID of the resource.
- Is
Allow stringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- Member
Uin double - Invited account Uin.
- Name string
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - Node
Id double - Node ID of the member's department.
- Pay
Uin string - Payer Uin. Member needs to pay on behalf of.
- Permission
Ids List<double> - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- Policy
Type string - Relationship strategies. Value taken: Financial.
- Relation
Auth stringName - Name of the real-name subject of mutual trust.
- Remark string
- Remark.
- List<Invite
Organization Member Operation Tag> - List of member tags. Maximum 10.
- Auth
Files []InviteOrganization Member Operation Auth File Args - List of supporting documents of mutual trust entities.
- Invite
Organization stringMember Operation Id - ID of the resource.
- Is
Allow stringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- Member
Uin float64 - Invited account Uin.
- Name string
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - Node
Id float64 - Node ID of the member's department.
- Pay
Uin string - Payer Uin. Member needs to pay on behalf of.
- Permission
Ids []float64 - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- Policy
Type string - Relationship strategies. Value taken: Financial.
- Relation
Auth stringName - Name of the real-name subject of mutual trust.
- Remark string
- Remark.
- []Invite
Organization Member Operation Tag Args - List of member tags. Maximum 10.
- auth
Files List<InviteOrganization Member Operation Auth File> - List of supporting documents of mutual trust entities.
- invite
Organization StringMember Operation Id - ID of the resource.
- is
Allow StringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- member
Uin Double - Invited account Uin.
- name String
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - node
Id Double - Node ID of the member's department.
- pay
Uin String - Payer Uin. Member needs to pay on behalf of.
- permission
Ids List<Double> - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy
Type String - Relationship strategies. Value taken: Financial.
- relation
Auth StringName - Name of the real-name subject of mutual trust.
- remark String
- Remark.
- List<Invite
Organization Member Operation Tag> - List of member tags. Maximum 10.
- auth
Files InviteOrganization Member Operation Auth File[] - List of supporting documents of mutual trust entities.
- invite
Organization stringMember Operation Id - ID of the resource.
- is
Allow stringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- member
Uin number - Invited account Uin.
- name string
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - node
Id number - Node ID of the member's department.
- pay
Uin string - Payer Uin. Member needs to pay on behalf of.
- permission
Ids number[] - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy
Type string - Relationship strategies. Value taken: Financial.
- relation
Auth stringName - Name of the real-name subject of mutual trust.
- remark string
- Remark.
- Invite
Organization Member Operation Tag[] - List of member tags. Maximum 10.
- auth_
files Sequence[InviteOrganization Member Operation Auth File Args] - List of supporting documents of mutual trust entities.
- invite_
organization_ strmember_ operation_ id - ID of the resource.
- is_
allow_ strquit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- member_
uin float - Invited account Uin.
- name str
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - node_
id float - Node ID of the member's department.
- pay_
uin str - Payer Uin. Member needs to pay on behalf of.
- permission_
ids Sequence[float] - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy_
type str - Relationship strategies. Value taken: Financial.
- relation_
auth_ strname - Name of the real-name subject of mutual trust.
- remark str
- Remark.
- Sequence[Invite
Organization Member Operation Tag Args] - List of member tags. Maximum 10.
- auth
Files List<Property Map> - List of supporting documents of mutual trust entities.
- invite
Organization StringMember Operation Id - ID of the resource.
- is
Allow StringQuit - Whether to allow members to withdraw. Allow: Allow, Disallow: Denied.
- member
Uin Number - Invited account Uin.
- name String
- Member name. The maximum length is 25 characters and supports English letters, numbers, Chinese characters, symbols
+
,@
,&
,.
,[
,]
,-
,:
,,
and enumeration comma. - node
Id Number - Node ID of the member's department.
- pay
Uin String - Payer Uin. Member needs to pay on behalf of.
- permission
Ids List<Number> - List of member financial authority IDs. Values: 1-View bill, 2-View balance, 3-Fund transfer, 4-Consolidated disbursement, 5-Invoice, 6-Benefit inheritance, 7-Proxy payment, 1 and 2 must be default.
- policy
Type String - Relationship strategies. Value taken: Financial.
- relation
Auth StringName - Name of the real-name subject of mutual trust.
- remark String
- Remark.
- List<Property Map>
- List of member tags. Maximum 10.
Supporting Types
InviteOrganizationMemberOperationAuthFile, InviteOrganizationMemberOperationAuthFileArgs
InviteOrganizationMemberOperationTag, InviteOrganizationMemberOperationTagArgs
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.