📂 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
›
lib
›
python3.9
›
site-packages
›
oci
›
container_instances
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/container_instances/models/__pycache__
💾
Free:
45.6 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: container_http_health_check.cpython-39.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ContainerHealthCheck� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�ContainerHttpHealthCheckz+ Container Health Check HTTP type. c K s� dddddddddddddd� | _ ddddd d ddd ddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new ContainerHttpHealthCheck object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.ContainerHttpHealthCheck.health_check_type` attribute of this class is ``HTTP`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this ContainerHttpHealthCheck. :type name: str :param health_check_type: The value to assign to the health_check_type property of this ContainerHttpHealthCheck. Allowed values for this property are: "HTTP", "TCP", "COMMAND" :type health_check_type: str :param initial_delay_in_seconds: The value to assign to the initial_delay_in_seconds property of this ContainerHttpHealthCheck. :type initial_delay_in_seconds: int :param interval_in_seconds: The value to assign to the interval_in_seconds property of this ContainerHttpHealthCheck. :type interval_in_seconds: int :param failure_threshold: The value to assign to the failure_threshold property of this ContainerHttpHealthCheck. :type failure_threshold: int :param success_threshold: The value to assign to the success_threshold property of this ContainerHttpHealthCheck. :type success_threshold: int :param timeout_in_seconds: The value to assign to the timeout_in_seconds property of this ContainerHttpHealthCheck. :type timeout_in_seconds: int :param status: The value to assign to the status property of this ContainerHttpHealthCheck. Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNKNOWN" :type status: str :param status_details: The value to assign to the status_details property of this ContainerHttpHealthCheck. :type status_details: str :param failure_action: The value to assign to the failure_action property of this ContainerHttpHealthCheck. Allowed values for this property are: "KILL", "NONE" :type failure_action: str :param path: The value to assign to the path property of this ContainerHttpHealthCheck. :type path: str :param port: The value to assign to the port property of this ContainerHttpHealthCheck. :type port: int :param headers: The value to assign to the headers property of this ContainerHttpHealthCheck. :type headers: list[oci.container_instances.models.HealthCheckHttpHeader] �str�intzlist[HealthCheckHttpHeader]) �nameZhealth_check_typeZinitial_delay_in_secondsZinterval_in_secondsZfailure_thresholdZsuccess_thresholdZtimeout_in_seconds�statusZstatus_detailsZfailure_action�path�port�headersr ZhealthCheckTypeZinitialDelayInSecondsZintervalInSecondsZfailureThresholdZsuccessThresholdZtimeoutInSecondsr Z statusDetailsZ failureActionr r r NZHTTP)Z swagger_typesZ attribute_map�_nameZ_health_check_typeZ_initial_delay_in_secondsZ_interval_in_secondsZ_failure_thresholdZ_success_thresholdZ_timeout_in_secondsZ_statusZ_status_detailsZ_failure_action�_path�_port�_headers)�self�kwargs� r �^/usr/lib/python3.9/site-packages/oci/container_instances/models/container_http_health_check.py�__init__ sT ?��z!ContainerHttpHealthCheck.__init__c C s | j S )z� **[Required]** Gets the path of this ContainerHttpHealthCheck. Container health check HTTP path. :return: The path of this ContainerHttpHealthCheck. :rtype: str �r �r r r r r s zContainerHttpHealthCheck.pathc C s || _ dS )z� Sets the path of this ContainerHttpHealthCheck. Container health check HTTP path. :param path: The path of this ContainerHttpHealthCheck. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the port of this ContainerHttpHealthCheck. Container health check HTTP port. :return: The port of this ContainerHttpHealthCheck. :rtype: int �r r r r r r � s zContainerHttpHealthCheck.portc C s || _ dS )z� Sets the port of this ContainerHttpHealthCheck. Container health check HTTP port. :param port: The port of this ContainerHttpHealthCheck. :type: int Nr )r r r r r r � s c C s | j S )z� Gets the headers of this ContainerHttpHealthCheck. Container health check HTTP headers. :return: The headers of this ContainerHttpHealthCheck. :rtype: list[oci.container_instances.models.HealthCheckHttpHeader] �r r r r r r � s z ContainerHttpHealthCheck.headersc C s || _ dS )a Sets the headers of this ContainerHttpHealthCheck. Container health check HTTP headers. :param headers: The headers of this ContainerHttpHealthCheck. :type: list[oci.container_instances.models.HealthCheckHttpHeader] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z!ContainerHttpHealthCheck.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zContainerHttpHealthCheck.__eq__c C s | |k S r r r r r r �__ne__� s zContainerHttpHealthCheck.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r"