Link¶
- class oci.apm_synthetics.models.Link(**kwargs)¶
Bases:
objectDetails of the link between two nodes.
Methods:
__init__(**kwargs)Initializes a new Link object with values from keyword arguments.
Attributes:
Gets the delay_in_milliseconds of this Link.
Gets the destination of this Link.
Gets the forwarding_loss of this Link.
[Required] Gets the id of this Link.
Gets the max_delay_in_milliseconds of this Link.
Gets the min_delay_in_milliseconds of this Link.
Gets the paths of this Link.
Gets the repeat_count of this Link.
Gets the source of this Link.
- __init__(**kwargs)¶
Initializes a new Link 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 Link.
source (str) – The value to assign to the source property of this Link.
destination (str) – The value to assign to the destination property of this Link.
repeat_count (int) – The value to assign to the repeat_count property of this Link.
forwarding_loss (float) – The value to assign to the forwarding_loss property of this Link.
delay_in_milliseconds (float) – The value to assign to the delay_in_milliseconds property of this Link.
min_delay_in_milliseconds (float) – The value to assign to the min_delay_in_milliseconds property of this Link.
max_delay_in_milliseconds (float) – The value to assign to the max_delay_in_milliseconds property of this Link.
paths (list[str]) – The value to assign to the paths property of this Link.
- property delay_in_milliseconds¶
Gets the delay_in_milliseconds of this Link. Difference of the packet response time between source and destination nodes, in milliseconds.
- Returns
The delay_in_milliseconds of this Link.
- Return type
float
- property destination¶
Gets the destination of this Link. ID of the destination node.
- Returns
The destination of this Link.
- Return type
str
- property forwarding_loss¶
Gets the forwarding_loss of this Link. Average packet loss.
- Returns
The forwarding_loss of this Link.
- Return type
float
- property id¶
[Required] Gets the id of this Link. ID of the link.
- Returns
The id of this Link.
- Return type
str
- property max_delay_in_milliseconds¶
Gets the max_delay_in_milliseconds of this Link. Maximum delay in milliseconds.
- Returns
The max_delay_in_milliseconds of this Link.
- Return type
float
- property min_delay_in_milliseconds¶
Gets the min_delay_in_milliseconds of this Link. Minimum delay in milliseconds.
- Returns
The min_delay_in_milliseconds of this Link.
- Return type
float
- property paths¶
Gets the paths of this Link. List of all path IDs of which this link is part of.
- Returns
The paths of this Link.
- Return type
list[str]
- property repeat_count¶
Gets the repeat_count of this Link. Number of times the link is repeated.
- Returns
The repeat_count of this Link.
- Return type
int
- property source¶
Gets the source of this Link. ID of the source node.
- Returns
The source of this Link.
- Return type
str