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_ipamdnsproviderprofile.pyc

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

short_description: Module for setup of IpamDnsProviderProfile Avi RESTful Object
description:
    - This module is used to configure IpamDnsProviderProfile 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"]
    allocate_ip_in_vrf:
        description:
            - If this flag is set, only allocate ip from networks in the virtual service vrf.
            - Applicable for avi vantage ipam only.
            - Field introduced in 17.2.4.
            - Default value when not specified in API or module is interpreted by Avi Controller as False.
        version_added: "2.5"
        type: bool
    aws_profile:
        description:
            - Provider details if type is aws.
    azure_profile:
        description:
            - Provider details if type is microsoft azure.
            - Field introduced in 17.2.1.
        version_added: "2.5"
    custom_profile:
        description:
            - Provider details if type is custom.
            - Field introduced in 17.1.1.
    gcp_profile:
        description:
            - Provider details if type is google cloud.
    infoblox_profile:
        description:
            - Provider details if type is infoblox.
    internal_profile:
        description:
            - Provider details if type is avi.
    name:
        description:
            - Name for the ipam/dns provider profile.
        required: true
    oci_profile:
        description:
            - Provider details for oracle cloud.
            - Field introduced in 18.2.1,18.1.3.
        version_added: "2.9"
    openstack_profile:
        description:
            - Provider details if type is openstack.
    proxy_configuration:
        description:
            - Field introduced in 17.1.1.
    tenant_ref:
        description:
            - It is a reference to an object of type tenant.
    tencent_profile:
        description:
            - Provider details for tencent cloud.
            - Field introduced in 18.2.3.
        version_added: "2.9"
    type:
        description:
            - Provider type for the ipam/dns provider profile.
            - Enum options - IPAMDNS_TYPE_INFOBLOX, IPAMDNS_TYPE_AWS, IPAMDNS_TYPE_OPENSTACK, IPAMDNS_TYPE_GCP, IPAMDNS_TYPE_INFOBLOX_DNS, IPAMDNS_TYPE_CUSTOM,
            - IPAMDNS_TYPE_CUSTOM_DNS, IPAMDNS_TYPE_AZURE, IPAMDNS_TYPE_OCI, IPAMDNS_TYPE_TENCENT, IPAMDNS_TYPE_INTERNAL, IPAMDNS_TYPE_INTERNAL_DNS,
            - IPAMDNS_TYPE_AWS_DNS, IPAMDNS_TYPE_AZURE_DNS.
        required: true
    url:
        description:
            - Avi controller URL of the object.
    uuid:
        description:
            - Uuid of the ipam/dns provider profile.
extends_documentation_fragment:
    - avi
s,
  - name: Create IPAM DNS provider setting
    avi_ipamdnsproviderprofile:
      controller: '{{ controller }}'
      username: '{{ username }}'
      password: '{{ password }}'
      internal_profile:
        dns_service_domain:
        - domain_name: ashish.local
          num_dns_ip: 1
          pass_through: true
          record_ttl: 100
        - domain_name: guru.local
          num_dns_ip: 1
          pass_through: true
          record_ttl: 200
        ttl: 300
      name: Ashish-DNS
      tenant_ref: Demo
      type: IPAMDNS_TYPE_INTERNAL
s�
obj:
    description: IpamDnsProviderProfile (api/ipamdnsproviderprofile) object
    returned: success, changed
    type: dict
i����(t
AnsibleModule(tavi_common_argument_spectavi_ansible_apitHAS_AVIc)Cs�tdtdddddg�dtdddddg�d	tdd
ddg�d
tdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdd�dtdddt�dtdd�dtdd�dtdd�dtdd�dtdd�dtdddt�dtdd�d tdd��}|jt��td!|d"t�}ts�|jd#d$�St|d%tg��S(&Ntstatetdefaulttpresenttchoicestabsenttavi_api_update_methodtputtpatchtavi_api_patch_optaddtreplacetdeletetallocate_ip_in_vrfttypetbooltaws_profiletdictt
azure_profiletcustom_profiletgcp_profiletinfoblox_profiletinternal_profiletnametstrtrequiredtoci_profiletopenstack_profiletproxy_configurationt
tenant_refttencent_profileturltuuidt
argument_spectsupports_check_modetmsgszAvi python API SDK (avisdk>=17.1) or requests is not installed. For more details visit https://github.com/avinetworks/sdk.tipamdnsproviderprofile(	RtTruetupdateRRRt	fail_jsonRtset(targument_specstmodule((sZ/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_ipamdnsproviderprofile.pytmain�s<		t__main__N(tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt$ansible.module_utils.network.avi.aviRRRtImportErrortFalseR3t__name__(((sZ/usr/lib/python2.7/site-packages/ansible/modules/network/avi/avi_ipamdnsproviderprofile.pyt<module>s


b 

	#

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