tencentcloud.OrganizationOrgMemberEmail
Explore with Pulumi AI
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:
- Country
Code string - International region.
- Email string
- Email address.
- Member
Uin double - Member Uin.
- Phone string
- Phone number.
- Organization
Org stringMember Email Id - ID of the resource.
- Country
Code string - International region.
- Email string
- Email address.
- Member
Uin float64 - Member Uin.
- Phone string
- Phone number.
- Organization
Org stringMember Email Id - ID of the resource.
- country
Code String - International region.
- email String
- Email address.
- member
Uin Double - Member Uin.
- phone String
- Phone number.
- organization
Org StringMember Email Id - ID of the resource.
- country
Code string - International region.
- email string
- Email address.
- member
Uin number - Member Uin.
- phone string
- Phone number.
- organization
Org stringMember Email Id - ID of the resource.
- country_
code str - International region.
- email str
- Email address.
- member_
uin float - Member Uin.
- phone str
- Phone number.
- organization_
org_ strmember_ email_ id - ID of the resource.
- country
Code String - International region.
- email String
- Email address.
- member
Uin Number - Member Uin.
- phone String
- Phone number.
- organization
Org StringMember Email Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationOrgMemberEmail resource produces the following output properties:
- Apply
Time string - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Id double - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Status 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.
- Bind
Time 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.
- Phone
Bind 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.
- Apply
Time string - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Id float64 - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Status 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.
- Bind
Time 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.
- Phone
Bind 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.
- apply
Time String - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Id Double - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Status 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.
- bind
Time 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.
- phone
Bind 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.
- apply
Time string - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Id number - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Status 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.
- bind
Time 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.
- phone
Bind 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.
- apply
Time String - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Id Number - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Status 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.
- bind
Time 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.
- phone
Bind 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.
- Apply
Time string - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Id double - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Status 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.
- Bind
Time string - Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Country
Code string - International region.
- Description string
- FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Email string
- Email address.
- Member
Uin double - Member Uin.
- Organization
Org stringMember Email Id - ID of the resource.
- Phone string
- Phone number.
- Phone
Bind 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.
- Apply
Time string - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Id float64 - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Bind
Status 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.
- Bind
Time string - Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Country
Code string - International region.
- Description string
- FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
- Email string
- Email address.
- Member
Uin float64 - Member Uin.
- Organization
Org stringMember Email Id - ID of the resource.
- Phone string
- Phone number.
- Phone
Bind 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.
- apply
Time String - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Id Double - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Status 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.
- bind
Time String - Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- country
Code String - International region.
- description String
- FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
- email String
- Email address.
- member
Uin Double - Member Uin.
- organization
Org StringMember Email Id - ID of the resource.
- phone String
- Phone number.
- phone
Bind 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.
- apply
Time string - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Id number - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Status 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.
- bind
Time string - Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- country
Code string - International region.
- description string
- FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
- email string
- Email address.
- member
Uin number - Member Uin.
- organization
Org stringMember Email Id - ID of the resource.
- phone string
- Phone number.
- phone
Bind 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_ strmember_ email_ id - 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.
- apply
Time String - Application timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Id Number - Binding IDNote: This field may return NULL, indicating that the valid value cannot be obtained.
- bind
Status 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.
- bind
Time String - Binding timeNote: This field may return NULL, indicating that the valid value cannot be obtained.
- country
Code String - International region.
- description String
- FailedNote: This field may return NULL, indicating that the valid value cannot be obtained.
- email String
- Email address.
- member
Uin Number - Member Uin.
- organization
Org StringMember Email Id - ID of the resource.
- phone String
- Phone number.
- phone
Bind 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.