BrokerShape

class oci.managed_kafka.models.BrokerShape(**kwargs)

Bases: object

Configuration of the broker node.

Methods:

__init__(**kwargs)

Initializes a new BrokerShape object with values from keyword arguments.

Attributes:

node_count

[Required] Gets the node_count of this BrokerShape.

node_shape

Gets the node_shape of this BrokerShape.

ocpu_count

[Required] Gets the ocpu_count of this BrokerShape.

storage_size_in_gbs

Gets the storage_size_in_gbs of this BrokerShape.

__init__(**kwargs)

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

Parameters
  • node_count (int) – The value to assign to the node_count property of this BrokerShape.

  • ocpu_count (int) – The value to assign to the ocpu_count property of this BrokerShape.

  • storage_size_in_gbs (int) – The value to assign to the storage_size_in_gbs property of this BrokerShape.

  • node_shape (str) – The value to assign to the node_shape property of this BrokerShape.

property node_count

[Required] Gets the node_count of this BrokerShape. Number of Kafka broker nodes

Returns

The node_count of this BrokerShape.

Return type

int

property node_shape

Gets the node_shape of this BrokerShape. Node shape for broker is passed as part of cluster creation, similar to VM.Standard.A1.Flex

Returns

The node_shape of this BrokerShape.

Return type

str

property ocpu_count

[Required] Gets the ocpu_count of this BrokerShape. Number of OCPUs per nodes

Returns

The ocpu_count of this BrokerShape.

Return type

int

property storage_size_in_gbs

Gets the storage_size_in_gbs of this BrokerShape. Size of the storage per nodes.

Returns

The storage_size_in_gbs of this BrokerShape.

Return type

int