AsmConnectionString¶
-
class
oci.database_management.models.
AsmConnectionString
(**kwargs)¶ Bases:
object
The ASM instance connection string.
Attributes
PROTOCOL_TCP
A constant which can be used with the protocol property of a AsmConnectionString. hosts
[Required] Gets the hosts of this AsmConnectionString. port
[Required] Gets the port of this AsmConnectionString. protocol
[Required] Gets the protocol of this AsmConnectionString. service
[Required] Gets the service of this AsmConnectionString. Methods
__init__
(**kwargs)Initializes a new AsmConnectionString object with values from keyword arguments. -
PROTOCOL_TCP
= 'TCP'¶ A constant which can be used with the protocol property of a AsmConnectionString. This constant has a value of “TCP”
-
__init__
(**kwargs)¶ Initializes a new AsmConnectionString object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - hosts (list[str]) – The value to assign to the hosts property of this AsmConnectionString.
- port (int) – The value to assign to the port property of this AsmConnectionString.
- service (str) – The value to assign to the service property of this AsmConnectionString.
- protocol (str) – The value to assign to the protocol property of this AsmConnectionString. Allowed values for this property are: “TCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
hosts
¶ [Required] Gets the hosts of this AsmConnectionString. The list of host names of the ASM instances.
Returns: The hosts of this AsmConnectionString. Return type: list[str]
-
port
¶ [Required] Gets the port of this AsmConnectionString. The port used to connect to the ASM instance.
Returns: The port of this AsmConnectionString. Return type: int
-
protocol
¶ [Required] Gets the protocol of this AsmConnectionString. The protocol used to connect to the ASM instance.
Allowed values for this property are: “TCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The protocol of this AsmConnectionString. Return type: str
-
service
¶ [Required] Gets the service of this AsmConnectionString. The service name of the ASM instance.
Returns: The service of this AsmConnectionString. Return type: str
-