ExternalClusterNetworkConfiguration¶
- class oci.database_management.models.ExternalClusterNetworkConfiguration(**kwargs)¶
Bases:
objectThe details of a network address configuration in an external cluster.
Attributes:
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration.
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration.
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration.
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration.
Gets the network_number of this ExternalClusterNetworkConfiguration.
Gets the network_type of this ExternalClusterNetworkConfiguration.
Gets the subnet of this ExternalClusterNetworkConfiguration.
Methods:
__init__(**kwargs)Initializes a new ExternalClusterNetworkConfiguration object with values from keyword arguments.
- NETWORK_TYPE_AUTOCONFIG = 'AUTOCONFIG'¶
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration. This constant has a value of “AUTOCONFIG”
- NETWORK_TYPE_DHCP = 'DHCP'¶
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration. This constant has a value of “DHCP”
- NETWORK_TYPE_MIXED = 'MIXED'¶
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration. This constant has a value of “MIXED”
- NETWORK_TYPE_STATIC = 'STATIC'¶
A constant which can be used with the network_type property of a ExternalClusterNetworkConfiguration. This constant has a value of “STATIC”
- __init__(**kwargs)¶
Initializes a new ExternalClusterNetworkConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
network_number (int) – The value to assign to the network_number property of this ExternalClusterNetworkConfiguration.
network_type (str) – The value to assign to the network_type property of this ExternalClusterNetworkConfiguration. Allowed values for this property are: “AUTOCONFIG”, “DHCP”, “STATIC”, “MIXED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
subnet (str) – The value to assign to the subnet property of this ExternalClusterNetworkConfiguration.
- property network_number¶
Gets the network_number of this ExternalClusterNetworkConfiguration. The network number.
- Returns
The network_number of this ExternalClusterNetworkConfiguration.
- Return type
int
- property network_type¶
Gets the network_type of this ExternalClusterNetworkConfiguration. The network type.
Allowed values for this property are: “AUTOCONFIG”, “DHCP”, “STATIC”, “MIXED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The network_type of this ExternalClusterNetworkConfiguration.
- Return type
str
- property subnet¶
Gets the subnet of this ExternalClusterNetworkConfiguration. The subnet for the network.
- Returns
The subnet of this ExternalClusterNetworkConfiguration.
- Return type
str