python-terrascript/tests/test_provider_vmware_avi.py

451 lines
14 KiB
Python

# tests/test_provider_vmware_avi.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:12:08 UTC)
def test_provider_import():
import terrascript.provider.vmware.avi
def test_resource_import():
from terrascript.resource.vmware.avi import avi_actiongroupconfig
from terrascript.resource.vmware.avi import avi_albservicesconfig
from terrascript.resource.vmware.avi import avi_albservicesfileupload
from terrascript.resource.vmware.avi import avi_alertconfig
from terrascript.resource.vmware.avi import avi_alertemailconfig
from terrascript.resource.vmware.avi import avi_alertscriptconfig
from terrascript.resource.vmware.avi import avi_alertsyslogconfig
from terrascript.resource.vmware.avi import avi_analyticsprofile
from terrascript.resource.vmware.avi import avi_applicationpersistenceprofile
from terrascript.resource.vmware.avi import avi_applicationprofile
from terrascript.resource.vmware.avi import avi_authprofile
from terrascript.resource.vmware.avi import avi_autoscalelaunchconfig
from terrascript.resource.vmware.avi import avi_availabilityzone
from terrascript.resource.vmware.avi import avi_backup
from terrascript.resource.vmware.avi import avi_backupconfiguration
from terrascript.resource.vmware.avi import avi_botconfigconsolidator
from terrascript.resource.vmware.avi import avi_botdetectionpolicy
from terrascript.resource.vmware.avi import avi_botipreputationtypemapping
from terrascript.resource.vmware.avi import avi_botmapping
from terrascript.resource.vmware.avi import avi_certificatemanagementprofile
from terrascript.resource.vmware.avi import avi_cloud
from terrascript.resource.vmware.avi import avi_cloudconnectoruser
from terrascript.resource.vmware.avi import avi_cloudproperties
from terrascript.resource.vmware.avi import avi_cluster
from terrascript.resource.vmware.avi import avi_clusterclouddetails
from terrascript.resource.vmware.avi import avi_controllerportalregistration
from terrascript.resource.vmware.avi import avi_controllerproperties
from terrascript.resource.vmware.avi import avi_controllersite
from terrascript.resource.vmware.avi import avi_customipamdnsprofile
from terrascript.resource.vmware.avi import avi_dnspolicy
from terrascript.resource.vmware.avi import avi_dynamicdnsrecord
from terrascript.resource.vmware.avi import avi_errorpagebody
from terrascript.resource.vmware.avi import avi_errorpageprofile
from terrascript.resource.vmware.avi import avi_federationcheckpoint
from terrascript.resource.vmware.avi import avi_fileobject
from terrascript.resource.vmware.avi import avi_fileservice
from terrascript.resource.vmware.avi import avi_geodb
from terrascript.resource.vmware.avi import avi_gslb
from terrascript.resource.vmware.avi import avi_gslbgeodbprofile
from terrascript.resource.vmware.avi import avi_gslbservice
from terrascript.resource.vmware.avi import avi_hardwaresecuritymodulegroup
from terrascript.resource.vmware.avi import avi_healthmonitor
from terrascript.resource.vmware.avi import avi_httppolicyset
from terrascript.resource.vmware.avi import avi_icapprofile
from terrascript.resource.vmware.avi import avi_image
from terrascript.resource.vmware.avi import avi_inventoryfaultconfig
from terrascript.resource.vmware.avi import avi_ipaddrgroup
from terrascript.resource.vmware.avi import avi_ipamdnsproviderprofile
from terrascript.resource.vmware.avi import avi_ipreputationdb
from terrascript.resource.vmware.avi import avi_jwtserverprofile
from terrascript.resource.vmware.avi import avi_l4policyset
from terrascript.resource.vmware.avi import avi_labelgroup
from terrascript.resource.vmware.avi import avi_licenseledgerdetails
from terrascript.resource.vmware.avi import avi_memorybalancerrequest
from terrascript.resource.vmware.avi import avi_microservicegroup
from terrascript.resource.vmware.avi import avi_natpolicy
from terrascript.resource.vmware.avi import avi_network
from terrascript.resource.vmware.avi import avi_networkprofile
from terrascript.resource.vmware.avi import avi_networksecuritypolicy
from terrascript.resource.vmware.avi import avi_networkservice
from terrascript.resource.vmware.avi import avi_nsxtsegmentruntime
from terrascript.resource.vmware.avi import avi_pingaccessagent
from terrascript.resource.vmware.avi import avi_pkiprofile
from terrascript.resource.vmware.avi import avi_pool
from terrascript.resource.vmware.avi import avi_poolgroup
from terrascript.resource.vmware.avi import avi_poolgroupdeploymentpolicy
from terrascript.resource.vmware.avi import avi_prioritylabels
from terrascript.resource.vmware.avi import avi_protocolparser
from terrascript.resource.vmware.avi import avi_rmcloudopsproto
from terrascript.resource.vmware.avi import avi_role
from terrascript.resource.vmware.avi import avi_scheduler
from terrascript.resource.vmware.avi import avi_securitymanagerdata
from terrascript.resource.vmware.avi import avi_securitypolicy
from terrascript.resource.vmware.avi import avi_seproperties
from terrascript.resource.vmware.avi import avi_server
from terrascript.resource.vmware.avi import avi_serverautoscalepolicy
from terrascript.resource.vmware.avi import avi_serviceengine
from terrascript.resource.vmware.avi import avi_serviceenginegroup
from terrascript.resource.vmware.avi import avi_siteversion
from terrascript.resource.vmware.avi import avi_snmptrapprofile
from terrascript.resource.vmware.avi import avi_sslkeyandcertificate
from terrascript.resource.vmware.avi import avi_sslprofile
from terrascript.resource.vmware.avi import avi_ssopolicy
from terrascript.resource.vmware.avi import avi_stringgroup
from terrascript.resource.vmware.avi import avi_systemconfiguration
from terrascript.resource.vmware.avi import avi_systemlimits
from terrascript.resource.vmware.avi import avi_tenant
from terrascript.resource.vmware.avi import avi_testsedatastorelevel1
from terrascript.resource.vmware.avi import avi_testsedatastorelevel2
from terrascript.resource.vmware.avi import avi_testsedatastorelevel3
from terrascript.resource.vmware.avi import avi_trafficcloneprofile
from terrascript.resource.vmware.avi import avi_upgradestatusinfo
from terrascript.resource.vmware.avi import avi_upgradestatussummary
from terrascript.resource.vmware.avi import avi_user
from terrascript.resource.vmware.avi import avi_useraccount
from terrascript.resource.vmware.avi import avi_useraccountprofile
from terrascript.resource.vmware.avi import avi_vcenterserver
from terrascript.resource.vmware.avi import avi_virtualservice
from terrascript.resource.vmware.avi import avi_vrfcontext
from terrascript.resource.vmware.avi import avi_vsdatascriptset
from terrascript.resource.vmware.avi import avi_vsvip
from terrascript.resource.vmware.avi import avi_wafapplicationsignatureprovider
from terrascript.resource.vmware.avi import avi_wafcrs
from terrascript.resource.vmware.avi import avi_wafpolicy
from terrascript.resource.vmware.avi import avi_wafpolicypsmgroup
from terrascript.resource.vmware.avi import avi_wafprofile
from terrascript.resource.vmware.avi import avi_webhook
def test_datasource_import():
from terrascript.data.vmware.avi import avi_actiongroupconfig
from terrascript.data.vmware.avi import avi_albservicesconfig
from terrascript.data.vmware.avi import avi_albservicesfileupload
from terrascript.data.vmware.avi import avi_alertconfig
from terrascript.data.vmware.avi import avi_alertemailconfig
from terrascript.data.vmware.avi import avi_alertscriptconfig
from terrascript.data.vmware.avi import avi_alertsyslogconfig
from terrascript.data.vmware.avi import avi_analyticsprofile
from terrascript.data.vmware.avi import avi_applicationpersistenceprofile
from terrascript.data.vmware.avi import avi_applicationprofile
from terrascript.data.vmware.avi import avi_authprofile
from terrascript.data.vmware.avi import avi_autoscalelaunchconfig
from terrascript.data.vmware.avi import avi_availabilityzone
from terrascript.data.vmware.avi import avi_backup
from terrascript.data.vmware.avi import avi_backupconfiguration
from terrascript.data.vmware.avi import avi_botconfigconsolidator
from terrascript.data.vmware.avi import avi_botdetectionpolicy
from terrascript.data.vmware.avi import avi_botipreputationtypemapping
from terrascript.data.vmware.avi import avi_botmapping
from terrascript.data.vmware.avi import avi_certificatemanagementprofile
from terrascript.data.vmware.avi import avi_cloud
from terrascript.data.vmware.avi import avi_cloudconnectoruser
from terrascript.data.vmware.avi import avi_cloudproperties
from terrascript.data.vmware.avi import avi_cluster
from terrascript.data.vmware.avi import avi_clusterclouddetails
from terrascript.data.vmware.avi import avi_controllerportalregistration
from terrascript.data.vmware.avi import avi_controllerproperties
from terrascript.data.vmware.avi import avi_controllersite
from terrascript.data.vmware.avi import avi_customipamdnsprofile
from terrascript.data.vmware.avi import avi_dnspolicy
from terrascript.data.vmware.avi import avi_dynamicdnsrecord
from terrascript.data.vmware.avi import avi_errorpagebody
from terrascript.data.vmware.avi import avi_errorpageprofile
from terrascript.data.vmware.avi import avi_federationcheckpoint
from terrascript.data.vmware.avi import avi_fileobject
from terrascript.data.vmware.avi import avi_fileservice
from terrascript.data.vmware.avi import avi_geodb
from terrascript.data.vmware.avi import avi_gslb
from terrascript.data.vmware.avi import avi_gslbgeodbprofile
from terrascript.data.vmware.avi import avi_gslbservice
from terrascript.data.vmware.avi import avi_hardwaresecuritymodulegroup
from terrascript.data.vmware.avi import avi_healthmonitor
from terrascript.data.vmware.avi import avi_httppolicyset
from terrascript.data.vmware.avi import avi_icapprofile
from terrascript.data.vmware.avi import avi_image
from terrascript.data.vmware.avi import avi_inventoryfaultconfig
from terrascript.data.vmware.avi import avi_ipaddrgroup
from terrascript.data.vmware.avi import avi_ipamdnsproviderprofile
from terrascript.data.vmware.avi import avi_ipreputationdb
from terrascript.data.vmware.avi import avi_jwtserverprofile
from terrascript.data.vmware.avi import avi_l4policyset
from terrascript.data.vmware.avi import avi_labelgroup
from terrascript.data.vmware.avi import avi_licenseledgerdetails
from terrascript.data.vmware.avi import avi_memorybalancerrequest
from terrascript.data.vmware.avi import avi_microservicegroup
from terrascript.data.vmware.avi import avi_natpolicy
from terrascript.data.vmware.avi import avi_network
from terrascript.data.vmware.avi import avi_networkprofile
from terrascript.data.vmware.avi import avi_networksecuritypolicy
from terrascript.data.vmware.avi import avi_networkservice
from terrascript.data.vmware.avi import avi_nsxtsegmentruntime
from terrascript.data.vmware.avi import avi_pingaccessagent
from terrascript.data.vmware.avi import avi_pkiprofile
from terrascript.data.vmware.avi import avi_pool
from terrascript.data.vmware.avi import avi_poolgroup
from terrascript.data.vmware.avi import avi_poolgroupdeploymentpolicy
from terrascript.data.vmware.avi import avi_prioritylabels
from terrascript.data.vmware.avi import avi_protocolparser
from terrascript.data.vmware.avi import avi_rmcloudopsproto
from terrascript.data.vmware.avi import avi_role
from terrascript.data.vmware.avi import avi_scheduler
from terrascript.data.vmware.avi import avi_securitymanagerdata
from terrascript.data.vmware.avi import avi_securitypolicy
from terrascript.data.vmware.avi import avi_seproperties
from terrascript.data.vmware.avi import avi_server
from terrascript.data.vmware.avi import avi_serverautoscalepolicy
from terrascript.data.vmware.avi import avi_serviceengine
from terrascript.data.vmware.avi import avi_serviceenginegroup
from terrascript.data.vmware.avi import avi_siteversion
from terrascript.data.vmware.avi import avi_snmptrapprofile
from terrascript.data.vmware.avi import avi_sslkeyandcertificate
from terrascript.data.vmware.avi import avi_sslprofile
from terrascript.data.vmware.avi import avi_ssopolicy
from terrascript.data.vmware.avi import avi_stringgroup
from terrascript.data.vmware.avi import avi_systemconfiguration
from terrascript.data.vmware.avi import avi_systemlimits
from terrascript.data.vmware.avi import avi_tenant
from terrascript.data.vmware.avi import avi_testsedatastorelevel1
from terrascript.data.vmware.avi import avi_testsedatastorelevel2
from terrascript.data.vmware.avi import avi_testsedatastorelevel3
from terrascript.data.vmware.avi import avi_trafficcloneprofile
from terrascript.data.vmware.avi import avi_upgradestatusinfo
from terrascript.data.vmware.avi import avi_upgradestatussummary
from terrascript.data.vmware.avi import avi_user
from terrascript.data.vmware.avi import avi_useraccountprofile
from terrascript.data.vmware.avi import avi_vcenterserver
from terrascript.data.vmware.avi import avi_virtualservice
from terrascript.data.vmware.avi import avi_vrfcontext
from terrascript.data.vmware.avi import avi_vsdatascriptset
from terrascript.data.vmware.avi import avi_vsvip
from terrascript.data.vmware.avi import avi_wafapplicationsignatureprovider
from terrascript.data.vmware.avi import avi_wafcrs
from terrascript.data.vmware.avi import avi_wafpolicy
from terrascript.data.vmware.avi import avi_wafpolicypsmgroup
from terrascript.data.vmware.avi import avi_wafprofile
from terrascript.data.vmware.avi import avi_webhook
# TODO: Shortcut imports without namespace for official and supported providers.
# TODO: This has to be moved into a required_providers block.
# def test_version_source():
#
# import terrascript.provider.vmware.avi
#
# t = terrascript.provider.vmware.avi.avi()
# s = str(t)
#
# assert 'https://github.com/vmware/terraform-provider-avi' in s
# assert '21.1.1' in s