📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
core
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/core/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: route_rule.pyc
a N��f�. � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zdd� Zdd� Zdd� Zd S )!� RouteRulez| A mapping between a destination IP address range and a virtual device to route matching packets to (a target). � CIDR_BLOCK�SERVICE_CIDR_BLOCK�STATIC�LOCALc K sP ddddddd�| _ ddddddd�| _d | _d | _d | _d | _d | _d | _d S ) a� Initializes a new RouteRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param cidr_block: The value to assign to the cidr_block property of this RouteRule. :type cidr_block: str :param destination: The value to assign to the destination property of this RouteRule. :type destination: str :param destination_type: The value to assign to the destination_type property of this RouteRule. Allowed values for this property are: "CIDR_BLOCK", "SERVICE_CIDR_BLOCK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type destination_type: str :param network_entity_id: The value to assign to the network_entity_id property of this RouteRule. :type network_entity_id: str :param description: The value to assign to the description property of this RouteRule. :type description: str :param route_type: The value to assign to the route_type property of this RouteRule. Allowed values for this property are: "STATIC", "LOCAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type route_type: str �str)� cidr_block�destination�destination_type�network_entity_id�description� route_type� cidrBlockr �destinationType�networkEntityIdr � routeTypeN)� swagger_types� attribute_map�_cidr_block�_destination�_destination_type�_network_entity_id�_description�_route_type)�self�kwargs� r �~/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/route_rule.py�__init__! s( #� � zRouteRule.__init__c C s | j S )a� Gets the cidr_block of this RouteRule. Deprecated. Instead use `destination` and `destinationType`. Requests that include both `cidrBlock` and `destination` will be rejected. A destination IP address range in CIDR notation. Matching packets will be routed to the indicated network entity (the target). Cannot be an IPv6 CIDR. Example: `0.0.0.0/0` :return: The cidr_block of this RouteRule. :rtype: str �r �r r r r! r \ s zRouteRule.cidr_blockc C s || _ dS )a� Sets the cidr_block of this RouteRule. Deprecated. Instead use `destination` and `destinationType`. Requests that include both `cidrBlock` and `destination` will be rejected. A destination IP address range in CIDR notation. Matching packets will be routed to the indicated network entity (the target). Cannot be an IPv6 CIDR. Example: `0.0.0.0/0` :param cidr_block: The cidr_block of this RouteRule. :type: str Nr# )r r r r r! r p s c C s | j S )a� Gets the destination of this RouteRule. Conceptually, this is the range of IP addresses used for matching when routing traffic. Required if you provide a `destinationType`. Allowed values: * IP address range in CIDR notation. Can be an IPv4 or IPv6 CIDR. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`. If you set this to an IPv6 CIDR, the route rule's target can only be a DRG or internet gateway. IPv6 addressing is supported for all commercial and government regions. See `IPv6 Addresses`__. * The `cidrBlock` value for a :class:`Service`, if you're setting up a route rule for traffic destined for a particular `Service` through a service gateway. For example: `oci-phx-objectstorage`. __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :return: The destination of this RouteRule. :rtype: str �r r$ r r r! r � s zRouteRule.destinationc C s || _ dS )a� Sets the destination of this RouteRule. Conceptually, this is the range of IP addresses used for matching when routing traffic. Required if you provide a `destinationType`. Allowed values: * IP address range in CIDR notation. Can be an IPv4 or IPv6 CIDR. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`. If you set this to an IPv6 CIDR, the route rule's target can only be a DRG or internet gateway. IPv6 addressing is supported for all commercial and government regions. See `IPv6 Addresses`__. * The `cidrBlock` value for a :class:`Service`, if you're setting up a route rule for traffic destined for a particular `Service` through a service gateway. For example: `oci-phx-objectstorage`. __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm :param destination: The destination of this RouteRule. :type: str Nr% )r r r r r! r � s c C s | j S )a� Gets the destination_type of this RouteRule. Type of destination for the rule. Required if you provide a `destination`. * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a :class:`Service` (the rule is for traffic destined for a particular `Service` through a service gateway). Allowed values for this property are: "CIDR_BLOCK", "SERVICE_CIDR_BLOCK", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The destination_type of this RouteRule. :rtype: str )r r$ r r r! r � s zRouteRule.destination_typec C s ddg}t ||�sd}|| _dS )a/ Sets the destination_type of this RouteRule. Type of destination for the rule. Required if you provide a `destination`. * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a :class:`Service` (the rule is for traffic destined for a particular `Service` through a service gateway). :param destination_type: The destination_type of this RouteRule. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r! r � s c C s | j S )a� **[Required]** Gets the network_entity_id of this RouteRule. The `OCID`__ for the route rule's target. For information about the type of targets you can specify, see `Route Tables`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm :return: The network_entity_id of this RouteRule. :rtype: str �r r$ r r r! r � s zRouteRule.network_entity_idc C s || _ dS )a� Sets the network_entity_id of this RouteRule. The `OCID`__ for the route rule's target. For information about the type of targets you can specify, see `Route Tables`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm :param network_entity_id: The network_entity_id of this RouteRule. :type: str Nr( )r r r r r! r � s c C s | j S )z� Gets the description of this RouteRule. An optional description of your choice for the rule. :return: The description of this RouteRule. :rtype: str �r r$ r r r! r s zRouteRule.descriptionc C s || _ dS )z� Sets the description of this RouteRule. An optional description of your choice for the rule. :param description: The description of this RouteRule. :type: str Nr) )r r r r r! r s c C s | j S )a� Gets the route_type of this RouteRule. A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the route table. Allowed values for this property are: "STATIC", "LOCAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The route_type of this RouteRule. :rtype: str )r r$ r r r! r s zRouteRule.route_typec C s ddg}t ||�sd}|| _dS )z� Sets the route_type of this RouteRule. A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the route table. :param route_type: The route_type of this RouteRule. :type: str r r r&