File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/network_firewall/models/update_vxlan_inspection_rule_details.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230501 from .update_tunnel_inspection_rule_details import UpdateTunnelInspectionRuleDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class UpdateVxlanInspectionRuleDetails(UpdateTunnelInspectionRuleDetails): """ Update Request for creating Vxlan Tunnel Inspection Rule used in the firewall policy rules. """ def __init__(self, **kwargs): """ Initializes a new UpdateVxlanInspectionRuleDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.network_firewall.models.UpdateVxlanInspectionRuleDetails.protocol` attribute of this class is ``VXLAN`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param action: The value to assign to the action property of this UpdateVxlanInspectionRuleDetails. Allowed values for this property are: "INSPECT", "INSPECT_AND_CAPTURE_LOG" :type action: str :param protocol: The value to assign to the protocol property of this UpdateVxlanInspectionRuleDetails. Allowed values for this property are: "VXLAN" :type protocol: str :param position: The value to assign to the position property of this UpdateVxlanInspectionRuleDetails. :type position: oci.network_firewall.models.RulePosition :param description: The value to assign to the description property of this UpdateVxlanInspectionRuleDetails. :type description: str :param condition: The value to assign to the condition property of this UpdateVxlanInspectionRuleDetails. :type condition: oci.network_firewall.models.VxlanInspectionRuleMatchCriteria :param profile: The value to assign to the profile property of this UpdateVxlanInspectionRuleDetails. :type profile: oci.network_firewall.models.VxlanInspectionRuleProfile """ self.swagger_types = { 'action': 'str', 'protocol': 'str', 'position': 'RulePosition', 'description': 'str', 'condition': 'VxlanInspectionRuleMatchCriteria', 'profile': 'VxlanInspectionRuleProfile' } self.attribute_map = { 'action': 'action', 'protocol': 'protocol', 'position': 'position', 'description': 'description', 'condition': 'condition', 'profile': 'profile' } self._action = None self._protocol = None self._position = None self._description = None self._condition = None self._profile = None self._protocol = 'VXLAN' @property def condition(self): """ **[Required]** Gets the condition of this UpdateVxlanInspectionRuleDetails. :return: The condition of this UpdateVxlanInspectionRuleDetails. :rtype: oci.network_firewall.models.VxlanInspectionRuleMatchCriteria """ return self._condition @condition.setter def condition(self, condition): """ Sets the condition of this UpdateVxlanInspectionRuleDetails. :param condition: The condition of this UpdateVxlanInspectionRuleDetails. :type: oci.network_firewall.models.VxlanInspectionRuleMatchCriteria """ self._condition = condition @property def profile(self): """ Gets the profile of this UpdateVxlanInspectionRuleDetails. :return: The profile of this UpdateVxlanInspectionRuleDetails. :rtype: oci.network_firewall.models.VxlanInspectionRuleProfile """ return self._profile @profile.setter def profile(self, profile): """ Sets the profile of this UpdateVxlanInspectionRuleDetails. :param profile: The profile of this UpdateVxlanInspectionRuleDetails. :type: oci.network_firewall.models.VxlanInspectionRuleProfile """ self._profile = profile def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings