ResourceConfiguration

class oci.data_integration.models.ResourceConfiguration(**kwargs)

Bases: object

Properties related to a resource.

Methods:

__init__(**kwargs)

Initializes a new ResourceConfiguration object with values from keyword arguments.

Attributes:

driver_shape

[Required] Gets the driver_shape of this ResourceConfiguration.

executor_shape

[Required] Gets the executor_shape of this ResourceConfiguration.

spark_version

[Required] Gets the spark_version of this ResourceConfiguration.

total_executors

[Required] Gets the total_executors of this ResourceConfiguration.

__init__(**kwargs)

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

Parameters
  • spark_version (str) – The value to assign to the spark_version property of this ResourceConfiguration.

  • driver_shape (str) – The value to assign to the driver_shape property of this ResourceConfiguration.

  • executor_shape (str) – The value to assign to the executor_shape property of this ResourceConfiguration.

  • total_executors (int) – The value to assign to the total_executors property of this ResourceConfiguration.

property driver_shape

[Required] Gets the driver_shape of this ResourceConfiguration. The VM shape of the driver used while creating an Oracle Cloud Infrastructure Data Flow application. It sets the driver cores and memory.

Returns

The driver_shape of this ResourceConfiguration.

Return type

str

property executor_shape

[Required] Gets the executor_shape of this ResourceConfiguration. The shape of the executor used while creating an Oracle Cloud Infrastructure Data Flow application. It sets the executor cores and memory.

Returns

The executor_shape of this ResourceConfiguration.

Return type

str

property spark_version

[Required] Gets the spark_version of this ResourceConfiguration. The version of the spark used while creating an Oracle Cloud Infrastructure Data Flow application.

Returns

The spark_version of this ResourceConfiguration.

Return type

str

property total_executors

[Required] Gets the total_executors of this ResourceConfiguration. Number of executor VMs requested while creating an Oracle Cloud Infrastructure Data Flow application.

Returns

The total_executors of this ResourceConfiguration.

Return type

int