ExternalClusterScanListenerConfiguration¶
-
class
oci.database_management.models.ExternalClusterScanListenerConfiguration(**kwargs)¶ Bases:
objectThe details of a SCAN listener in an external cluster.
Attributes
SCAN_PROTOCOL_TCPA constant which can be used with the scan_protocol property of a ExternalClusterScanListenerConfiguration. SCAN_PROTOCOL_TCPSA constant which can be used with the scan_protocol property of a ExternalClusterScanListenerConfiguration. network_numberGets the network_number of this ExternalClusterScanListenerConfiguration. scan_nameGets the scan_name of this ExternalClusterScanListenerConfiguration. scan_portGets the scan_port of this ExternalClusterScanListenerConfiguration. scan_protocolGets the scan_protocol of this ExternalClusterScanListenerConfiguration. Methods
__init__(**kwargs)Initializes a new ExternalClusterScanListenerConfiguration object with values from keyword arguments. -
SCAN_PROTOCOL_TCP= 'TCP'¶ A constant which can be used with the scan_protocol property of a ExternalClusterScanListenerConfiguration. This constant has a value of “TCP”
-
SCAN_PROTOCOL_TCPS= 'TCPS'¶ A constant which can be used with the scan_protocol property of a ExternalClusterScanListenerConfiguration. This constant has a value of “TCPS”
-
__init__(**kwargs)¶ Initializes a new ExternalClusterScanListenerConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - scan_name (str) – The value to assign to the scan_name property of this ExternalClusterScanListenerConfiguration.
- network_number (int) – The value to assign to the network_number property of this ExternalClusterScanListenerConfiguration.
- scan_port (int) – The value to assign to the scan_port property of this ExternalClusterScanListenerConfiguration.
- scan_protocol (str) – The value to assign to the scan_protocol property of this ExternalClusterScanListenerConfiguration. Allowed values for this property are: “TCP”, “TCPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
network_number¶ Gets the network_number of this ExternalClusterScanListenerConfiguration. The network number from which SCAN VIPs are obtained.
Returns: The network_number of this ExternalClusterScanListenerConfiguration. Return type: int
-
scan_name¶ Gets the scan_name of this ExternalClusterScanListenerConfiguration. The name of the SCAN listener.
Returns: The scan_name of this ExternalClusterScanListenerConfiguration. Return type: str
-
scan_port¶ Gets the scan_port of this ExternalClusterScanListenerConfiguration. The port number of the SCAN listener.
Returns: The scan_port of this ExternalClusterScanListenerConfiguration. Return type: int
-
scan_protocol¶ Gets the scan_protocol of this ExternalClusterScanListenerConfiguration. The protocol of the SCAN listener.
Allowed values for this property are: “TCP”, “TCPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The scan_protocol of this ExternalClusterScanListenerConfiguration. Return type: str
-