1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. CamMessageReceiver
Viewing docs for tencentcloud 1.83.3
published on Friday, Jun 19, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.3
published on Friday, Jun 19, 2026 by tencentcloudstack

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.CamMessageReceiver("example", {
        name: "tf-example",
        remark: "remark.",
        countryCode: "86",
        phoneNumber: "18123456789",
        email: "demo@qq.com",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.CamMessageReceiver("example",
        name="tf-example",
        remark="remark.",
        country_code="86",
        phone_number="18123456789",
        email="demo@qq.com")
    
    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.NewCamMessageReceiver(ctx, "example", &tencentcloud.CamMessageReceiverArgs{
    			Name:        pulumi.String("tf-example"),
    			Remark:      pulumi.String("remark."),
    			CountryCode: pulumi.String("86"),
    			PhoneNumber: pulumi.String("18123456789"),
    			Email:       pulumi.String("demo@qq.com"),
    		})
    		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.CamMessageReceiver("example", new()
        {
            Name = "tf-example",
            Remark = "remark.",
            CountryCode = "86",
            PhoneNumber = "18123456789",
            Email = "demo@qq.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.CamMessageReceiver;
    import com.pulumi.tencentcloud.CamMessageReceiverArgs;
    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 CamMessageReceiver("example", CamMessageReceiverArgs.builder()
                .name("tf-example")
                .remark("remark.")
                .countryCode("86")
                .phoneNumber("18123456789")
                .email("demo@qq.com")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:CamMessageReceiver
        properties:
          name: tf-example
          remark: remark.
          countryCode: '86'
          phoneNumber: '18123456789'
          email: demo@qq.com
    
    Example coming soon!
    

    Create CamMessageReceiver Resource

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

    Constructor syntax

    new CamMessageReceiver(name: string, args: CamMessageReceiverArgs, opts?: CustomResourceOptions);
    @overload
    def CamMessageReceiver(resource_name: str,
                           args: CamMessageReceiverArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def CamMessageReceiver(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           country_code: Optional[str] = None,
                           email: Optional[str] = None,
                           phone_number: Optional[str] = None,
                           cam_message_receiver_id: Optional[str] = None,
                           name: Optional[str] = None,
                           remark: Optional[str] = None)
    func NewCamMessageReceiver(ctx *Context, name string, args CamMessageReceiverArgs, opts ...ResourceOption) (*CamMessageReceiver, error)
    public CamMessageReceiver(string name, CamMessageReceiverArgs args, CustomResourceOptions? opts = null)
    public CamMessageReceiver(String name, CamMessageReceiverArgs args)
    public CamMessageReceiver(String name, CamMessageReceiverArgs args, CustomResourceOptions options)
    
    type: tencentcloud:CamMessageReceiver
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_cammessagereceiver" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CamMessageReceiverArgs
    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 CamMessageReceiverArgs
    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 CamMessageReceiverArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CamMessageReceiverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CamMessageReceiverArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    CountryCode string
    The international area code for mobile phone numbers is 86 for domestic areas.
    Email string
    Email address, for example: 57*****@qq.com.
    PhoneNumber string
    Mobile phone number, for example: 132****2492.
    CamMessageReceiverId string
    ID of the resource.
    Name string
    Username of the message recipient.
    Remark string
    Recipient's notes.
    CountryCode string
    The international area code for mobile phone numbers is 86 for domestic areas.
    Email string
    Email address, for example: 57*****@qq.com.
    PhoneNumber string
    Mobile phone number, for example: 132****2492.
    CamMessageReceiverId string
    ID of the resource.
    Name string
    Username of the message recipient.
    Remark string
    Recipient's notes.
    country_code string
    The international area code for mobile phone numbers is 86 for domestic areas.
    email string
    Email address, for example: 57*****@qq.com.
    phone_number string
    Mobile phone number, for example: 132****2492.
    cam_message_receiver_id string
    ID of the resource.
    name string
    Username of the message recipient.
    remark string
    Recipient's notes.
    countryCode String
    The international area code for mobile phone numbers is 86 for domestic areas.
    email String
    Email address, for example: 57*****@qq.com.
    phoneNumber String
    Mobile phone number, for example: 132****2492.
    camMessageReceiverId String
    ID of the resource.
    name String
    Username of the message recipient.
    remark String
    Recipient's notes.
    countryCode string
    The international area code for mobile phone numbers is 86 for domestic areas.
    email string
    Email address, for example: 57*****@qq.com.
    phoneNumber string
    Mobile phone number, for example: 132****2492.
    camMessageReceiverId string
    ID of the resource.
    name string
    Username of the message recipient.
    remark string
    Recipient's notes.
    country_code str
    The international area code for mobile phone numbers is 86 for domestic areas.
    email str
    Email address, for example: 57*****@qq.com.
    phone_number str
    Mobile phone number, for example: 132****2492.
    cam_message_receiver_id str
    ID of the resource.
    name str
    Username of the message recipient.
    remark str
    Recipient's notes.
    countryCode String
    The international area code for mobile phone numbers is 86 for domestic areas.
    email String
    Email address, for example: 57*****@qq.com.
    phoneNumber String
    Mobile phone number, for example: 132****2492.
    camMessageReceiverId String
    ID of the resource.
    name String
    Username of the message recipient.
    remark String
    Recipient's notes.

    Outputs

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

    EmailFlag double
    Whether the email is verified.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsReceiverOwner double
    Whether it is the primary contact person.
    PhoneFlag double
    Whether the mobile phone number is verified.
    Uid double
    UID.
    Uin double
    Account uin.
    WechatFlag double
    Whether WeChat is allowed to receive notifications.
    EmailFlag float64
    Whether the email is verified.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsReceiverOwner float64
    Whether it is the primary contact person.
    PhoneFlag float64
    Whether the mobile phone number is verified.
    Uid float64
    UID.
    Uin float64
    Account uin.
    WechatFlag float64
    Whether WeChat is allowed to receive notifications.
    email_flag number
    Whether the email is verified.
    id string
    The provider-assigned unique ID for this managed resource.
    is_receiver_owner number
    Whether it is the primary contact person.
    phone_flag number
    Whether the mobile phone number is verified.
    uid number
    UID.
    uin number
    Account uin.
    wechat_flag number
    Whether WeChat is allowed to receive notifications.
    emailFlag Double
    Whether the email is verified.
    id String
    The provider-assigned unique ID for this managed resource.
    isReceiverOwner Double
    Whether it is the primary contact person.
    phoneFlag Double
    Whether the mobile phone number is verified.
    uid Double
    UID.
    uin Double
    Account uin.
    wechatFlag Double
    Whether WeChat is allowed to receive notifications.
    emailFlag number
    Whether the email is verified.
    id string
    The provider-assigned unique ID for this managed resource.
    isReceiverOwner number
    Whether it is the primary contact person.
    phoneFlag number
    Whether the mobile phone number is verified.
    uid number
    UID.
    uin number
    Account uin.
    wechatFlag number
    Whether WeChat is allowed to receive notifications.
    email_flag float
    Whether the email is verified.
    id str
    The provider-assigned unique ID for this managed resource.
    is_receiver_owner float
    Whether it is the primary contact person.
    phone_flag float
    Whether the mobile phone number is verified.
    uid float
    UID.
    uin float
    Account uin.
    wechat_flag float
    Whether WeChat is allowed to receive notifications.
    emailFlag Number
    Whether the email is verified.
    id String
    The provider-assigned unique ID for this managed resource.
    isReceiverOwner Number
    Whether it is the primary contact person.
    phoneFlag Number
    Whether the mobile phone number is verified.
    uid Number
    UID.
    uin Number
    Account uin.
    wechatFlag Number
    Whether WeChat is allowed to receive notifications.

    Look up Existing CamMessageReceiver Resource

    Get an existing CamMessageReceiver 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?: CamMessageReceiverState, opts?: CustomResourceOptions): CamMessageReceiver
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cam_message_receiver_id: Optional[str] = None,
            country_code: Optional[str] = None,
            email: Optional[str] = None,
            email_flag: Optional[float] = None,
            is_receiver_owner: Optional[float] = None,
            name: Optional[str] = None,
            phone_flag: Optional[float] = None,
            phone_number: Optional[str] = None,
            remark: Optional[str] = None,
            uid: Optional[float] = None,
            uin: Optional[float] = None,
            wechat_flag: Optional[float] = None) -> CamMessageReceiver
    func GetCamMessageReceiver(ctx *Context, name string, id IDInput, state *CamMessageReceiverState, opts ...ResourceOption) (*CamMessageReceiver, error)
    public static CamMessageReceiver Get(string name, Input<string> id, CamMessageReceiverState? state, CustomResourceOptions? opts = null)
    public static CamMessageReceiver get(String name, Output<String> id, CamMessageReceiverState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:CamMessageReceiver    get:      id: ${id}
    import {
      to = tencentcloud_cammessagereceiver.example
      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:
    CamMessageReceiverId string
    ID of the resource.
    CountryCode string
    The international area code for mobile phone numbers is 86 for domestic areas.
    Email string
    Email address, for example: 57*****@qq.com.
    EmailFlag double
    Whether the email is verified.
    IsReceiverOwner double
    Whether it is the primary contact person.
    Name string
    Username of the message recipient.
    PhoneFlag double
    Whether the mobile phone number is verified.
    PhoneNumber string
    Mobile phone number, for example: 132****2492.
    Remark string
    Recipient's notes.
    Uid double
    UID.
    Uin double
    Account uin.
    WechatFlag double
    Whether WeChat is allowed to receive notifications.
    CamMessageReceiverId string
    ID of the resource.
    CountryCode string
    The international area code for mobile phone numbers is 86 for domestic areas.
    Email string
    Email address, for example: 57*****@qq.com.
    EmailFlag float64
    Whether the email is verified.
    IsReceiverOwner float64
    Whether it is the primary contact person.
    Name string
    Username of the message recipient.
    PhoneFlag float64
    Whether the mobile phone number is verified.
    PhoneNumber string
    Mobile phone number, for example: 132****2492.
    Remark string
    Recipient's notes.
    Uid float64
    UID.
    Uin float64
    Account uin.
    WechatFlag float64
    Whether WeChat is allowed to receive notifications.
    cam_message_receiver_id string
    ID of the resource.
    country_code string
    The international area code for mobile phone numbers is 86 for domestic areas.
    email string
    Email address, for example: 57*****@qq.com.
    email_flag number
    Whether the email is verified.
    is_receiver_owner number
    Whether it is the primary contact person.
    name string
    Username of the message recipient.
    phone_flag number
    Whether the mobile phone number is verified.
    phone_number string
    Mobile phone number, for example: 132****2492.
    remark string
    Recipient's notes.
    uid number
    UID.
    uin number
    Account uin.
    wechat_flag number
    Whether WeChat is allowed to receive notifications.
    camMessageReceiverId String
    ID of the resource.
    countryCode String
    The international area code for mobile phone numbers is 86 for domestic areas.
    email String
    Email address, for example: 57*****@qq.com.
    emailFlag Double
    Whether the email is verified.
    isReceiverOwner Double
    Whether it is the primary contact person.
    name String
    Username of the message recipient.
    phoneFlag Double
    Whether the mobile phone number is verified.
    phoneNumber String
    Mobile phone number, for example: 132****2492.
    remark String
    Recipient's notes.
    uid Double
    UID.
    uin Double
    Account uin.
    wechatFlag Double
    Whether WeChat is allowed to receive notifications.
    camMessageReceiverId string
    ID of the resource.
    countryCode string
    The international area code for mobile phone numbers is 86 for domestic areas.
    email string
    Email address, for example: 57*****@qq.com.
    emailFlag number
    Whether the email is verified.
    isReceiverOwner number
    Whether it is the primary contact person.
    name string
    Username of the message recipient.
    phoneFlag number
    Whether the mobile phone number is verified.
    phoneNumber string
    Mobile phone number, for example: 132****2492.
    remark string
    Recipient's notes.
    uid number
    UID.
    uin number
    Account uin.
    wechatFlag number
    Whether WeChat is allowed to receive notifications.
    cam_message_receiver_id str
    ID of the resource.
    country_code str
    The international area code for mobile phone numbers is 86 for domestic areas.
    email str
    Email address, for example: 57*****@qq.com.
    email_flag float
    Whether the email is verified.
    is_receiver_owner float
    Whether it is the primary contact person.
    name str
    Username of the message recipient.
    phone_flag float
    Whether the mobile phone number is verified.
    phone_number str
    Mobile phone number, for example: 132****2492.
    remark str
    Recipient's notes.
    uid float
    UID.
    uin float
    Account uin.
    wechat_flag float
    Whether WeChat is allowed to receive notifications.
    camMessageReceiverId String
    ID of the resource.
    countryCode String
    The international area code for mobile phone numbers is 86 for domestic areas.
    email String
    Email address, for example: 57*****@qq.com.
    emailFlag Number
    Whether the email is verified.
    isReceiverOwner Number
    Whether it is the primary contact person.
    name String
    Username of the message recipient.
    phoneFlag Number
    Whether the mobile phone number is verified.
    phoneNumber String
    Mobile phone number, for example: 132****2492.
    remark String
    Recipient's notes.
    uid Number
    UID.
    uin Number
    Account uin.
    wechatFlag Number
    Whether WeChat is allowed to receive notifications.

    Import

    CAM message receiver can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/camMessageReceiver:CamMessageReceiver example tf-example
    

    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.
    Viewing docs for tencentcloud 1.83.3
    published on Friday, Jun 19, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial