BlockchainPlatform

class oci.blockchain.models.BlockchainPlatform(**kwargs)

Bases: object

Blockchain Platform Instance Description.

Attributes

COMPUTE_SHAPE_ENTERPRISE_CUSTOM A constant which can be used with the compute_shape property of a BlockchainPlatform.
COMPUTE_SHAPE_ENTERPRISE_EXTRA_LARGE A constant which can be used with the compute_shape property of a BlockchainPlatform.
COMPUTE_SHAPE_ENTERPRISE_LARGE A constant which can be used with the compute_shape property of a BlockchainPlatform.
COMPUTE_SHAPE_ENTERPRISE_MEDIUM A constant which can be used with the compute_shape property of a BlockchainPlatform.
COMPUTE_SHAPE_ENTERPRISE_SMALL A constant which can be used with the compute_shape property of a BlockchainPlatform.
COMPUTE_SHAPE_STANDARD A constant which can be used with the compute_shape property of a BlockchainPlatform.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LIFECYCLE_STATE_SCALING A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a BlockchainPlatform.
LOAD_BALANCER_SHAPE_LB_100_MBPS A constant which can be used with the load_balancer_shape property of a BlockchainPlatform.
LOAD_BALANCER_SHAPE_LB_400_MBPS A constant which can be used with the load_balancer_shape property of a BlockchainPlatform.
PLATFORM_ROLE_FOUNDER A constant which can be used with the platform_role property of a BlockchainPlatform.
PLATFORM_ROLE_PARTICIPANT A constant which can be used with the platform_role property of a BlockchainPlatform.
PLATFORM_SHAPE_TYPE_CUSTOM A constant which can be used with the platform_shape_type property of a BlockchainPlatform.
PLATFORM_SHAPE_TYPE_DEFAULT A constant which can be used with the platform_shape_type property of a BlockchainPlatform.
compartment_id [Required] Gets the compartment_id of this BlockchainPlatform.
component_details Gets the component_details of this BlockchainPlatform.
compute_shape [Required] Gets the compute_shape of this BlockchainPlatform.
defined_tags Gets the defined_tags of this BlockchainPlatform.
description Gets the description of this BlockchainPlatform.
display_name [Required] Gets the display_name of this BlockchainPlatform.
freeform_tags Gets the freeform_tags of this BlockchainPlatform.
host_ocpu_utilization_info Gets the host_ocpu_utilization_info of this BlockchainPlatform.
id [Required] Gets the id of this BlockchainPlatform.
is_byol Gets the is_byol of this BlockchainPlatform.
is_multi_ad Gets the is_multi_ad of this BlockchainPlatform.
lifecycle_details Gets the lifecycle_details of this BlockchainPlatform.
lifecycle_state Gets the lifecycle_state of this BlockchainPlatform.
load_balancer_shape Gets the load_balancer_shape of this BlockchainPlatform.
platform_role [Required] Gets the platform_role of this BlockchainPlatform.
platform_shape_type Gets the platform_shape_type of this BlockchainPlatform.
platform_version Gets the platform_version of this BlockchainPlatform.
replicas Gets the replicas of this BlockchainPlatform.
service_endpoint Gets the service_endpoint of this BlockchainPlatform.
service_version Gets the service_version of this BlockchainPlatform.
storage_size_in_tbs Gets the storage_size_in_tbs of this BlockchainPlatform.
storage_used_in_t_bs Gets the storage_used_in_t_bs of this BlockchainPlatform.
time_created Gets the time_created of this BlockchainPlatform.
time_updated Gets the time_updated of this BlockchainPlatform.
total_ocpu_capacity Gets the total_ocpu_capacity of this BlockchainPlatform.

Methods

__init__(**kwargs) Initializes a new BlockchainPlatform object with values from keyword arguments.
COMPUTE_SHAPE_ENTERPRISE_CUSTOM = 'ENTERPRISE_CUSTOM'

A constant which can be used with the compute_shape property of a BlockchainPlatform. This constant has a value of “ENTERPRISE_CUSTOM”

COMPUTE_SHAPE_ENTERPRISE_EXTRA_LARGE = 'ENTERPRISE_EXTRA_LARGE'

A constant which can be used with the compute_shape property of a BlockchainPlatform. This constant has a value of “ENTERPRISE_EXTRA_LARGE”

COMPUTE_SHAPE_ENTERPRISE_LARGE = 'ENTERPRISE_LARGE'

A constant which can be used with the compute_shape property of a BlockchainPlatform. This constant has a value of “ENTERPRISE_LARGE”

COMPUTE_SHAPE_ENTERPRISE_MEDIUM = 'ENTERPRISE_MEDIUM'

A constant which can be used with the compute_shape property of a BlockchainPlatform. This constant has a value of “ENTERPRISE_MEDIUM”

