TopologyAssociatedWithEntityRelationship¶
- class oci.vn_monitoring.models.TopologyAssociatedWithEntityRelationship(**kwargs)¶
Bases:
TopologyEntityRelationshipDefines the AssociatedWith relationship between virtual network topology entities. An AssociatedWith relationship is defined when there is no obvious contains relationship but entities are still related. For example, a DRG is associated with a VCN because a DRG is not managed by VCN but can be attached to a VCN.
Attributes:
A constant which can be used with the type property of a TopologyEntityRelationship.
A constant which can be used with the type property of a TopologyEntityRelationship.
A constant which can be used with the type property of a TopologyEntityRelationship.
Gets the associated_with_details of this TopologyAssociatedWithEntityRelationship.
[Required] Gets the id1 of this TopologyEntityRelationship.
[Required] Gets the id2 of this TopologyEntityRelationship.
[Required] Gets the type of this TopologyEntityRelationship.
Methods:
__init__(**kwargs)Initializes a new TopologyAssociatedWithEntityRelationship object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- TYPE_ASSOCIATED_WITH = 'ASSOCIATED_WITH'¶
A constant which can be used with the type property of a TopologyEntityRelationship. This constant has a value of “ASSOCIATED_WITH”
- TYPE_CONTAINS = 'CONTAINS'¶
A constant which can be used with the type property of a TopologyEntityRelationship. This constant has a value of “CONTAINS”
- TYPE_ROUTES_TO = 'ROUTES_TO'¶
A constant which can be used with the type property of a TopologyEntityRelationship. This constant has a value of “ROUTES_TO”
- __init__(**kwargs)¶
Initializes a new TopologyAssociatedWithEntityRelationship object with values from keyword arguments. The default value of the
typeattribute of this class isASSOCIATED_WITHand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
id1 (str) – The value to assign to the id1 property of this TopologyAssociatedWithEntityRelationship.
id2 (str) – The value to assign to the id2 property of this TopologyAssociatedWithEntityRelationship.
type (str) – The value to assign to the type property of this TopologyAssociatedWithEntityRelationship. Allowed values for this property are: “CONTAINS”, “ASSOCIATED_WITH”, “ROUTES_TO”
associated_with_details (oci.vn_monitoring.models.TopologyAssociatedWithRelationshipDetails) – The value to assign to the associated_with_details property of this TopologyAssociatedWithEntityRelationship.
- property associated_with_details¶
Gets the associated_with_details of this TopologyAssociatedWithEntityRelationship.
- Returns
The associated_with_details of this TopologyAssociatedWithEntityRelationship.
- Return type
oci.vn_monitoring.models.TopologyAssociatedWithRelationshipDetails
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property id1¶
[Required] Gets the id1 of this TopologyEntityRelationship. The OCID of the first entity in the relationship.
- Returns
The id1 of this TopologyEntityRelationship.
- Return type
str
- property id2¶
[Required] Gets the id2 of this TopologyEntityRelationship. The OCID of the second entity in the relationship.
- Returns
The id2 of this TopologyEntityRelationship.
- Return type
str
- property type¶
[Required] Gets the type of this TopologyEntityRelationship. The type of relationship between the entities.
Allowed values for this property are: “CONTAINS”, “ASSOCIATED_WITH”, “ROUTES_TO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this TopologyEntityRelationship.
- Return type
str