Node¶
- class oci.apm_synthetics.models.Node(**kwargs)¶
Bases:
objectDetails of the network node.
Attributes:
A constant which can be used with the type property of a Node.
A constant which can be used with the type property of a Node.
A constant which can be used with the type property of a Node.
A constant which can be used with the type property of a Node.
A constant which can be used with the type property of a Node.
Gets the avg_packet_loss_percent of this Node.
Gets the avg_packet_response_time_in_ms of this Node.
Gets the consecutive_anonymous_count of this Node.
Gets the display_name of this Node.
Gets the geo_info of this Node.
[Required] Gets the id of this Node.
Gets the ip_address of this Node.
Gets the level of this Node.
Gets the outgoing_links of this Node.
Gets the type of this Node.
Methods:
__init__(**kwargs)Initializes a new Node object with values from keyword arguments.
- TYPE_ANONYMOUS = 'ANONYMOUS'¶
A constant which can be used with the type property of a Node. This constant has a value of “ANONYMOUS”
- TYPE_DANGLING = 'DANGLING'¶
A constant which can be used with the type property of a Node. This constant has a value of “DANGLING”
- TYPE_DESTINATION = 'DESTINATION'¶
A constant which can be used with the type property of a Node. This constant has a value of “DESTINATION”
- TYPE_INTERNAL = 'INTERNAL'¶
A constant which can be used with the type property of a Node. This constant has a value of “INTERNAL”
- TYPE_SOURCE = 'SOURCE'¶
A constant which can be used with the type property of a Node. This constant has a value of “SOURCE”
- __init__(**kwargs)¶
Initializes a new Node object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this Node.
ip_address (str) – The value to assign to the ip_address property of this Node.
display_name (str) – The value to assign to the display_name property of this Node.
geo_info (str) – The value to assign to the geo_info property of this Node.
outgoing_links (list[str]) – The value to assign to the outgoing_links property of this Node.
consecutive_anonymous_count (int) – The value to assign to the consecutive_anonymous_count property of this Node.
level (int) – The value to assign to the level property of this Node.
avg_packet_response_time_in_ms (float) – The value to assign to the avg_packet_response_time_in_ms property of this Node.
avg_packet_loss_percent (float) – The value to assign to the avg_packet_loss_percent property of this Node.
type (str) – The value to assign to the type property of this Node. Allowed values for this property are: “SOURCE”, “DESTINATION”, “ANONYMOUS”, “INTERNAL”, “DANGLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property avg_packet_loss_percent¶
Gets the avg_packet_loss_percent of this Node. Percentage of the average packet loss.
- Returns
The avg_packet_loss_percent of this Node.
- Return type
float
- property avg_packet_response_time_in_ms¶
Gets the avg_packet_response_time_in_ms of this Node. Average packet response time in milliseconds.
- Returns
The avg_packet_response_time_in_ms of this Node.
- Return type
float
- property consecutive_anonymous_count¶
Gets the consecutive_anonymous_count of this Node. Number of consecutive anonymous network nodes.
- Returns
The consecutive_anonymous_count of this Node.
- Return type
int
- property display_name¶
Gets the display_name of this Node. Display name of the network node.
- Returns
The display_name of this Node.
- Return type
str
- property geo_info¶
Gets the geo_info of this Node. Geographical information of the network node.
- Returns
The geo_info of this Node.
- Return type
str
- property id¶
[Required] Gets the id of this Node. ID of the network node.
- Returns
The id of this Node.
- Return type
str
- property ip_address¶
Gets the ip_address of this Node. IP address of the network node.
- Returns
The ip_address of this Node.
- Return type
str
- property level¶
Gets the level of this Node. Level of the network node.
- Returns
The level of this Node.
- Return type
int
- property outgoing_links¶
Gets the outgoing_links of this Node. Outgoing links from the network node.
- Returns
The outgoing_links of this Node.
- Return type
list[str]
- property type¶
Gets the type of this Node. Type of network node.
Allowed values for this property are: “SOURCE”, “DESTINATION”, “ANONYMOUS”, “INTERNAL”, “DANGLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this Node.
- Return type
str