CreatePeerDetails¶
-
class
oci.blockchain.models.
CreatePeerDetails
(**kwargs)¶ Bases:
object
The Peer details to be added
Methods
__init__
(**kwargs)Initializes a new CreatePeerDetails object with values from keyword arguments. Attributes
ad
[Required] Gets the ad of this CreatePeerDetails. alias
Gets the alias of this CreatePeerDetails. ocpu_allocation_param
[Required] Gets the ocpu_allocation_param of this CreatePeerDetails. role
[Required] Gets the role of this CreatePeerDetails. -
__init__
(**kwargs)¶ Initializes a new CreatePeerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - role (str) – The value to assign to the role property of this CreatePeerDetails.
- alias (str) – The value to assign to the alias property of this CreatePeerDetails.
- ocpu_allocation_param (oci.blockchain.models.OcpuAllocationNumberParam) – The value to assign to the ocpu_allocation_param property of this CreatePeerDetails.
- ad (str) – The value to assign to the ad property of this CreatePeerDetails.
-
ad
¶ [Required] Gets the ad of this CreatePeerDetails. Availability Domain to place new peer
Returns: The ad of this CreatePeerDetails. Return type: str
-
alias
¶ Gets the alias of this CreatePeerDetails. peer alias
Returns: The alias of this CreatePeerDetails. Return type: str
-
ocpu_allocation_param
¶ [Required] Gets the ocpu_allocation_param of this CreatePeerDetails.
Returns: The ocpu_allocation_param of this CreatePeerDetails. Return type: oci.blockchain.models.OcpuAllocationNumberParam
-
role
¶ [Required] Gets the role of this CreatePeerDetails. Peer role
Returns: The role of this CreatePeerDetails. Return type: str
-