COMPUTE_SHAPE_ENTERPRISE_SMALL = 'ENTERPRISE_SMALL'

A constant which can be used with the compute_shape property of a BlockchainPlatform. This constant has a value of “ENTERPRISE_SMALL”

COMPUTE_SHAPE_STANDARD = 'STANDARD'

A constant which can be used with the compute_shape property of a BlockchainPlatform. This constant has a value of “STANDARD”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_SCALING = 'SCALING'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “SCALING”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a BlockchainPlatform. This constant has a value of “UPDATING”

LOAD_BALANCER_SHAPE_LB_100_MBPS = 'LB_100_MBPS'

A constant which can be used with the load_balancer_shape property of a BlockchainPlatform. This constant has a value of “LB_100_MBPS”

LOAD_BALANCER_SHAPE_LB_400_MBPS = 'LB_400_MBPS'

A constant which can be used with the load_balancer_shape property of a BlockchainPlatform. This constant has a value of “LB_400_MBPS”

PLATFORM_ROLE_FOUNDER = 'FOUNDER'

A constant which can be used with the platform_role property of a BlockchainPlatform. This constant has a value of “FOUNDER”

PLATFORM_ROLE_PARTICIPANT = 'PARTICIPANT'

A constant which can be used with the platform_role property of a BlockchainPlatform. This constant has a value of “PARTICIPANT”

PLATFORM_SHAPE_TYPE_CUSTOM = 'CUSTOM'

A constant which can be used with the platform_shape_type property of a BlockchainPlatform. This constant has a value of “CUSTOM”

PLATFORM_SHAPE_TYPE_DEFAULT = 'DEFAULT'

A constant which can be used with the platform_shape_type property of a BlockchainPlatform. This constant has a value of “DEFAULT”

__init__(**kwargs)

Initializes a new BlockchainPlatform object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this BlockchainPlatform.
  • display_name (str) – The value to assign to the display_name property of this BlockchainPlatform.
  • compartment_id (str) – The value to assign to the compartment_id property of this BlockchainPlatform.
  • description (str) – The value to assign to the description property of this BlockchainPlatform.
  • is_byol (bool) – The value to assign to the is_byol property of this BlockchainPlatform.
  • time_created (datetime) – The value to assign to the time_created property of this BlockchainPlatform.
  • time_updated (datetime) – The value to assign to the time_updated property of this BlockchainPlatform.
  • platform_version (str) – The value to assign to the platform_version property of this BlockchainPlatform.
  • service_version (str) – The value to assign to the service_version property of this BlockchainPlatform.
  • platform_role (str) – The value to assign to the platform_role property of this BlockchainPlatform. Allowed values for this property are: “FOUNDER”, “PARTICIPANT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • compute_shape (str) – The value to assign to the compute_shape property of this BlockchainPlatform. Allowed values for this property are: “STANDARD”, “ENTERPRISE_SMALL”, “ENTERPRISE_MEDIUM”, “ENTERPRISE_LARGE”, “ENTERPRISE_EXTRA_LARGE”, “ENTERPRISE_CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • platform_shape_type (str) – The value to assign to the platform_shape_type property of this BlockchainPlatform. Allowed values for this property are: “DEFAULT”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • load_balancer_shape (str) – The value to assign to the load_balancer_shape property of this BlockchainPlatform. Allowed values for this property are: “LB_100_MBPS”, “LB_400_MBPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • service_endpoint (str) – The value to assign to the service_endpoint property of this BlockchainPlatform.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this BlockchainPlatform. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “SCALING”, “INACTIVE”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this BlockchainPlatform.
  • storage_size_in_tbs (float) – The value to assign to the storage_size_in_tbs property of this BlockchainPlatform.
  • storage_used_in_t_bs (float) – The value to assign to the storage_used_in_t_bs property of this BlockchainPlatform.
  • is_multi_ad (bool) – The value to assign to the is_multi_ad property of this BlockchainPlatform.
  • total_ocpu_capacity (int) – The value to assign to the total_ocpu_capacity property of this BlockchainPlatform.
  • component_details (oci.blockchain.models.BlockchainPlatformComponentDetails) – The value to assign to the component_details property of this BlockchainPlatform.
  • replicas (oci.blockchain.models.ReplicaDetails) – The value to assign to the replicas property of this BlockchainPlatform.
  • host_ocpu_utilization_info (list[oci.blockchain.models.OcpuUtilizationInfo]) – The value to assign to the host_ocpu_utilization_info property of this BlockchainPlatform.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BlockchainPlatform.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BlockchainPlatform.
compartment_id

[Required] Gets the compartment_id of this BlockchainPlatform. Compartment Identifier

Returns:The compartment_id of this BlockchainPlatform.
Return type:str
component_details

