CreatePeerDetails¶
- class oci.blockchain.models.CreatePeerDetails(**kwargs)¶
Bases:
objectThe Peer details to be added
Methods:
__init__(**kwargs)Initializes a new CreatePeerDetails object with values from keyword arguments.
Attributes:
[Required] Gets the ad of this CreatePeerDetails.
Gets the alias of this CreatePeerDetails.
[Required] Gets the ocpu_allocation_param of this CreatePeerDetails.
[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.
- property ad¶
[Required] Gets the ad of this CreatePeerDetails. Availability Domain to place new peer
- Returns
The ad of this CreatePeerDetails.
- Return type
str
- property alias¶
Gets the alias of this CreatePeerDetails. peer alias
- Returns
The alias of this CreatePeerDetails.
- Return type
str
- property ocpu_allocation_param¶
[Required] Gets the ocpu_allocation_param of this CreatePeerDetails.
- Returns
The ocpu_allocation_param of this CreatePeerDetails.
- Return type
- property role¶
[Required] Gets the role of this CreatePeerDetails. Peer role
- Returns
The role of this CreatePeerDetails.
- Return type
str