NodeDetails

class oci.database.models.NodeDetails(**kwargs)

Bases: object

Node details associated with a network.

Attributes

LIFECYCLE_STATE_ALLOCATED A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_REQUIRES_VALIDATION A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_VALIDATED A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_VALIDATING A constant which can be used with the lifecycle_state property of a NodeDetails.
LIFECYCLE_STATE_VALIDATION_FAILED A constant which can be used with the lifecycle_state property of a NodeDetails.
db_server_id Gets the db_server_id of this NodeDetails.
hostname [Required] Gets the hostname of this NodeDetails.
ip [Required] Gets the ip of this NodeDetails.
lifecycle_state Gets the lifecycle_state of this NodeDetails.
vip Gets the vip of this NodeDetails.
vip_hostname Gets the vip_hostname of this NodeDetails.

Methods

__init__(**kwargs) Initializes a new NodeDetails object with values from keyword arguments.
LIFECYCLE_STATE_ALLOCATED = 'ALLOCATED'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_REQUIRES_VALIDATION = 'REQUIRES_VALIDATION'

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

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

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

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

LIFECYCLE_STATE_VALIDATED = 'VALIDATED'

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

LIFECYCLE_STATE_VALIDATING = 'VALIDATING'

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

LIFECYCLE_STATE_VALIDATION_FAILED = 'VALIDATION_FAILED'

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

__init__(**kwargs)

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

Parameters:
  • hostname (str) – The value to assign to the hostname property of this NodeDetails.
  • ip (str) – The value to assign to the ip property of this NodeDetails.
  • vip_hostname (str) – The value to assign to the vip_hostname property of this NodeDetails.
  • vip (str) – The value to assign to the vip property of this NodeDetails.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NodeDetails. Allowed values for this property are: “CREATING”, “REQUIRES_VALIDATION”, “VALIDATING”, “VALIDATED”, “VALIDATION_FAILED”, “UPDATING”, “ALLOCATED”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • db_server_id (str) – The value to assign to the db_server_id property of this NodeDetails.
db_server_id

Gets the db_server_id of this NodeDetails. The Db server associated with the node.

Returns:The db_server_id of this NodeDetails.
Return type:str
hostname

[Required] Gets the hostname of this NodeDetails. The node host name.

Returns:The hostname of this NodeDetails.
Return type:str
ip

[Required] Gets the ip of this NodeDetails. The node IP address.

Returns:The ip of this NodeDetails.
Return type:str
lifecycle_state

Gets the lifecycle_state of this NodeDetails. The current state of the VM cluster network nodes. CREATING - The resource is being created REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated. VALIDATING - The resource is being validated and not available to use. VALIDATED - The resource is validated and is available for consumption by VM cluster. VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected. UPDATING - The resource is being updated and not available to use. ALLOCATED - The resource is currently being used by VM cluster. TERMINATING - The resource is being deleted and not available to use. TERMINATED - The resource is deleted and unavailable. FAILED - The resource is in a failed state due to validation or other errors.

Allowed values for this property are: “CREATING”, “REQUIRES_VALIDATION”, “VALIDATING”, “VALIDATED”, “VALIDATION_FAILED”, “UPDATING”, “ALLOCATED”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this NodeDetails.
Return type:str
vip

Gets the vip of this NodeDetails. The node virtual IP (VIP) address.

Returns:The vip of this NodeDetails.
Return type:str
vip_hostname

Gets the vip_hostname of this NodeDetails. The node virtual IP (VIP) host name.

Returns:The vip_hostname of this NodeDetails.
Return type:str