ResourcePortSummary¶
-
class
oci.cloud_guard.models.
ResourcePortSummary
(**kwargs)¶ Bases:
object
Summary of open ports in the resourceView
Methods
__init__
(**kwargs)Initializes a new ResourcePortSummary object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this ResourcePortSummary. freeform_tags
Gets the freeform_tags of this ResourcePortSummary. port_number
[Required] Gets the port_number of this ResourcePortSummary. process
[Required] Gets the process of this ResourcePortSummary. system_tags
Gets the system_tags of this ResourcePortSummary. type
Gets the type of this ResourcePortSummary. -
__init__
(**kwargs)¶ Initializes a new ResourcePortSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - port_number (str) – The value to assign to the port_number property of this ResourcePortSummary.
- process (str) – The value to assign to the process property of this ResourcePortSummary.
- type (str) – The value to assign to the type property of this ResourcePortSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ResourcePortSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ResourcePortSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ResourcePortSummary.
Gets the defined_tags of this ResourcePortSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this ResourcePortSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this ResourcePortSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Avoid entering confidential information.
Returns: The freeform_tags of this ResourcePortSummary. Return type: dict(str, str)
-
port_number
¶ [Required] Gets the port_number of this ResourcePortSummary. The open port number
Returns: The port_number of this ResourcePortSummary. Return type: str
-
process
¶ [Required] Gets the process of this ResourcePortSummary. Process running on the open port
Returns: The process of this ResourcePortSummary. Return type: str
Gets the system_tags of this ResourcePortSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this ResourcePortSummary. Return type: dict(str, dict(str, object))
-
type
¶ Gets the type of this ResourcePortSummary. Type of port
Returns: The type of this ResourcePortSummary. Return type: str
-