MessageCallbackProps
Properties for defining a MessageCallback
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vod-messagecallback
Initializer
using AlibabaCloud.SDK.ROS.CDK.Vod;
new MessageCallbackProps {
object CallbackType,
object AppId = null,
object AuthKey = null,
object AuthSwitch = null,
object CallbackUrl = null,
object EventTypeList = null,
object MnsEndpoint = null,
object MnsQueueName = null
};
Properties
Name | Type | Description |
---|---|---|
CallbackType |
object |
Property callbackType: Callback method. |
AppId |
object |
Property appId: App ID. |
AuthKey |
object |
Property authKey: Authentication Key, up to 32 characters, must contain both uppercase and lowercase letters and numbers. |
AuthSwitch |
object |
Property authSwitch: The authentication switch of the HTTP callback, this parameter is valid when the callback method is set to HTTP. |
CallbackUrl |
object |
Property callbackUrl: Callback address. |
EventTypeList |
object |
Property eventTypeList: Callback event type. |
MnsEndpoint |
object |
Property mnsEndpoint: This parameter needs to be set when the callback method is MNS for the message queue public network endpoint. |
MnsQueueName |
object |
Property mnsQueueName: The name of the message queue, which can be viewed in the queue list by logging in to the message service console. |
CallbackType
Required
public object CallbackType { get; set; }
- Type: object
Property callbackType: Callback method.
AppId
Optional
public object AppId { get; set; }
- Type: object
Property appId: App ID.
If it is not passed, it is the ID of the default application of the system, with a fixed value: app-1000000.
AuthKey
Optional
public object AuthKey { get; set; }
- Type: object
Property authKey: Authentication Key, up to 32 characters, must contain both uppercase and lowercase letters and numbers.
This parameter can be set when the callback method is HTTP.
AuthSwitch
Optional
public object AuthSwitch { get; set; }
- Type: object
Property authSwitch: The authentication switch of the HTTP callback, this parameter is valid when the callback method is set to HTTP.
CallbackUrl
Optional
public object CallbackUrl { get; set; }
- Type: object
Property callbackUrl: Callback address.
When the callback method is HTTP, this parameter needs to be set. The length of the callback address URL cannot exceed 256 bytes, and setting multiple callback addresses is not supported.
EventTypeList
Optional
public object EventTypeList { get; set; }
- Type: object
Property eventTypeList: Callback event type.
When the value is empty, all message notifications are turned off, and when the value is ALL, all message notifications are turned on. You can also specify to enable certain message notifications, and use a comma (,) to separate multiple event types.
MnsEndpoint
Optional
public object MnsEndpoint { get; set; }
- Type: object
Property mnsEndpoint: This parameter needs to be set when the callback method is MNS for the message queue public network endpoint.
You can log in to the message service console and click the Get Endpoint button in the upper right corner to get it.
MnsQueueName
Optional
public object MnsQueueName { get; set; }
- Type: object
Property mnsQueueName: The name of the message queue, which can be viewed in the queue list by logging in to the message service console.
When the callback method is MNS, this parameter needs to be set.