Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/network/avi/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/network/avi/avi_healthmonitor.pyo

�
�Udac@s�idd6dgd6dd6ZdZdZdZd	d
lmZy d	dlmZmZm	Z	Wne
k
ryeZ	nXd�Ze
d
kr�e�ndS(s1.1tmetadata_versiontpreviewtstatust	communitytsupported_bys$
---
module: avi_healthmonitor
author: Gaurav Rastogi (@grastogi23) <[email protected]>

short_description: Module for setup of HealthMonitor Avi RESTful Object
description:
    - This module is used to configure HealthMonitor object
    - more examples at U(https://github.com/avinetworks/devops)
requirements: [ avisdk ]
version_added: "2.3"
options:
    state:
        description:
            - The state that should be applied on the entity.
        default: present
        choices: ["absent", "present"]
    avi_api_update_method:
        description:
            - Default method for object update is HTTP PUT.
            - Setting to patch will override that behavior to use HTTP PATCH.
        version_added: "2.5"
        default: put
        choices: ["put", "patch"]
    avi_api_patch_op:
        description:
            - Patch operation to use when using avi_api_update_method as patch.
        version_added: "2.5"
        choices: ["add", "replace", "delete"]
    description:
        description:
            - User defined description for the object.
    dns_monitor:
        description:
            - Healthmonitordns settings for healthmonitor.
    external_monitor:
        description:
            - Healthmonitorexternal settings for healthmonitor.
    failed_checks:
        description:
            - Number of continuous failed health checks before the server is marked down.
            - Allowed values are 1-50.
            - Default value when not specified in API or module is interpreted by Avi Controller as 2.
    http_monitor:
        description:
            - Healthmonitorhttp settings for healthmonitor.
    https_monitor:
        description:
            - Healthmonitorhttp settings for healthmonitor.
    is_federated:
        description:
            - This field describes the object's replication scope.
            - If the field is set to false, then the object is visible within the controller-cluster and its associated service-engines.
            - If the field is set to true, then the object is replicated across the federation.
            - Field introduced in 17.1.3.
            - Default value when not specified in API or module is interpreted by Avi Controller as False.
        version_added: "2.4"
        type: bool
    monitor_port:
        description:
            - Use this port instead of the port defined for the server in the pool.
            - If the monitor succeeds to this port, the load balanced traffic will still be sent to the port of the server defined within the pool.
            - Allowed values are 1-65535.
            - Special values are 0 - 'use server port'.
    name:
        description:
            - A user friendly name for this health monitor.
        required: true
    radius_monitor:
        description:
            - Health monitor for radius.
            - Field introduced in 18.2.3.
        version_added: "2.9"
    receive_timeout:
        description:
            - A valid response from the server is expected within the receive timeout window.
            - This timeout must be less than the send interval.
            - If server status is regularly flapping up and down, consider increasing this value.
            - Allowed values are 1-2400.
            - Default value when not specified in API or module is interpreted by Avi Controller as 4.
    send_interval:
        description:
            - Frequency, in seconds, that monitors are sent to a server.
            - Allowed values are 1-3600.
            - Default value when not specified in API or module is interpreted by Avi Controller as 10.
    sip_monitor:
        description:
            - Health monitor for sip.
            - Field introduced in 17.2.8, 18.1.3, 18.2.1.
        version_added: "2.9"
    successful_checks:
        description:
            - Number of continuous successful health checks before server is marked up.
            - Allowed values are 1-50.
            - Default value when not specified in API or module is interpreted by Avi Controller as 2.
    tcp_monitor:
        description:
            - Healthmonitortcp settings for healthmonitor.
    tenant_ref:
        description:
            - It is a reference to an object of type tenant.
    type:
        description:
            - Type of the health monitor.
            - Enum options - HEALTH_MONITOR_PING, HEALTH_MONITOR_TCP, HEALTH_MONITOR_HTTP, HEALTH_MONITOR_HTTPS, HEALTH_MONITOR_EXTERNAL, HEALTH_MONITOR_UDP,
            - HEALTH_MONITOR_DNS, HEALTH_MONITOR_GSLB, HEALTH_MONITOR_SIP, HEALTH_MONITOR_RADIUS.
        required: true
    udp_monitor:
        description:
            - Healthmonitorudp settings for healthmonitor.
    url:
        description:
            - Avi controller URL of the object.
    uuid:
        description:
            - Uuid of the health monitor.
extends_documentation_fragment:
    - avi
s�
- name: Create a HTTPS health monitor
  avi_healthmonitor:
    controller: 10.10.27.90
    username: admin
    password: AviNetworks123!
    https_monitor:
      http_request: HEAD / HTTP/1.0
      http_response_code:
        - HTTP_2XX
        - HTTP_3XX
    receive_timeout: 4
    failed_checks: 3
    send_interval: 10
    successful_checks: 3
    type: HEALTH_MONITOR_HTTPS
    name: MyWebsite-HTTPS
sn
obj:
    description: HealthMonitor (api/healthmonitor) object
    returned: success, changed
    type: dict
i����(t
AnsibleModule(tavi_common_argument_spectavi_ansible_apitHAS_AVIc1Cs�tdtdddddg�dtdddddg�d	tdd
ddg�d
tdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdddt�dtdd�dtdd�dtdd�dtdd�d tdd�d!tdd�d"tdd�dtdddt�d#tdd�d$tdd�d%tdd��}|jt��td&|d't�}ts�|jd(d)�St|d*tg��S(+Ntstatetdefaulttpresenttchoicestabsenttavi_api_update_methodtputtpatchtavi_api_patch_optaddtreplacetdeletetdescriptionttypetstrtdns_monitortdicttexternal_monitort
failed_checkstintthttp_monitort
https_monitortis_federatedtbooltmonitor_porttnametrequiredtradius_monitortreceive_timeoutt
send_intervaltsip_monitortsuccessful_checksttcp_monitort
tenant_reftudp_monitorturltuuidt
argument_spectsupports_check_modetmsgszAvi python API SDK (avisdk>=17.1) or requests is not installed. For more details visit https://github.com/avinetworks/sdk.t
healthmonitor(	RtTruetupdateRRRt	fail_jsonRtset(targument_specstmodule((sQ/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_healthmonitor.pytmain�sD		t__main__N(tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt$ansible.module_utils.network.avi.aviRRRtImportErrortFalseR8t__name__(((sQ/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_healthmonitor.pyt<module>s


x 

	'

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]