Topology

class oci.vn_monitoring.models.Topology(**kwargs)

Bases: object

Defines the representation of a virtual network topology.

Attributes:

TYPE_NETWORKING

A constant which can be used with the type property of a Topology.

TYPE_PATH

A constant which can be used with the type property of a Topology.

TYPE_SUBNET

A constant which can be used with the type property of a Topology.

TYPE_VCN

A constant which can be used with the type property of a Topology.

entities

[Required] Gets the entities of this Topology.

limited_entities

[Required] Gets the limited_entities of this Topology.

relationships

[Required] Gets the relationships of this Topology.

time_created

[Required] Gets the time_created of this Topology.

type

[Required] Gets the type of this Topology.

Methods:

__init__(**kwargs)

Initializes a new Topology 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_NETWORKING = 'NETWORKING'

A constant which can be used with the type property of a Topology. This constant has a value of “NETWORKING”

TYPE_PATH = 'PATH'

A constant which can be used with the type property of a Topology. This constant has a value of “PATH”

TYPE_SUBNET = 'SUBNET'

A constant which can be used with the type property of a Topology. This constant has a value of “SUBNET”

TYPE_VCN = 'VCN'

A constant which can be used with the type property of a Topology. This constant has a value of “VCN”

__init__(**kwargs)

Initializes a new Topology object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • type (str) – The value to assign to the type property of this Topology. Allowed values for this property are: “NETWORKING”, “VCN”, “SUBNET”, “PATH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • entities (list[object]) – The value to assign to the entities property of this Topology.

  • relationships (list[oci.vn_monitoring.models.TopologyEntityRelationship]) – The value to assign to the relationships property of this Topology.

  • limited_entities (list[str]) – The value to assign to the limited_entities property of this Topology.

  • time_created (datetime) – The value to assign to the time_created property of this Topology.

property entities

[Required] Gets the entities of this Topology. Lists entities comprising the virtual network topology.

Returns

The entities of this Topology.

Return type

list[object]

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 limited_entities

[Required] Gets the limited_entities of this Topology. Lists entities that are limited during ingestion. The values for the items in the list are the entity type names of the limitedEntities. Example: vcn

Returns

The limited_entities of this Topology.

Return type

list[str]

property relationships

[Required] Gets the relationships of this Topology. Lists relationships between entities in the virtual network topology.

Returns

The relationships of this Topology.

Return type

list[oci.vn_monitoring.models.TopologyEntityRelationship]

property time_created

[Required] Gets the time_created of this Topology. Records when the virtual network topology was created, in RFC3339 format for date and time.

Returns

The time_created of this Topology.

Return type

datetime

property type

[Required] Gets the type of this Topology. Type of the topology object.

Allowed values for this property are: “NETWORKING”, “VCN”, “SUBNET”, “PATH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this Topology.

Return type

str