Preview Scale Blockchain Platform
/20191010/blockchainPlatforms/{blockchainPlatformId}/actions/scale/preview
Request
- application/json
-
blockchainPlatformId(required): string
Unique service identifier.
-
opc-request-id: string
The client request ID for tracing.
object
- Add one or more ordering service nodes (addOsns)
- Add one or more peers (addPeers)
- Add more replicas of CA, console and REST proxy nodes (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 nodes (removeReplicas)
- Remove one or more ordering service nodes (removeOsns)
- Remove one or more peers (removePeers)
-
addOsns:
array addOsns
New OSNs to add
-
addPeers:
array addPeers
New peers to add
-
addReplicas:
object ReplicaDetails
Number of replicas of service components like REST Proxy, CA and Console
-
addStorage:
object ScaleStorageDetails
Storage size to increase
-
modifyPeers:
array modifyPeers
Modify OCPU allocation to existing peers
-
removeOsns:
array removeOsns
OSN ID list to remove
-
removePeers:
array removePeers
Peer ID list to remove
-
removeReplicas:
object ReplicaDetails
Number of replicas of service components like REST Proxy, CA and Console
array
-
Array of:
object CreateOsnDetails
The ordering service node details to be added
array
-
Array of:
object CreatePeerDetails
The peer details to be added
object
-
caCount:
integer
Minimum Value:
1
Maximum Value:10
Number of CA replicas -
consoleCount:
integer
Minimum Value:
1
Maximum Value:10
Number of console replicas -
proxyCount:
integer
Minimum Value:
1
Maximum Value:10
Number of REST proxy replicas
object
-
storageSizeInTBs(required):
integer
Minimum Value:
1
Maximum Value:96
Storage size in TBs
array
-
Array of:
object ModifyPeerDetails
Peer to modify OCPU allocation
object
-
ad(required):
string
Availability domain for the new OSN. Options are AD1/AD2/AD3.
For a single availability domain region, instead of spreading resources across availability domains, they are spread across fault domains. The availability domain number that you select will be mapped to one of the three fault domains available in each availability domain.
-
ocpuAllocationParam:
object OcpuAllocationNumberParam
OCPU allocation parameter
object
-
ocpuAllocationNumber(required):
number(float)
Minimum Value:
0
Maximum Value:64
Number of OCPU allocation
object
-
ad(required):
string
Availability domain to place new peer. Options are AD1/AD2/AD3.
For a single availability domain region, instead of spreading resources across availability domains, they are spread across fault domains. The availability domain number that you select will be mapped to one of the three fault domains available in each availability domain.
-
alias:
string
Minimum Length:
1
Maximum Length:16
peer alias -
ocpuAllocationParam(required):
object OcpuAllocationNumberParam
OCPU allocation parameter
-
role(required):
string
Peer role
object
-
ocpuAllocationParam(required):
object OcpuAllocationNumberParam
OCPU allocation parameter
-
peerName(required):
string
Minimum Length:
1
Maximum Length:64
Peer identifier
Response
- application/json
200 Response
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
compartmentId(required):
string
Compartment identifier
-
componentDetails:
object BlockchainPlatformComponentDetails
Blockchain Platform component details.
-
componentDetailsPostScaling:
object BlockchainPlatformComponentDetails
Blockchain Platform component details.
-
computeShape(required):
string
Type of compute shape: STANDARD, ENTERPRISE_SMALL, ENTERPRISE_MEDIUM, ENTERPRISE_LARGE, ENTERPRISE_EXTRA_LARGE, ENTERPRISE_CUSTOM, DIGITAL_ASSETS_MEDIUM, DIGITAL_ASSETS_LARGE, or DIGITAL_ASSETS_EXTRA_LARGE.
-
description:
string
Blockchain Platform instance description
-
displayName(required):
string
Blockchain Platform instance display name. Can be renamed.
-
hostOcpuUtilizationInfo:
array hostOcpuUtilizationInfo
List of OCPU utilization for all hosts
-
hostOcpuUtilizationInfoPostScaling:
array hostOcpuUtilizationInfoPostScaling
List of OCPU utilization for all hosts post-scaling
-
id(required):
string
Unique identifier that is immutable on creation
-
meteringPreview:
object ScaledPlatformMeteringPreview
Blockchain Platform metering preview after scaling
-
newVmCount:
integer
Number of new VMs that would be created
-
replicas:
object ReplicaDetails
Number of replicas of service components like REST Proxy, CA and Console
-
replicasPostScaling:
object ReplicaDetails
Number of replicas of service components like REST Proxy, CA and Console
-
scalePayload:
object ScaleBlockchainPlatformDetails
Scale operation details for a Blockchain Platform. The scale operation payload has multiple options:
- Add one or more ordering service nodes (addOsns)
- Add one or more peers (addPeers)
- Add more replicas of CA, console and REST proxy nodes (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 nodes (removeReplicas)
- Remove one or more ordering service nodes (removeOsns)
- Remove one or more peers (removePeers)
-
storageSizeInTBs:
number(double)
Storage size in TBs
-
storageSizeInTBsPostScaling:
number(double)
Storage size in TBs post-scaling
object
-
osns:
array osns
List of OSNs
-
peers:
array peers
List of Peers
array
-
Array of:
object OcpuUtilizationInfo
OCPU utilization for a VM host
array
-
Array of:
object OcpuUtilizationInfo
OCPU utilization for a VM host
object
-
extraStorageMeteredUnits:
number(double)
Extra Storage units required in TBs
-
storageMeteredUnits:
number(double)
Current Storage metered units in TBs
-
storageMeteredUnitsPostScaling:
number(double)
Total Post Scaling Storage metered units in TBs
-
totalOcpuAllocation:
number(float)
Number of total OCPU allocation for the Blockchain Platform
-
totalOcpuAllocationPostScaling:
number(float)
Number of total OCPU allocation for the Blockchain Platform after scaling
object
-
caCount:
integer
Minimum Value:
1
Maximum Value:10
Number of CA replicas -
consoleCount:
integer
Minimum Value:
1
Maximum Value:10
Number of console replicas -
proxyCount:
integer
Minimum Value:
1
Maximum Value:10
Number of REST proxy replicas
object
- Add one or more ordering service nodes (addOsns)
- Add one or more peers (addPeers)
- Add more replicas of CA, console and REST proxy nodes (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 nodes (removeReplicas)
- Remove one or more ordering service nodes (removeOsns)
- Remove one or more peers (removePeers)
-
addOsns:
array addOsns
New OSNs to add
-
addPeers:
array addPeers
New peers to add
-
addReplicas:
object ReplicaDetails
Number of replicas of service components like REST Proxy, CA and Console
-
addStorage:
object ScaleStorageDetails
Storage size to increase
-
modifyPeers:
array modifyPeers
Modify OCPU allocation to existing peers
-
removeOsns:
array removeOsns
OSN ID list to remove
-
removePeers:
array removePeers
Peer ID list to remove
-
removeReplicas:
object ReplicaDetails
Number of replicas of service components like REST Proxy, CA and Console
array
-
Array of:
object Osn
Ordering Service Node details
object
-
ad(required):
string
Availability domain for the OSN. Options are AD1/AD2/AD3.
For a single availability domain region, instead of spreading resources across availability domains, they are spread across fault domains. The availability domain number is mapped to one of the three fault domains available in each availability domain.
-
lifecycleState:
string
Allowed Values:
[ "ACTIVE", "INACTIVE", "FAILED" ]
The current state of the OSN. -
ocpuAllocationParam:
object OcpuAllocationNumberParam
OCPU allocation parameter
-
osnKey(required):
string
Minimum Length:
1
Maximum Length:255
OSN identifier
object
-
ocpuAllocationNumber(required):
number(float)
Minimum Value:
0
Maximum Value:64
Number of OCPU allocation
object
-
ad(required):
string
Availability domain of the peer. Options are AD1/AD2/AD3.
For a single availability domain region, instead of spreading resources across availability domains, they are spread across fault domains. The availability domain number of the peer is mapped to one of the three fault domains available in each availability domain.
-
alias:
string
peer alias
-
host(required):
string
Host on which the peer exists
-
lifecycleState:
string
Allowed Values:
[ "ACTIVE", "INACTIVE", "FAILED" ]
The current state of the peer. -
ocpuAllocationParam:
object OcpuAllocationNumberParam
OCPU allocation parameter
-
peerKey(required):
string
Minimum Length:
1
Maximum Length:255
peer identifier -
role(required):
string
Peer role
object
-
host:
string
Host name of VM
-
ocpuCapacityNumber:
number(float)
Number of total OCPU capacity on the host
-
ocpuUtilizationNumber:
number(float)
Number of OCPUs utilized
array
-
Array of:
object CreateOsnDetails
The ordering service node details to be added
array
-
Array of:
object CreatePeerDetails
The peer details to be added
object
-
storageSizeInTBs(required):
integer
Minimum Value:
1
Maximum Value:96
Storage size in TBs
array
-
Array of:
object ModifyPeerDetails
Peer to modify OCPU allocation
object
-
ad(required):
string
Availability domain for the new OSN. Options are AD1/AD2/AD3.
For a single availability domain region, instead of spreading resources across availability domains, they are spread across fault domains. The availability domain number that you select will be mapped to one of the three fault domains available in each availability domain.
-
ocpuAllocationParam:
object OcpuAllocationNumberParam
OCPU allocation parameter
object
-
ad(required):
string
Availability domain to place new peer. Options are AD1/AD2/AD3.
For a single availability domain region, instead of spreading resources across availability domains, they are spread across fault domains. The availability domain number that you select will be mapped to one of the three fault domains available in each availability domain.
-
alias:
string
Minimum Length:
1
Maximum Length:16
peer alias -
ocpuAllocationParam(required):
object OcpuAllocationNumberParam
OCPU allocation parameter
-
role(required):
string
Peer role
object
-
ocpuAllocationParam(required):
object OcpuAllocationNumberParam
OCPU allocation parameter
-
peerName(required):
string
Minimum Length:
1
Maximum Length:64
Peer identifier
400 Response
401 Response
404 Response
429 Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
Default Response
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.