This data source provides the CR Endpoint Acl Service of the current Alibaba Cloud user.
For information about Event Bridge and how to use it, see What is CR Endpoint Acl.
Basic Usage
data "alicloud_cr_endpoint_acl_service" "example" {
endpoint_type = "internet"
enable = true
instance_id = "example_id"
module_name = "Registry"
}
The following arguments are supported:
endpoint_type
- (Required, ForceNew) The type of endpoint. Valid values: internet
.enable
- (Optional) Whether to enable Acl Service, Setting the value to true
to enable the acl service. Valid values: true
and false
.instance_id
- (Required, ForceNew) The ID of the CR Instance.module_name
- (Optional, ForceNew) The ModuleName. Valid values: Registry
.The following attributes are exported in addition to the arguments listed above:
service
- A list of Cr Endpoint Acl Service. Each element contains the following attributes:
enable
- Whether to enable Acl Service. Valid values: true
and false
.endpoint_type
- The type of endpoint. Valid values: internet
.id
- The ID of the Endpoint Acl Service.instance_id
- The ID of the CR Instance.status
- The status of the resource.