SubnetTopology

class oci.core.models.SubnetTopology(**kwargs)

Bases: oci.core.models.topology.Topology

Defines the visualization of a subnet in a VCN. See Network Visualizer Documentation for more information, including conventions and pictures of symbols.

Attributes

TYPE_NETWORKING str(object=’’) -> str
TYPE_PATH str(object=’’) -> str
TYPE_SUBNET str(object=’’) -> str
TYPE_VCN str(object=’’) -> str
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.
subnet_id Gets the subnet_id of this SubnetTopology.
time_created [Required] Gets the time_created of this Topology.
type [Required] Gets the type of this Topology.

Methods

__init__(**kwargs) Initializes a new SubnetTopology 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'
TYPE_PATH = 'PATH'
TYPE_SUBNET = 'SUBNET'
TYPE_VCN = 'VCN'
__init__(**kwargs)

Initializes a new SubnetTopology object with values from keyword arguments. The default value of the type attribute of this class is SUBNET and it should not be changed. 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 SubnetTopology. 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 SubnetTopology.
  • relationships (list[oci.core.models.TopologyEntityRelationship]) – The value to assign to the relationships property of this SubnetTopology.
  • limited_entities (list[str]) – The value to assign to the limited_entities property of this SubnetTopology.
  • time_created (datetime) – The value to assign to the time_created property of this SubnetTopology.
  • subnet_id (str) – The value to assign to the subnet_id property of this SubnetTopology.
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.

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]
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]
subnet_id

Gets the subnet_id of this SubnetTopology. The OCID of the subnet for which the visualization is generated.

Returns:The subnet_id of this SubnetTopology.
Return type:str
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”, “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