Topology

class oci.core.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_VCN A constant which can be used with the type property of a Topology.
entities [Required] Gets the 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_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”
  • entities (list[object]) – The value to assign to the entities property of this Topology.
  • relationships (list[oci.core.models.TopologyEntityRelationship]) – The value to assign to the relationships property of this Topology.
  • time_created (datetime) – The value to assign to the time_created property of this Topology.
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.

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.core.models.TopologyEntityRelationship]
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
type

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

Allowed values for this property are: “NETWORKING”, “VCN”

Returns:The type of this Topology.
Return type:str