Basic Usage
resource "alicloud_msc_sub_contact" "default" {
contact_name = "example_value"
position = "CEO"
email = "123@163.com"
mobile = "153xxxxx906"
}
data "alicloud_msc_sub_contact_verification_message" "default" {
contact_id = alicloud_msc_sub_contact.default.id
type = 1
}
The following arguments are supported:
contact_id
- (Required, ForceNew) The ID of the Contact.type
- (Required, ForceNew) How a user receives verification messages. Valid values : 1
, 2
.
1
: Send a verification message through the user's mobile.2
: Send a verification message through the user's mail.The following attributes are exported in addition to the arguments listed above:
status
- The sending status of the message. Valid values : Success
, Failed
.