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_backupconfiguration.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_backupconfiguration
author: Gaurav Rastogi (@grastogi23) <[email protected]>

short_description: Module for setup of BackupConfiguration Avi RESTful Object
description:
    - This module is used to configure BackupConfiguration object
    - more examples at U(https://github.com/avinetworks/devops)
requirements: [ avisdk ]
version_added: "2.4"
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"]
    aws_access_key:
        description:
            - Aws access key id.
            - Field introduced in 18.2.3.
        version_added: "2.9"
    aws_bucket_id:
        description:
            - Aws bucket.
            - Field introduced in 18.2.3.
        version_added: "2.9"
    aws_secret_access:
        description:
            - Aws secret access key.
            - Field introduced in 18.2.3.
        version_added: "2.9"
    backup_file_prefix:
        description:
            - Prefix of the exported configuration file.
            - Field introduced in 17.1.1.
    backup_passphrase:
        description:
            - Passphrase of backup configuration.
    maximum_backups_stored:
        description:
            - Rotate the backup files based on this count.
            - Allowed values are 1-20.
            - Default value when not specified in API or module is interpreted by Avi Controller as 4.
    name:
        description:
            - Name of backup configuration.
        required: true
    remote_directory:
        description:
            - Directory at remote destination with write permission for ssh user.
    remote_hostname:
        description:
            - Remote destination.
    save_local:
        description:
            - Local backup.
        type: bool
    ssh_user_ref:
        description:
            - Access credentials for remote destination.
            - It is a reference to an object of type cloudconnectoruser.
    tenant_ref:
        description:
            - It is a reference to an object of type tenant.
    upload_to_remote_host:
        description:
            - Remote backup.
        type: bool
    upload_to_s3:
        description:
            - Cloud backup.
            - Field introduced in 18.2.3.
        version_added: "2.9"
        type: bool
    url:
        description:
            - Avi controller URL of the object.
    uuid:
        description:
            - Unique object identifier of the object.
extends_documentation_fragment:
    - avi
s�
- name: Example to create BackupConfiguration object
  avi_backupconfiguration:
    controller: 10.10.25.42
    username: admin
    password: something
    state: present
    name: sample_backupconfiguration
sz
obj:
    description: BackupConfiguration (api/backupconfiguration) object
    returned: success, changed
    type: dict
i����(t
AnsibleModule(tavi_common_argument_spectavi_ansible_apitHAS_AVIc)Cs�tdtdddddg�dtdddddg�d	tdd
ddg�d
tdddt�dtdd�dtdddt�dtdd�dtdddt�dtdd�dtdddt�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�d tdd�d!tdd�d"tdd��}|jt��td#|d$t�}ts�|jd%d&�St|d'tdd
dg��S((Ntstatetdefaulttpresenttchoicestabsenttavi_api_update_methodtputtpatchtavi_api_patch_optaddtreplacetdeletetaws_access_keyttypetstrtno_logt
aws_bucket_idtaws_secret_accesstbackup_file_prefixtbackup_passphrasetmaximum_backups_storedtinttnametrequiredtremote_directorytremote_hostnamet
save_localtbooltssh_user_reft
tenant_reftupload_to_remote_hosttupload_to_s3turltuuidt
argument_spectsupports_check_modetmsgszAvi python API SDK (avisdk>=17.1) or requests is not installed. For more details visit https://github.com/avinetworks/sdk.tbackupconfiguration(	tdicttTruetupdateRRRt	fail_jsonRtset(targument_specstmodule((sW/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_backupconfiguration.pytmain�s<		t__main__N(tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt$ansible.module_utils.network.avi.aviRRRtImportErrortFalseR6t__name__(((sW/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_backupconfiguration.pyt<module>s


a
 

	#

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