SMN.Subscription
Element Description
The SMN.Subscription element is used to subscribe for SMN.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
remark |
No |
Remarks Type: string Value Description: The value must be a character string in UTF-8 format. Otherwise, Chinese characters cannot be displayed. |
endpoint |
Yes |
Access point for receiving messages Type: string Value Description: For the HTTP protocol, the access point must start with http://. For the HTTPS protocol, the access point must start with https://. For the email protocol, the access point must be an email address. For the SMS protocol, the access point must be a phone number. |
protocol |
Yes |
The way endpoint pushes Type: string Value Description: Currently only supported ["email", "sms", "http", "https"] Default: email Value Constraint: Supports "email", "sms", "http", "https" |
topicUrn |
Yes |
Unique resource Identification of the topic. Type: string Value Description: Supports an English character string, such as c51567523b744d098a8a81ede51894ac:gcs-haha. |
Relationships Between Elements
Description |
Target |
---|---|
ContainedIn |
Return Value
Property |
Type |
Description |
---|---|---|
topicUrn |
string |
Unique resource Identification of topic |
subscriptionUrn |
string |
Unique resource Identification of the subscription |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 inputs: smns33gi_topicUrn: description: Unique resource Identification of the topic label: '' smns33gi_endpoint: description: Access point for receiving messages label: '' node_templates: smns33gi: type: HuaweiCloud.SMN.Subscription properties: topicUrn: get_input: smns33gi_topicUrn endpoint: get_input: smns33gi_endpoint protocol: email
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot