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_global_assignment.pyo

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddlm
Z
mZd
�Zedkr�e�ndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	communitytsupported_bys�
---
module: cp_mgmt_global_assignment
short_description: Manages global-assignment objects on Check Point over Web Services API
description:
  - Manages global-assignment objects on Check Point devices including creating, updating and removing objects.
  - All operations are performed over Web Services API.
version_added: "2.9"
author: "Or Soffer (@chkp-orso)"
options:
  dependent_domain:
    description:
      - N/A
    type: str
  global_access_policy:
    description:
      - Global domain access policy that is assigned to a dependent domain.
    type: str
  global_domain:
    description:
      - N/A
    type: str
  global_threat_prevention_policy:
    description:
      - Global domain threat prevention policy that is assigned to a dependent domain.
    type: str
  manage_protection_actions:
    description:
      - N/A
    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']
  ignore_warnings:
    description:
      - Apply changes ignoring warnings.
    type: bool
  ignore_errors:
    description:
      - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
    type: bool
extends_documentation_fragment: checkpoint_objects
s[
- name: add-global-assignment
  cp_mgmt_global_assignment:
    dependent_domain: domain2
    global_access_policy: standard
    global_domain: Global
    global_threat_prevention_policy: standard
    manage_protection_actions: true
    state: present

- name: set-global-assignment
  cp_mgmt_global_assignment:
    dependent_domain: domain1
    global_domain: Global2
    global_threat_prevention_policy: ''
    manage_protection_actions: false
    state: present

- name: delete-global-assignment
  cp_mgmt_global_assignment:
    dependent_domain: domain1
    global_domain: Global2
    state: absent
s�
cp_mgmt_global_assignment:
  description: The checkpoint object created or updated.
  returned: always, except when deleting the object.
  type: dict
(t
AnsibleModule(t$checkpoint_argument_spec_for_objectstapi_callcC`s�tdtdd�dtdd�dtdd�dtdd�dtdd�d	tddd
ddd
g�dtdd�dtdd��}|jt�td|dt�}d}t||�}|j|�dS(Ntdependent_domainttypetstrtglobal_access_policyt
global_domaintglobal_threat_prevention_policytmanage_protection_actionstboolt
details_leveltchoicestuidtstandardtfulltignore_warningst
ignore_errorst
argument_spectsupports_check_modesglobal-assignment(tdicttupdateR	RtTrueR
t	exit_json(Rtmoduletapi_call_objecttresult((sa/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_global_assignment.pytmainos
t__main__N(t
__future__RRRRt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt2ansible.module_utils.network.checkpoint.checkpointR	R
R#t__name__(((sa/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_global_assignment.pyt<module>s


/	

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