Skip to content

CallbackProps

Properties for defining a Callback.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-callback

Initializer

using AlibabaCloud.SDK.ROS.CDK.Aligreen;
new CallbackProps {
    object CallbackName,
    object CallbackSuggestions,
    object CallbackTypes,
    object CallbackUrl,
    object CryptType = null
};

Properties

Name Type Description
CallbackName object Property callbackName: The Callback name defined by the customer.
CallbackSuggestions object Property callbackSuggestions: List of audit results supported by message notification.
CallbackTypes object Property callbackTypes: A list of Callback types.
CallbackUrl object Property callbackUrl: The detection result will be called back to the url.
CryptType object Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the Aliyun Green Service to your business service.

CallbackNameRequired

public object CallbackName { get; set; }
  • Type: object

Property callbackName: The Callback name defined by the customer.

It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.


CallbackSuggestionsRequired

public object CallbackSuggestions { get; set; }
  • Type: object

Property callbackSuggestions: List of audit results supported by message notification.

Value: block: confirmed violation, review: Suspected violation, pass: normal.


CallbackTypesRequired

public object CallbackTypes { get; set; }
  • Type: object

Property callbackTypes: A list of Callback types.

Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.


CallbackUrlRequired

public object CallbackUrl { get; set; }
  • Type: object

Property callbackUrl: The detection result will be called back to the url.


CryptTypeOptional

public object CryptType { get; set; }
  • Type: object

Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the Aliyun Green Service to your business service.

Value: 0:SHA256,1: SM3.