GcpNodes¶
-
class
oci.dbmulticloud.models.GcpNodes(**kwargs)¶ Bases:
objectGCP Identity Connector node details.
Attributes
STATUS_CONNECTEDA constant which can be used with the status property of a GcpNodes. STATUS_DISCONNECTEDA constant which can be used with the status property of a GcpNodes. STATUS_UNKNOWNA constant which can be used with the status property of a GcpNodes. host_idGets the host_id of this GcpNodes. host_nameGets the host_name of this GcpNodes. statusGets the status of this GcpNodes. time_last_checkedGets the time_last_checked of this GcpNodes. Methods
__init__(**kwargs)Initializes a new GcpNodes object with values from keyword arguments. -
STATUS_CONNECTED= 'CONNECTED'¶ A constant which can be used with the status property of a GcpNodes. This constant has a value of “CONNECTED”
-
STATUS_DISCONNECTED= 'DISCONNECTED'¶ A constant which can be used with the status property of a GcpNodes. This constant has a value of “DISCONNECTED”
-
STATUS_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the status property of a GcpNodes. This constant has a value of “UNKNOWN”
-
__init__(**kwargs)¶ Initializes a new GcpNodes object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - host_name (str) – The value to assign to the host_name property of this GcpNodes.
- host_id (str) – The value to assign to the host_id property of this GcpNodes.
- status (str) – The value to assign to the status property of this GcpNodes. Allowed values for this property are: “CONNECTED”, “DISCONNECTED”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_last_checked (datetime) – The value to assign to the time_last_checked property of this GcpNodes.
-
host_id¶ Gets the host_id of this GcpNodes. Host ID.
Returns: The host_id of this GcpNodes. Return type: str
-
host_name¶ Gets the host_name of this GcpNodes. Host Name or Identity Connector name.
Returns: The host_name of this GcpNodes. Return type: str
-
status¶ Gets the status of this GcpNodes. The current status of the GCP Identity Connector resource.
Allowed values for this property are: “CONNECTED”, “DISCONNECTED”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this GcpNodes. Return type: str
-