Skip to content

AclProps

Properties for defining a Acl.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-acl

Initializer

using AlibabaCloud.SDK.ROS.CDK.Rocketmq5;
new AclProps {
    object Actions,
    object Decision,
    object InstanceId,
    object ResourceName,
    object ResourceType,
    object Username,
    object IpWhitelists = null
};

Properties

Name Type Description
Actions object Property actions: The type of operation authorized.
Decision object Property decision: The decision result of the authorization.
InstanceId object Property instanceId: The ID of the RocketMQ instance.
ResourceName object Property resourceName: The name of the resource on which you want to grant permissions.
ResourceType object Property resourceType: The type of the resource on which you want to grant permissions.
Username object Property username: The username of the account.
IpWhitelists object Property ipWhitelists: The IP addresses in the whitelist.

ActionsRequired

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

Property actions: The type of operation authorized.


DecisionRequired

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

Property decision: The decision result of the authorization.

Valid values:

  • Deny: Access is denied.
  • Allow: Allow access.

InstanceIdRequired

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

Property instanceId: The ID of the RocketMQ instance.


ResourceNameRequired

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

Property resourceName: The name of the resource on which you want to grant permissions.


ResourceTypeRequired

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

Property resourceType: The type of the resource on which you want to grant permissions.

Valid values:

  • Group: consumer Group.
  • Topic: Topic.

UsernameRequired

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

Property username: The username of the account.


IpWhitelistsOptional

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

Property ipWhitelists: The IP addresses in the whitelist.