This data source provides the list of Peers in Oracle Cloud Infrastructure Blockchain service.
List Blockchain Platform Peers
data "oci_blockchain_peers" "test_peers" {
#Required
blockchain_platform_id = oci_blockchain_blockchain_platform.test_blockchain_platform.id
#Optional
display_name = var.peer_display_name
}
The following arguments are supported:
blockchain_platform_id
- (Required) Unique service identifier.display_name
- (Optional) A user-friendly name. Does not have to be unique, and it's changeable. Example: My new resource
The following attributes are exported:
peer_collection
- The list of peer_collection.The following attributes are exported:
ad
- Availability Domain of peeralias
- peer aliashost
- Host on which the Peer existsocpu_allocation_param
- OCPU allocation parameter
ocpu_allocation_number
- Number of OCPU allocationpeer_key
- peer identifierrole
- Peer rolestate
- The current state of the peer.