NodeGroupDetails

class oci.data_science.models.NodeGroupDetails(**kwargs)

Bases: object

Details of Node Group

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a NodeGroupDetails.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a NodeGroupDetails.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a NodeGroupDetails.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a NodeGroupDetails.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a NodeGroupDetails.

lifecycle_details

Gets the lifecycle_details of this NodeGroupDetails.

lifecycle_state

[Required] Gets the lifecycle_state of this NodeGroupDetails.

name

[Required] Gets the name of this NodeGroupDetails.

Methods:

__init__(**kwargs)

Initializes a new NodeGroupDetails object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this NodeGroupDetails.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NodeGroupDetails. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “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 NodeGroupDetails.

property lifecycle_details

Gets the lifecycle_details of this NodeGroupDetails. The state details of the node group.

Returns

The lifecycle_details of this NodeGroupDetails.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this NodeGroupDetails. The state of the node group.

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

Returns

The lifecycle_state of this NodeGroupDetails.

Return type

str

property name

[Required] Gets the name of this NodeGroupDetails. node group name.

Returns

The name of this NodeGroupDetails.

Return type

str