Data Source: oci_blockchain_peer
This data source provides details about a specific Peer resource in Oracle Cloud Infrastructure Blockchain service.
Gets information about a peer identified by the specific id
Example Usage
data "oci_blockchain_peer" "test_peer" {
#Required
blockchain_platform_id = oci_blockchain_blockchain_platform.test_blockchain_platform.id
peer_id = oci_blockchain_peer.test_peer.id
}
Argument Reference
The following arguments are supported:
blockchain_platform_id
- (Required) Unique service identifier.peer_id
- (Required) Peer identifier.
Attributes Reference
The following attributes are exported:
ad
- Availability Domain of peeralias
- peer aliashost
- Host on which the Peer existsocpu_allocation_param
- OCPU allocation parameterocpu_allocation_number
- Number of OCPU allocation
peer_key
- peer identifierrole
- Peer rolestate
- The current state of the peer.