NetworkConfiguration¶
- class oci.apm_synthetics.models.NetworkConfiguration(**kwargs)¶
Bases:
objectDetails of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.
Attributes:
A constant which can be used with the probe_mode property of a NetworkConfiguration.
A constant which can be used with the probe_mode property of a NetworkConfiguration.
A constant which can be used with the protocol property of a NetworkConfiguration.
A constant which can be used with the protocol property of a NetworkConfiguration.
Gets the number_of_hops of this NetworkConfiguration.
Gets the probe_mode of this NetworkConfiguration.
Gets the probe_per_hop of this NetworkConfiguration.
Gets the protocol of this NetworkConfiguration.
Gets the transmission_rate of this NetworkConfiguration.
Methods:
__init__(**kwargs)Initializes a new NetworkConfiguration object with values from keyword arguments.
- PROBE_MODE_SACK = 'SACK'¶
A constant which can be used with the probe_mode property of a NetworkConfiguration. This constant has a value of “SACK”
- PROBE_MODE_SYN = 'SYN'¶
A constant which can be used with the probe_mode property of a NetworkConfiguration. This constant has a value of “SYN”
- PROTOCOL_ICMP = 'ICMP'¶
A constant which can be used with the protocol property of a NetworkConfiguration. This constant has a value of “ICMP”
- PROTOCOL_TCP = 'TCP'¶
A constant which can be used with the protocol property of a NetworkConfiguration. This constant has a value of “TCP”
- __init__(**kwargs)¶
Initializes a new NetworkConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
number_of_hops (int) – The value to assign to the number_of_hops property of this NetworkConfiguration.
probe_per_hop (int) – The value to assign to the probe_per_hop property of this NetworkConfiguration.
transmission_rate (int) – The value to assign to the transmission_rate property of this NetworkConfiguration.
protocol (str) – The value to assign to the protocol property of this NetworkConfiguration. Allowed values for this property are: “ICMP”, “TCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
probe_mode (str) – The value to assign to the probe_mode property of this NetworkConfiguration. Allowed values for this property are: “SACK”, “SYN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property number_of_hops¶
Gets the number_of_hops of this NetworkConfiguration. Number of hops.
- Returns
The number_of_hops of this NetworkConfiguration.
- Return type
int
- property probe_mode¶
Gets the probe_mode of this NetworkConfiguration. Type of probe mode when TCP protocol is selected.
Allowed values for this property are: “SACK”, “SYN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The probe_mode of this NetworkConfiguration.
- Return type
str
- property probe_per_hop¶
Gets the probe_per_hop of this NetworkConfiguration. Number of probes per hop.
- Returns
The probe_per_hop of this NetworkConfiguration.
- Return type
int
- property protocol¶
Gets the protocol of this NetworkConfiguration. Type of protocol.
Allowed values for this property are: “ICMP”, “TCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The protocol of this NetworkConfiguration.
- Return type
str
- property transmission_rate¶
Gets the transmission_rate of this NetworkConfiguration. Number of probe packets sent out simultaneously.
- Returns
The transmission_rate of this NetworkConfiguration.
- Return type
int