ScaleBlockchainPlatformDetails¶
-
class
oci.blockchain.models.
ScaleBlockchainPlatformDetails
(**kwargs)¶ Bases:
object
Scale operation details for a blockchain platform. The scale operation payload has multiple options - Add one or more Ordering Service Node (addOsns) - Add one or more Peers (addPeers) - Add more replicas of CA, Console and Rest Proxy (addReplicas) - Add more storage to the platform (addStorage) - Modify the CPU allocation for Peer Nodes (modifyPeers) - Remove one or more replicas of CA, Console and Rest Proxy (removeReplicas) - Remove one or more Ordering Service Node (removeOsns) - Remove one or more Peers (removePeers). The scale operation payload must have at least one of the above options.
Methods
__init__
(**kwargs)Initializes a new ScaleBlockchainPlatformDetails object with values from keyword arguments. Attributes
add_osns
Gets the add_osns of this ScaleBlockchainPlatformDetails. add_peers
Gets the add_peers of this ScaleBlockchainPlatformDetails. add_replicas
Gets the add_replicas of this ScaleBlockchainPlatformDetails. add_storage
Gets the add_storage of this ScaleBlockchainPlatformDetails. modify_peers
Gets the modify_peers of this ScaleBlockchainPlatformDetails. remove_osns
Gets the remove_osns of this ScaleBlockchainPlatformDetails. remove_peers
Gets the remove_peers of this ScaleBlockchainPlatformDetails. remove_replicas
Gets the remove_replicas of this ScaleBlockchainPlatformDetails. -
__init__
(**kwargs)¶ Initializes a new ScaleBlockchainPlatformDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - add_osns (list[oci.blockchain.models.CreateOsnDetails]) – The value to assign to the add_osns property of this ScaleBlockchainPlatformDetails.
- add_replicas (oci.blockchain.models.ReplicaDetails) – The value to assign to the add_replicas property of this ScaleBlockchainPlatformDetails.
- add_peers (list[oci.blockchain.models.CreatePeerDetails]) – The value to assign to the add_peers property of this ScaleBlockchainPlatformDetails.
- add_storage (oci.blockchain.models.ScaleStorageDetails) – The value to assign to the add_storage property of this ScaleBlockchainPlatformDetails.
- modify_peers (list[oci.blockchain.models.ModifyPeerDetails]) – The value to assign to the modify_peers property of this ScaleBlockchainPlatformDetails.
- remove_replicas (oci.blockchain.models.ReplicaDetails) – The value to assign to the remove_replicas property of this ScaleBlockchainPlatformDetails.
- remove_osns (list[str]) – The value to assign to the remove_osns property of this ScaleBlockchainPlatformDetails.
- remove_peers (list[str]) – The value to assign to the remove_peers property of this ScaleBlockchainPlatformDetails.
-
add_osns
¶ Gets the add_osns of this ScaleBlockchainPlatformDetails. new OSNs to add
Returns: The add_osns of this ScaleBlockchainPlatformDetails. Return type: list[oci.blockchain.models.CreateOsnDetails]
-
add_peers
¶ Gets the add_peers of this ScaleBlockchainPlatformDetails. new Peers to add
Returns: The add_peers of this ScaleBlockchainPlatformDetails. Return type: list[oci.blockchain.models.CreatePeerDetails]
-
add_replicas
¶ Gets the add_replicas of this ScaleBlockchainPlatformDetails.
Returns: The add_replicas of this ScaleBlockchainPlatformDetails. Return type: oci.blockchain.models.ReplicaDetails
-
add_storage
¶ Gets the add_storage of this ScaleBlockchainPlatformDetails.
Returns: The add_storage of this ScaleBlockchainPlatformDetails. Return type: oci.blockchain.models.ScaleStorageDetails
-
modify_peers
¶ Gets the modify_peers of this ScaleBlockchainPlatformDetails. modify ocpu allocation to existing Peers
Returns: The modify_peers of this ScaleBlockchainPlatformDetails. Return type: list[oci.blockchain.models.ModifyPeerDetails]
-
remove_osns
¶ Gets the remove_osns of this ScaleBlockchainPlatformDetails. OSN id list to remove
Returns: The remove_osns of this ScaleBlockchainPlatformDetails. Return type: list[str]
-
remove_peers
¶ Gets the remove_peers of this ScaleBlockchainPlatformDetails. Peer id list to remove
Returns: The remove_peers of this ScaleBlockchainPlatformDetails. Return type: list[str]
-
remove_replicas
¶ Gets the remove_replicas of this ScaleBlockchainPlatformDetails.
Returns: The remove_replicas of this ScaleBlockchainPlatformDetails. Return type: oci.blockchain.models.ReplicaDetails
-