ServiceSummary¶
-
class
oci.network_firewall.models.
ServiceSummary
(**kwargs)¶ Bases:
object
Summary object for service element in the network firewall policy.
Attributes
TYPE_TCP_SERVICE
A constant which can be used with the type property of a ServiceSummary. TYPE_UDP_SERVICE
A constant which can be used with the type property of a ServiceSummary. name
[Required] Gets the name of this ServiceSummary. parent_resource_id
[Required] Gets the parent_resource_id of this ServiceSummary. type
[Required] Gets the type of this ServiceSummary. Methods
__init__
(**kwargs)Initializes a new ServiceSummary object with values from keyword arguments. -
TYPE_TCP_SERVICE
= 'TCP_SERVICE'¶ A constant which can be used with the type property of a ServiceSummary. This constant has a value of “TCP_SERVICE”
-
TYPE_UDP_SERVICE
= 'UDP_SERVICE'¶ A constant which can be used with the type property of a ServiceSummary. This constant has a value of “UDP_SERVICE”
-
__init__
(**kwargs)¶ Initializes a new ServiceSummary object with values from keyword arguments. 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 ServiceSummary. Allowed values for this property are: “TCP_SERVICE”, “UDP_SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- name (str) – The value to assign to the name property of this ServiceSummary.
- parent_resource_id (str) – The value to assign to the parent_resource_id property of this ServiceSummary.
-
name
¶ [Required] Gets the name of this ServiceSummary. Name of the service.
Returns: The name of this ServiceSummary. Return type: str
-
parent_resource_id
¶ [Required] Gets the parent_resource_id of this ServiceSummary. OCID of the Network Firewall Policy this Service belongs to.
Returns: The parent_resource_id of this ServiceSummary. Return type: str
-
type
¶ [Required] Gets the type of this ServiceSummary. Describes the type of Service.
Allowed values for this property are: “TCP_SERVICE”, “UDP_SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this ServiceSummary. Return type: str
-