Anons79 Mini Shell

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

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddlm
Z
mZd
�Zedkr�e�ndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	communitytsupported_bysn	
---
module: cp_mgmt_group_facts
short_description: Get group objects facts on Check Point over Web Services API
description:
  - Get group objects facts on Check Point devices.
  - All operations are performed over Web Services API.
  - This module handles both operations, get a specific object and get several objects,
    For getting a specific object use the parameter 'name'.
version_added: "2.9"
author: "Or Soffer (@chkp-orso)"
options:
  name:
    description:
      - Object name.
        This parameter is relevant only for getting a specific object.
    type: str
  show_as_ranges:
    description:
      - When true, the group's matched content is displayed as ranges of IP addresses rather than network objects.<br />Objects that are not
        represented using IP addresses are presented as objects.<br />The 'members' parameter is omitted from the response and instead the 'ranges' parameter
        is displayed.
    type: bool
  details_level:
    description:
      - The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed
        representation of the object.
    type: str
    choices: ['uid', 'standard', 'full']
  limit:
    description:
      - No more than that many results will be returned.
        This parameter is relevant only for getting few objects.
    type: int
  offset:
    description:
      - Skip that many results before beginning to return them.
        This parameter is relevant only for getting few objects.
    type: int
  order:
    description:
      - Sorts results by the given field. By default the results are sorted in the ascending order by name.
        This parameter is relevant only for getting few objects.
    type: list
    suboptions:
      ASC:
        description:
          - Sorts results by the given field in ascending order.
        type: str
        choices: ['name']
      DESC:
        description:
          - Sorts results by the given field in descending order.
        type: str
        choices: ['name']
  dereference_group_members:
    description:
      - Indicates whether to dereference "members" field by details level for every object in reply.
    type: bool
  show_membership:
    description:
      - Indicates whether to calculate and show "groups" field for every object in reply.
    type: bool
extends_documentation_fragment: checkpoint_facts
s�
- name: show-group
  cp_mgmt_group_facts:
    name: Demo_Group

- name: show-groups
  cp_mgmt_group_facts:
    details_level: standard
    limit: 50
    offset: 0
s]
ansible_facts:
  description: The checkpoint object facts.
  returned: always.
  type: dict
(t
AnsibleModule(t"checkpoint_argument_spec_for_factstapi_call_factscC`stdtdd�dtdd�dtddddd	d
g�dtdd�d
tdd�dtdddtdtddddg�dtddddg���dtdd�dtdd��}|jt�td|�}d}d}t|||�}|jd|�dS(Ntnamettypetstrtshow_as_rangestboolt
details_leveltchoicestuidtstandardtfulltlimittinttoffsettordertlisttoptionstASCtDESCtdereference_group_memberstshow_membershipt
argument_spectgrouptgroupst
ansible_facts(tdicttupdateR	RR
t	exit_json(Rtmoduletapi_call_objecttapi_call_object_plural_versiontresult((s[/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_group_facts.pytmainus"
t__main__N(t
__future__RRRRt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt2ansible.module_utils.network.checkpoint.checkpointR	R
R*t__name__(((s[/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_group_facts.pyt<module>s


B	

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