Gets the component_details of this BlockchainPlatform.

Returns:The component_details of this BlockchainPlatform.
Return type:oci.blockchain.models.BlockchainPlatformComponentDetails
compute_shape

[Required] Gets the compute_shape of this BlockchainPlatform. Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM

Allowed values for this property are: “STANDARD”, “ENTERPRISE_SMALL”, “ENTERPRISE_MEDIUM”, “ENTERPRISE_LARGE”, “ENTERPRISE_EXTRA_LARGE”, “ENTERPRISE_CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The compute_shape of this BlockchainPlatform.
Return type:str
defined_tags

Gets the defined_tags of this BlockchainPlatform. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this BlockchainPlatform.
Return type:dict(str, dict(str, object))
description

Gets the description of this BlockchainPlatform. Platform Instance Description

Returns:The description of this BlockchainPlatform.
Return type:str
display_name

[Required] Gets the display_name of this BlockchainPlatform. Platform Instance Display name, can be renamed

Returns:The display_name of this BlockchainPlatform.
Return type:str
freeform_tags

Gets the freeform_tags of this BlockchainPlatform. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this BlockchainPlatform.
Return type:dict(str, str)
host_ocpu_utilization_info

Gets the host_ocpu_utilization_info of this BlockchainPlatform. List of OcpuUtilization for all hosts

Returns:The host_ocpu_utilization_info of this BlockchainPlatform.
Return type:list[oci.blockchain.models.OcpuUtilizationInfo]
id

[Required] Gets the id of this BlockchainPlatform. unique identifier that is immutable on creation

Returns:The id of this BlockchainPlatform.
Return type:str
is_byol

Gets the is_byol of this BlockchainPlatform. Bring your own license

Returns:The is_byol of this BlockchainPlatform.
Return type:bool
is_multi_ad

Gets the is_multi_ad of this BlockchainPlatform. True for multi-AD blockchain plaforms, false for single-AD

Returns:The is_multi_ad of this BlockchainPlatform.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this BlockchainPlatform. An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns:The lifecycle_details of this BlockchainPlatform.
Return type:str
lifecycle_state

Gets the lifecycle_state of this BlockchainPlatform. The current state of the Platform Instance.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “SCALING”, “INACTIVE”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this BlockchainPlatform.
Return type:str
load_balancer_shape

Gets the load_balancer_shape of this BlockchainPlatform. Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.

Allowed values for this property are: “LB_100_MBPS”, “LB_400_MBPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The load_balancer_shape of this BlockchainPlatform.
Return type:str
platform_role

[Required] Gets the platform_role of this BlockchainPlatform. Role of platform - FOUNDER or PARTICIPANT

Allowed values for this property are: “FOUNDER”, “PARTICIPANT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The platform_role of this BlockchainPlatform.
Return type:str
platform_shape_type

Gets the platform_shape_type of this BlockchainPlatform. Type of Platform shape - DEFAULT or CUSTOM

Allowed values for this property are: “DEFAULT”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The platform_shape_type of this BlockchainPlatform.
Return type:str
platform_version

Gets the platform_version of this BlockchainPlatform. Platform Version

Returns:The platform_version of this BlockchainPlatform.
Return type:str
replicas

Gets the replicas of this BlockchainPlatform.

Returns:The replicas of this BlockchainPlatform.
Return type:oci.blockchain.models.ReplicaDetails
service_endpoint

Gets the service_endpoint of this BlockchainPlatform. Service endpoint URL, valid post-provisioning

Returns:The service_endpoint of this BlockchainPlatform.
Return type:str
service_version

Gets the service_version of this BlockchainPlatform. The version of the Platform Instance.

Returns:The service_version of this BlockchainPlatform.
Return type:str
storage_size_in_tbs

Gets the storage_size_in_tbs of this BlockchainPlatform. Storage size in TBs

Returns:The storage_size_in_tbs of this BlockchainPlatform.
Return type:float
storage_used_in_t_bs

Gets the storage_used_in_t_bs of this BlockchainPlatform. Storage used in TBs

Returns:The storage_used_in_t_bs of this BlockchainPlatform.
Return type:float
time_created

Gets the time_created of this BlockchainPlatform. The time the the Platform Instance was created. An RFC3339 formatted datetime string

Returns:The time_created of this BlockchainPlatform.
Return type:datetime
time_updated

Gets the time_updated of this BlockchainPlatform. The time the Platform Instance was updated. An RFC3339 formatted datetime string

Returns:The time_updated of this BlockchainPlatform.
Return type:datetime
total_ocpu_capacity

Gets the total_ocpu_capacity of this BlockchainPlatform. Number of total OCPUs allocated to the platform cluster

Returns:The total_ocpu_capacity of this BlockchainPlatform.
Return type:int