Anons79 Mini Shell

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

�
�Udac@`ssddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddl
mZy�dd
l
mZddlmZddlmZddlmZddlmZddlmZddlmZddlmZWn�ek
r�dd
lmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZnXdefd��YZdefd��YZdefd��YZ defd��YZ!de!fd��YZ"de!fd ��YZ#d!e$fd"��YZ%d#e$fd$��YZ&d%e$fd&��YZ'd'�Z(e)d(kroe(�nd)S(*i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	certifiedtsupported_bys*
---
module: bigip_gtm_monitor_https
short_description: Manages F5 BIG-IP GTM https monitors
description:
  - Manages F5 BIG-IP GTM https monitors.
version_added: 2.6
options:
  name:
    description:
      - Monitor name.
    type: str
    required: True
  parent:
    description:
      - The parent template of this monitor template. Once this value has
        been set, it cannot be changed. By default, this value is the C(tcp)
        parent on the C(Common) partition.
    type: str
    default: /Common/https
  send:
    description:
      - The send string for the monitor call.
      - When creating a new monitor, if this parameter is not provided, the
        default of C(GET /\r\n) will be used.
    type: str
  receive:
    description:
      - The receive string for the monitor call.
    type: str
  ip:
    description:
      - IP address part of the IP/port definition. If this parameter is not
        provided when creating a new monitor, then the default value will be
        '*'.
      - If this value is an IP address, then a C(port) number must be specified.
    type: str
  port:
    description:
      - Port address part of the IP/port definition. If this parameter is not
        provided when creating a new monitor, then the default value will be
        '*'. Note that if specifying an IP address, a value between 1 and 65535
        must be specified.
    type: str
  interval:
    description:
      - The interval specifying how frequently the monitor instance of this
        template will run.
      - If this parameter is not provided when creating a new monitor, then
        the default value will be 30.
      - This value B(must) be less than the C(timeout) value.
    type: int
  timeout:
    description:
      - The number of seconds in which the node or service must respond to
        the monitor request. If the target responds within the set time
        period, it is considered up. If the target does not respond within
        the set time period, it is considered down. You can change this
        number to any number you want, however, it should be 3 times the
        interval number of seconds plus 1 second.
      - If this parameter is not provided when creating a new monitor, then the
        default value will be 120.
    type: int
  partition:
    description:
      - Device partition to manage resources on.
    type: str
    default: Common
  state:
    description:
      - When C(present), ensures that the monitor exists.
      - When C(absent), ensures the monitor is removed.
    type: str
    choices:
      - present
      - absent
    default: present
  probe_timeout:
    description:
      - Specifies the number of seconds after which the system times out the probe request
        to the system.
      - When creating a new monitor, if this parameter is not provided, then the default
        value will be C(5).
    type: int
  ignore_down_response:
    description:
      - Specifies that the monitor allows more than one probe attempt per interval.
      - When C(yes), specifies that the monitor ignores down responses for the duration of
        the monitor timeout. Once the monitor timeout is reached without the system receiving
        an up response, the system marks the object down.
      - When C(no), specifies that the monitor immediately marks an object down when it
        receives a down response.
      - When creating a new monitor, if this parameter is not provided, then the default
        value will be C(no).
    type: bool
  transparent:
    description:
      - Specifies whether the monitor operates in transparent mode.
      - A monitor in transparent mode directs traffic through the associated pool members
        or nodes (usually a router or firewall) to the aliased destination (that is, it
        probes the C(ip)-C(port) combination specified in the monitor).
      - If the monitor cannot successfully reach the aliased destination, the pool member
        or node through which the monitor traffic was sent is marked down.
      - When creating a new monitor, if this parameter is not provided, then the default
        value will be C(no).
    type: bool
  reverse:
    description:
      - Instructs the system to mark the target resource down when the test is successful.
        This setting is useful, for example, if the content on your web site home page is
        dynamic and changes frequently, you may want to set up a reverse ECV service check
        that looks for the string Error.
      - A match for this string means that the web server was down.
      - To use this option, you must specify values for C(send) and C(receive).
    type: bool
  target_username:
    description:
      - Specifies the user name, if the monitored target requires authentication.
    type: str
  target_password:
    description:
      - Specifies the password, if the monitored target requires authentication.
    type: str
  update_password:
    description:
      - C(always) will update passwords if the C(target_password) is specified.
      - C(on_create) will only set the password for newly created monitors.
    type: str
    choices:
      - always
      - on_create
    default: always
  cipher_list:
    description:
      - Specifies the list of ciphers for this monitor.
      - The items in the cipher list are separated with the colon C(:) symbol.
      - When creating a new monitor, if this parameter is not specified, the default
        list is C(DEFAULT:+SHA:+3DES:+kEDH).
    type: str
  compatibility:
    description:
      - Specifies, when enabled, that the SSL options setting (in OpenSSL) is set to B(all).
      - When creating a new monitor, if this value is not specified, the default is
        C(yes)
    type: bool
  client_cert:
    description:
      - Specifies a fully-qualified path for a client certificate that the monitor sends to
        the target SSL server.
    type: str
  client_key:
    description:
      - Specifies a key for a client certificate that the monitor sends to the target SSL server.
    type: str
extends_documentation_fragment: f5
author:
  - Tim Rupp (@caphrim007)
  - Wojciech Wypior (@wojtek0806)
s�
- name: Create a GTM HTTPS monitor
  bigip_gtm_monitor_https:
    name: my_monitor
    ip: 1.1.1.1
    port: 80
    send: my send string
    receive: my receive string
    state: present
    provider:
      user: admin
      password: secret
      server: lb.mydomain.com
  delegate_to: localhost

- name: Remove HTTPS Monitor
  bigip_gtm_monitor_https:
    name: my_monitor
    state: absent
    provider:
      user: admin
      password: secret
      server: lb.mydomain.com
  delegate_to: localhost

- name: Add HTTPS monitor for all addresses, port 514
  bigip_gtm_monitor_https:
    name: my_monitor
    provider:
      user: admin
      password: secret
      server: lb.mydomain.com
    port: 514
  delegate_to: localhost
s?
parent:
  description: New parent template of the monitor.
  returned: changed
  type: str
  sample: https
ip:
  description: The new IP of IP/port definition.
  returned: changed
  type: str
  sample: 10.12.13.14
port:
  description: The new port the monitor checks the resource on.
  returned: changed
  type: str
  sample: 8080
interval:
  description: The new interval in which to run the monitor check.
  returned: changed
  type: int
  sample: 2
timeout:
  description: The new timeout in which the remote system must respond to the monitor.
  returned: changed
  type: int
  sample: 10
ignore_down_response:
  description: Whether to ignore the down response or not.
  returned: changed
  type: bool
  sample: True
send:
  description: The new send string for this monitor.
  returned: changed
  type: str
  sample: tcp string to send
receive:
  description: The new receive string for this monitor.
  returned: changed
  type: str
  sample: tcp string to receive
probe_timeout:
  description: The new timeout in which the system will timeout the monitor probe.
  returned: changed
  type: int
  sample: 10
reverse:
  description: The new value for whether the monitor operates in reverse mode.
  returned: changed
  type: bool
  sample: False
transparent:
  description: The new value for whether the monitor operates in transparent mode.
  returned: changed
  type: bool
  sample: False
cipher_list:
  description: The new value for the cipher list.
  returned: changed
  type: str
  sample: +3DES:+kEDH
compatibility:
  description: The new SSL compatibility setting.
  returned: changed
  type: bool
  sample: True
client_cert:
  description: The new client cert setting.
  returned: changed
  type: str
  sample: /Common/default
client_key:
  description: The new client key setting.
  returned: changed
  type: str
  sample: /Common/default
(t
AnsibleModule(tenv_fallback(tF5RestClient(t
F5ModuleError(tAnsibleF5Parameters(tfq_name(tf5_argument_spec(ttransform_name(tmodule_provisioned(tis_valid_ipt
ParameterscB`s�eZi	dd6dd6dd6dd6dd	6d
d6dd
6dd6dd6Zddddddddddd	dd
dddgZdddddddddddddddgZddddddddddddd
ddddgZRS(tparenttdefaultsFromtignore_down_responsetignoreDownResponset
probe_timeouttprobeTimeouttreceivetrecvttarget_usernametusernamettarget_passwordtpasswordtcipher_listt
cipherlisttclient_certtcertt
client_keytkeytintervalttimeouttdestinationttransparenttreversetsendt
compatibilitytiptport(t__name__t
__module__tapi_maptapi_attributestreturnablest
updatables(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR8st
		t
ApiParameterscB`sbeZed��Zed��Zed��Zed��Zed��Zed��ZRS(cC`s |jdjd�\}}|S(NR't:(t_valuestsplit(tselfR,R-((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR,�scC`sC|jdjd�\}}yt|�SWntk
r>|SXdS(NR'R5(R6R7tintt
ValueError(R8R,R-((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR-�s

cC`s2|jddkrdS|jddkr.tStS(NRtdisabled(R6tNonetFalsetTrue(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�s
cC`s2|jddkrdS|jddkr.tStS(NR(R;(R6R<R=R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR(�s
cC`s2|jddkrdS|jddkr.tStS(NR)R;(R6R<R=R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR)�s
cC`s2|jddkrdS|jddkr.tStS(NR+R;(R6R<R=R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR+�s
(	R.R/tpropertyR,R-RR(R)R+(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR4stModuleParameterscB`s�eZed��Zed��Zed��Zed��Zed��Zed��Zej	d��Zed��Z
ed��Zed	��Zed
��Z
RS(cC`s`|jddkrdSdt|jd�ko;dknrOtd��nt|jd�S(NR%ii�Qs*Interval value must be between 1 and 86400(R6R<R9R(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR%�s)cC`s(|jddkrdSt|jd�S(NR&(R6R<R9(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR&�scC`s\|jddkrdS|jddkr.dSt|jd�rL|jdStd��dS(NR,t*s0.0.0.0s1The provided 'ip' parameter is not an IP address.(RAs0.0.0.0(R6R<RR(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR,�scC`s4|jddkrdSt|j|jd�}|S(NR(R6R<R
t	partition(R8tresult((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�scC`s?|jddkrdS|jddkr.dSt|jd�S(NR-RA(R6R<R9(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR-�s
cC`s>|jdkr"|jdkr"dSdj|j|j�}|S(Ns{0}:{1}(R,R<R-tformat(R8R'((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR'�scC`s3|jd�\}}||jd<||jd<dS(NR5R,R-(R7R6(R8tvalueR,R-((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR'�s
cC`s(|jddkrdSt|jd�S(NR(R6R<R9(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�scC`sdS(Nthttps((R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyttype�scC`sg|jddkrdS|jddkr.dSt|j|jd�}|jd�sc|d7}n|S(NR!ts.crt(R6R<R
RBtendswith(R8RC((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR!�s
cC`sg|jddkrdS|jddkr.dSt|j|jd�}|jd�sc|d7}n|S(NR#RHs.key(R6R<R
RBRI(R8RC((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR#�s
(R.R/R?R%R&R,RR-R'tsetterRRGR!R#(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR@�s

tChangescB`seZd�ZRS(cC`sXi}y:x$|jD]}t||�||<qW|j|�}Wntk
rSnX|S(N(R2tgetattrt_filter_paramst	Exception(R8RCt
returnable((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt	to_return
s
(R.R/RP(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRK	st
UsableChangescB`sDeZed��Zed��Zed��Zed��ZRS(cC`s2|jddkrdS|jdtkr.dSdS(NR(tenabledR;(R6R<R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR(s
cC`s2|jddkrdS|jdtkr.dSdS(NRRRR;(R6R<R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRs
cC`s2|jddkrdS|jdtkr.dSdS(NR)RRR;(R6R<R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR)&s
cC`s2|jddkrdS|jdtkr.dSdS(NR+RRR;(R6R<R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR+.s
(R.R/R?R(RR)R+(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRQstReportableChangescB`sbeZed��Zed��Zed��Zed��Zed��Zed��ZRS(cC`s |jdjd�\}}|S(NR'R5(R6R7(R8R,R-((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR,8scC`s&|jdjd�\}}t|�S(NR'R5(R6R7R9(R8R,R-((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR-=scC`s|jddkrtStS(NR(RR(R6R>R=(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR(BscC`s|jddkrtStS(NRRR(R6R>R=(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRHscC`s|jddkrtStS(NR)RR(R6R>R=(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR)NscC`s|jddkrtStS(NR+RR(R6R>R=(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR+Ts(	R.R/R?R,R-R(RR)R+(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRS7st
DifferencecB`s�eZd	d�Zd�Zd�Zed��Zed��Zed��Z	ed��Z
ed��Zed��ZRS(
cC`s||_||_dS(N(twantthave(R8RURV((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt__init__\s	cC`s9yt||�}|SWntk
r4|j|�SXdS(N(RLtAttributeErrort_Difference__default(R8tparamRC((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pytcompare`s

cC`sQt|j|�}y&t|j|�}||kr7|SWntk
rL|SXdS(N(RLRURVRX(R8RZtattr1tattr2((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt	__defaultgs
cC`s+|jj|jjkr'td��ndS(Ns$The parent monitor cannot be changed(RURRVR(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRpscC`s�|jjdkr(|jjdkr(dS|jjdkrZ|jji|jjd6�n|jjdkr�|jji|jjd6�n|jjdkr�|jjdkr�td��n|jj|jjkr�|jjSdS(NR-R,RAsASpecifying an IP address requires that a port number be specified(NRA(RUR,R<R-tupdateRVRR'(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR'ws$  $cC`s�|jjdk	rN|jjdk	rN|jj|jjkr�td��q�nx|jjdk	r�|jj|jjkr�td��q�n<|jjdk	r�|jj|jjkr�td��q�n|jj|jjkr�|jjSdS(Ns1Parameter 'interval' must be less than 'timeout'.(RUR&R<R%RRV(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR%�s$cC`sA|jj|jjkr=|jjdkr=|jj}|SndS(Ntalways(RURRVtupdate_password(R8RC((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�scC`sN|jjdkr(|jjdkr(dS|jj|jjkrJ|jjSdS(NRH(RVR!R<RU(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR!�s$cC`sN|jjdkr(|jjdkr(dS|jj|jjkrJ|jjSdS(NRH(RVR#R<RU(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR#�s$N(
R.R/R<RWR[RYR?RR'R%RR!R#(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRT[s			t
ModuleManagercB`s�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�ZRS(cO`s^|jdd�|_t|jj�|_td|jj�|_t�|_	t
�|_dS(Ntmoduletparams(tgetR<RcR
RdtclientR@RUR4RVRQtchanges(R8targstkwargs((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRW�s
cC`sji}xBtjD]7}t|j|�dk	rt|j|�||<qqW|rftd|�|_ndS(NRd(RR2RLRUR<RQRg(R8tchangedR$((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt_set_changed_options�scC`s�t|j|j�}tj}t�}xX|D]P}|j|�}|dkrUq.q.t|t�rt|j	|�q.|||<q.W|r�t
d|�|_tSt
S(NRd(RTRURVRR3tdictR[R<t
isinstanceR_RQRgR>R=(R8tdiffR3Rjtktchange((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt_update_changed_options�s		
cC`s|j�}|rtStS(N(RqR>R=(R8RC((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt
should_update�scC`sK|jdg�}x2|D]*}|jjjd|dd|d�qWdS(Nt
__warningstmsgtversion(tpopRfRct	deprecate(R8RCtwarningstwarning((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt_announce_deprecations�s


cC`s�|jjdkr,|jjidd6�n|jjdkrX|jjidd6�n|jjdkr�|jjidd6�n|jjdkr�|jjidd6�n|jjdkr�|jjidd	6�n|jjdkr|jjit	d
6�n|jj
dkr4|jjit	d6�n|jjdkr`|jjidd
6�n|jjdkr�|jjidd6�n|jj
dkr�|jjitd6�ndS(NixR&iR%iRRAR,R-RR(sGET /
R*sDEFAULT:+SHA:+3DES:+kEDHRR+(RUR&R<R_R%RR,R-RR=R(R*RR+R>(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt_set_default_creation_values�s(cC`s�t|jd�s!td��nt}t�}|jj}|dkrW|j�}n|dkrr|j�}nt	d|j
j��}|j�}|j|�|jtd|��|j
|�|S(Ntgtms+GTM must be provisioned to use this module.tpresenttabsentRdRj(RRfRR=RlRUtstateR}R~RSRgRPR_Rz(R8RjRCRt
reportableRg((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pytexec_module�s 	

cC`s$|j�r|j�S|j�SdS(N(texistsR_tcreate(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR}
s
cC`s|j�r|j�StS(N(R�tremoveR=(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR~s
cC`s=|j�|_|j�stS|jjr/tS|j�tS(N(tread_current_from_deviceRVRrR=Rct
check_modeR>tupdate_on_device(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR_s
cC`s9|jjrtS|j�|j�r5td��ntS(NsFailed to delete the resource.(RcR�R>tremove_from_deviceR�R(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�!s
cC`s2|j�|j�|jjr$tS|j�tS(N(R{RkRcR�R>tcreate_on_device(R8((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�)s


cC`s�dj|jjd|jjdt|jj|jj��}|jjj|�}y|j	�}Wnt
k
rwtSX|jdks�d|kr�|ddkr�tSt
S(Ns-https://{0}:{1}/mgmt/tm/gtm/monitor/https/{2}tservertserver_porti�tcode(RDRftproviderRRURBtnametapiRetjsonR:R=RR>(R8turitresptresponse((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�1s


+cC`s�|jj�}|jj|d<|jj|d<dj|jjd|jjd�}|jjj	|d|�}y|j
�}Wn%tk
r�}tt
|���nXd|kr�|ddkr�d
|kr�t|d
��q�t|j��n|dS(
NR�RBs*https://{0}:{1}/mgmt/tm/gtm/monitor/https/R�R�R�R�i�i�tmessagetselfLink(i�i�(Rgt
api_paramsRUR�RBRDRfR�R�tpostR�R:Rtstrtcontent(R8RdR�R�R�tex((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�@s 
cC`s�|jj�}dj|jjd|jjdt|jj|jj��}|jj	j
|d|�}y|j�}Wn%tk
r�}t
t|���nXd|kr�|ddkr�d|kr�t
|d��q�t
|j��ndS(Ns-https://{0}:{1}/mgmt/tm/gtm/monitor/https/{2}R�R�R�R�i�R�(RgR�RDRfR�RRURBR�R�tpatchR�R:RR�R�(R8RdR�R�R�R�((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�Us

cC`sydj|jjd|jjdt|jj|jj��}|jjj|�}|j	dkrft
St|j��dS(Ns-https://{0}:{1}/mgmt/tm/gtm/monitor/https/{2}R�R�i�(
RDRfR�RRURBR�R�tdeleteRR>RR�(R8R�R�((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�hs

cC`s�dj|jjd|jjdt|jj|jj��}|jjj|�}y|j	�}Wn%t
k
r�}tt|���nXd|kr�|ddkr�d|kr�t|d��q�t|j
��ntd|�S(Ns-https://{0}:{1}/mgmt/tm/gtm/monitor/https/{2}R�R�R�i�R�Rd(RDRfR�RRURBR�R�ReR�R:RR�R�R4(R8R�R�R�R�((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR�ss

(R.R/RWRkRqRrRzR{R�R}R~R_R�R�R�R�R�R�R�(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRb�s"																	tArgumentSpeccB`seZd�ZRS(c0C`sqt|_tdtdt�dtdd�dt�dt�dt�d	t�d
tdd�d
tdd�dtdd�dtdd�dtdd�dtdd�dt�dtdt�dt�dtdd�dt�dt�dtdddddg�dtddddd g�d!tdd"d#td$gf��}i|_|jjt�|jj|�dS(%NR�trequiredRtdefaults
/Common/httpsR*RR,R-R%RGR9R&RtboolR(RR)RRtno_logRR+R!R#RaR`tchoicest	on_createRR}R~RBtCommontfallbacktF5_PARTITION(R>tsupports_check_modeRlR	t
argument_specR_R(R8R�((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyRW�s@										(R.R/RW(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyR��scC`s�t�}td|jd|j�}y,td|�}|j�}|j|�Wn)tk
r{}|jdt	|��nXdS(NR�R�RcRt(
R�RR�R�RbR�t	exit_jsonRt	fail_jsonR�(tspecRctmmtresultsR�((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pytmain�s		t__main__N(*t
__future__RRRRGt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRR	t%library.module_utils.network.f5.bigipR
t&library.module_utils.network.f5.commonRRR
RRt(library.module_utils.network.f5.icontrolRt)library.module_utils.network.f5.ipaddressRtImportErrort%ansible.module_utils.network.f5.bigipt&ansible.module_utils.network.f5.commont(ansible.module_utils.network.f5.icontrolt)ansible.module_utils.network.f5.ipaddressRR4R@RKRQRStobjectRTRbR�R�R.(((sV/usr/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_gtm_monitor_https.pyt<module>sN


�$N
G/["$W�(	

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