1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. OrganizationOrgMemberEmail
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.OrganizationOrgMemberEmail

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a organization member email

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.OrganizationOrgMemberEmail("example", {
        countryCode: "86",
        email: "example@tencent.com",
        memberUin: 100033118139,
        phone: "18611111111",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.OrganizationOrgMemberEmail("example",
        country_code="86",
        email="example@tencent.com",
        member_uin=100033118139,
        phone="18611111111")
    
    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.NewOrganizationOrgMemberEmail(ctx, "example", &tencentcloud.OrganizationOrgMemberEmailArgs{
    			CountryCode: pulumi.String("86"),
    			Email:       pulumi.String("example@tencent.com"),
    			MemberUin:   pulumi.Float64(100033118139),
    			Phone:       pulumi.String("18611111111"),
    		})
    		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.OrganizationOrgMemberEmail("example", new()
        {
            CountryCode = "86",
            Email = "example@tencent.com",
            MemberUin = 100033118139,
            Phone = "18611111111",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.OrganizationOrgMemberEmail;
    import com.pulumi.tencentcloud.OrganizationOrgMemberEmailArgs;
    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 OrganizationOrgMemberEmail("example", OrganizationOrgMemberEmailArgs.builder()
                .countryCode("86")
                .email("example@tencent.com")
                .memberUin(100033118139)
                .phone("18611111111")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:OrganizationOrgMemberEmail
        properties:
          countryCode: '86'
          email: example@tencent.com
          memberUin: 1.00033118139e+11
          phone: '18611111111'
    

    Create OrganizationOrgMemberEmail Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OrganizationOrgMemberEmail(name: string, args: OrganizationOrgMemberEmailArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationOrgMemberEmail(resource_name: str,
                                   args: OrganizationOrgMemberEmailArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationOrgMemberEmail(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   country_code: Optional[str] = None,
                                   email: Optional[str] = None,
                                   member_uin: Optional[float] = None,
                                   phone: Optional[str] = None,
                                   organization_org_member_email_id: Optional[str] = None)
    func NewOrganizationOrgMemberEmail(ctx *Context, name string, args OrganizationOrgMemberEmailArgs, opts ...ResourceOption) (*OrganizationOrgMemberEmail, error)
    public OrganizationOrgMemberEmail(string name, OrganizationOrgMemberEmailArgs args, CustomResourceOptions? opts = null)
    public OrganizationOrgMemberEmail(String name, OrganizationOrgMemberEmailArgs args)
    public OrganizationOrgMemberEmail(String name, OrganizationOrgMemberEmailArgs args, CustomResourceOptions options)
    
    type: tencentcloud:OrganizationOrgMemberEmail
    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 OrganizationOrgMemberEmailArgs
    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 OrganizationOrgMemberEmailArgs
    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 OrganizationOrgMemberEmailArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationOrgMemberEmailArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationOrgMemberEmailArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OrganizationOrgMemberEmail 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 OrganizationOrgMemberEmail resource accepts the following input properties:

    CountryCode string
    International region.
    Email string
    Email address.
    MemberUin double
    Member Uin.
    Phone string
    Phone number.
    OrganizationOrgMemberEmailId string
    ID of the resource.
    CountryCode string
    International region.
    Email string
    Email address.
    MemberUin float64
    Member Uin.
    Phone string
    Phone number.
    OrganizationOrgMemberEmailId string
    ID of the resource.
    countryCode String
    International region.
    email String
    Email address.
    memberUin Double
    Member Uin.
    phone String
    Phone number.
    organizationOrgMemberEmailId String
    ID of the resource.
    countryCode string
    International region.
    email string
    Email address.
    memberUin number
    Member Uin.
    phone string
    Phone number.
    organizationOrgMemberEmailId string
    ID of the resource.
    country_code str
    International region.
    email str
    Email address.
    member_uin float
    Member Uin.
    phone str
    Phone number.
    organization_org_member_email_id str
    ID of the resource.
    countryCode String
    International region.
    email String
    Email address.
    memberUin Number
    Member Uin.
    phone String
    Phone number.
    organizationOrgMemberEmailId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OrganizationOrgMemberEmail resource produces the following output properties:

    ApplyTime string
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindId double
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindStatus string
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindTime string
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Description string
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Id string
    The provider-assigned unique ID for this managed resource.
    PhoneBind double
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    ApplyTime string
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindId float64
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindStatus string
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindTime string
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Description string
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Id string
    The provider-assigned unique ID for this managed resource.
    PhoneBind float64
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    applyTime String
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindId Double
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindStatus String
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindTime String
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    description String
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    id String
    The provider-assigned unique ID for this managed resource.
    phoneBind Double
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    applyTime string
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindId number
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindStatus string
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindTime string
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    description string
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    id string
    The provider-assigned unique ID for this managed resource.
    phoneBind number
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    apply_time str
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bind_id float
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bind_status str
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bind_time str
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    description str
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    id str
    The provider-assigned unique ID for this managed resource.
    phone_bind float
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    applyTime String
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindId Number
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindStatus String
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindTime String
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    description String
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    id String
    The provider-assigned unique ID for this managed resource.
    phoneBind Number
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.

    Look up Existing OrganizationOrgMemberEmail Resource

    Get an existing OrganizationOrgMemberEmail 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?: OrganizationOrgMemberEmailState, opts?: CustomResourceOptions): OrganizationOrgMemberEmail
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            apply_time: Optional[str] = None,
            bind_id: Optional[float] = None,
            bind_status: Optional[str] = None,
            bind_time: Optional[str] = None,
            country_code: Optional[str] = None,
            description: Optional[str] = None,
            email: Optional[str] = None,
            member_uin: Optional[float] = None,
            organization_org_member_email_id: Optional[str] = None,
            phone: Optional[str] = None,
            phone_bind: Optional[float] = None) -> OrganizationOrgMemberEmail
    func GetOrganizationOrgMemberEmail(ctx *Context, name string, id IDInput, state *OrganizationOrgMemberEmailState, opts ...ResourceOption) (*OrganizationOrgMemberEmail, error)
    public static OrganizationOrgMemberEmail Get(string name, Input<string> id, OrganizationOrgMemberEmailState? state, CustomResourceOptions? opts = null)
    public static OrganizationOrgMemberEmail get(String name, Output<String> id, OrganizationOrgMemberEmailState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:OrganizationOrgMemberEmail    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.
    The following state arguments are supported:
    ApplyTime string
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindId double
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindStatus string
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindTime string
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    CountryCode string
    International region.
    Description string
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Email string
    Email address.
    MemberUin double
    Member Uin.
    OrganizationOrgMemberEmailId string
    ID of the resource.
    Phone string
    Phone number.
    PhoneBind double
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    ApplyTime string
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindId float64
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindStatus string
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    BindTime string
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    CountryCode string
    International region.
    Description string
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    Email string
    Email address.
    MemberUin float64
    Member Uin.
    OrganizationOrgMemberEmailId string
    ID of the resource.
    Phone string
    Phone number.
    PhoneBind float64
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    applyTime String
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindId Double
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindStatus String
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindTime String
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    countryCode String
    International region.
    description String
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    email String
    Email address.
    memberUin Double
    Member Uin.
    organizationOrgMemberEmailId String
    ID of the resource.
    phone String
    Phone number.
    phoneBind Double
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    applyTime string
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindId number
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindStatus string
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindTime string
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    countryCode string
    International region.
    description string
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    email string
    Email address.
    memberUin number
    Member Uin.
    organizationOrgMemberEmailId string
    ID of the resource.
    phone string
    Phone number.
    phoneBind number
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    apply_time str
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bind_id float
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bind_status str
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bind_time str
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    country_code str
    International region.
    description str
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    email str
    Email address.
    member_uin float
    Member Uin.
    organization_org_member_email_id str
    ID of the resource.
    phone str
    Phone number.
    phone_bind float
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.
    applyTime String
    Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindId Number
    Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindStatus String
    Binding status is not binding: unbound, to be activated: value, successful binding: success, binding failure: failedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    bindTime String
    Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
    countryCode String
    International region.
    description String
    FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
    email String
    Email address.
    memberUin Number
    Member Uin.
    organizationOrgMemberEmailId String
    ID of the resource.
    phone String
    Phone number.
    phoneBind Number
    Safe mobile phone binding state is not bound: 0, has been binded: 1Note: This field may return NULL, indicating that the valid value cannot be obtained.

    Import

    organization member email can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/organizationOrgMemberEmail:OrganizationOrgMemberEmail example 100033118139#132
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack