python-terrascript/tests/test_provider_vmware_vcd.py

237 lines
7.4 KiB
Python

# tests/test_provider_vmware_vcd.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:30:19 UTC)
def test_provider_import():
import terrascript.provider.vmware.vcd
def test_resource_import():
from terrascript.resource.vmware.vcd import vcd_catalog
from terrascript.resource.vmware.vcd import vcd_catalog_item
from terrascript.resource.vmware.vcd import vcd_catalog_media
from terrascript.resource.vmware.vcd import vcd_edgegateway
from terrascript.resource.vmware.vcd import vcd_edgegateway_settings
from terrascript.resource.vmware.vcd import vcd_edgegateway_vpn
from terrascript.resource.vmware.vcd import vcd_external_network
from terrascript.resource.vmware.vcd import vcd_external_network_v2
from terrascript.resource.vmware.vcd import vcd_global_role
from terrascript.resource.vmware.vcd import vcd_independent_disk
from terrascript.resource.vmware.vcd import vcd_inserted_media
from terrascript.resource.vmware.vcd import vcd_lb_app_profile
from terrascript.resource.vmware.vcd import vcd_lb_app_rule
from terrascript.resource.vmware.vcd import vcd_lb_server_pool
from terrascript.resource.vmware.vcd import vcd_lb_service_monitor
from terrascript.resource.vmware.vcd import vcd_lb_virtual_server
from terrascript.resource.vmware.vcd import vcd_network_direct
from terrascript.resource.vmware.vcd import vcd_network_isolated
from terrascript.resource.vmware.vcd import vcd_network_isolated_v2
from terrascript.resource.vmware.vcd import vcd_network_routed
from terrascript.resource.vmware.vcd import vcd_network_routed_v2
from terrascript.resource.vmware.vcd import vcd_nsxt_app_port_profile
from terrascript.resource.vmware.vcd import vcd_nsxt_edgegateway
from terrascript.resource.vmware.vcd import vcd_nsxt_firewall
from terrascript.resource.vmware.vcd import vcd_nsxt_ip_set
from terrascript.resource.vmware.vcd import vcd_nsxt_ipsec_vpn_tunnel
from terrascript.resource.vmware.vcd import vcd_nsxt_nat_rule
from terrascript.resource.vmware.vcd import vcd_nsxt_network_dhcp
from terrascript.resource.vmware.vcd import vcd_nsxt_network_imported
from terrascript.resource.vmware.vcd import vcd_nsxt_security_group
from terrascript.resource.vmware.vcd import vcd_nsxv_dhcp_relay
from terrascript.resource.vmware.vcd import vcd_nsxv_dnat
from terrascript.resource.vmware.vcd import vcd_nsxv_firewall_rule
from terrascript.resource.vmware.vcd import vcd_nsxv_ip_set
from terrascript.resource.vmware.vcd import vcd_nsxv_snat
from terrascript.resource.vmware.vcd import vcd_org
from terrascript.resource.vmware.vcd import vcd_org_group
from terrascript.resource.vmware.vcd import vcd_org_user
from terrascript.resource.vmware.vcd import vcd_org_vdc
from terrascript.resource.vmware.vcd import vcd_rights_bundle
from terrascript.resource.vmware.vcd import vcd_role
from terrascript.resource.vmware.vcd import vcd_vapp
from terrascript.resource.vmware.vcd import vcd_vapp_access_control
from terrascript.resource.vmware.vcd import vcd_vapp_firewall_rules
from terrascript.resource.vmware.vcd import vcd_vapp_nat_rules
from terrascript.resource.vmware.vcd import vcd_vapp_network
from terrascript.resource.vmware.vcd import vcd_vapp_org_network
from terrascript.resource.vmware.vcd import vcd_vapp_static_routing
from terrascript.resource.vmware.vcd import vcd_vapp_vm
from terrascript.resource.vmware.vcd import vcd_vm
from terrascript.resource.vmware.vcd import vcd_vm_affinity_rule
from terrascript.resource.vmware.vcd import vcd_vm_internal_disk
from terrascript.resource.vmware.vcd import vcd_vm_sizing_policy
def test_datasource_import():
from terrascript.data.vmware.vcd import vcd_catalog
from terrascript.data.vmware.vcd import vcd_catalog_item
from terrascript.data.vmware.vcd import vcd_catalog_media
from terrascript.data.vmware.vcd import vcd_edgegateway
from terrascript.data.vmware.vcd import vcd_external_network
from terrascript.data.vmware.vcd import vcd_external_network_v2
from terrascript.data.vmware.vcd import vcd_global_role
from terrascript.data.vmware.vcd import vcd_independent_disk
from terrascript.data.vmware.vcd import vcd_lb_app_profile
from terrascript.data.vmware.vcd import vcd_lb_app_rule
from terrascript.data.vmware.vcd import vcd_lb_server_pool
from terrascript.data.vmware.vcd import vcd_lb_service_monitor
from terrascript.data.vmware.vcd import vcd_lb_virtual_server
from terrascript.data.vmware.vcd import vcd_network_direct
from terrascript.data.vmware.vcd import vcd_network_isolated
from terrascript.data.vmware.vcd import vcd_network_isolated_v2
from terrascript.data.vmware.vcd import vcd_network_routed
from terrascript.data.vmware.vcd import vcd_network_routed_v2
from terrascript.data.vmware.vcd import vcd_nsxt_app_port_profile
from terrascript.data.vmware.vcd import vcd_nsxt_edge_cluster
from terrascript.data.vmware.vcd import vcd_nsxt_edgegateway
from terrascript.data.vmware.vcd import vcd_nsxt_firewall
from terrascript.data.vmware.vcd import vcd_nsxt_ip_set
from terrascript.data.vmware.vcd import vcd_nsxt_ipsec_vpn_tunnel
from terrascript.data.vmware.vcd import vcd_nsxt_manager
from terrascript.data.vmware.vcd import vcd_nsxt_nat_rule
from terrascript.data.vmware.vcd import vcd_nsxt_network_dhcp
from terrascript.data.vmware.vcd import vcd_nsxt_network_imported
from terrascript.data.vmware.vcd import vcd_nsxt_security_group
from terrascript.data.vmware.vcd import vcd_nsxt_tier0_router
from terrascript.data.vmware.vcd import vcd_nsxv_dhcp_relay
from terrascript.data.vmware.vcd import vcd_nsxv_dnat
from terrascript.data.vmware.vcd import vcd_nsxv_firewall_rule
from terrascript.data.vmware.vcd import vcd_nsxv_ip_set
from terrascript.data.vmware.vcd import vcd_nsxv_snat
from terrascript.data.vmware.vcd import vcd_org
from terrascript.data.vmware.vcd import vcd_org_user
from terrascript.data.vmware.vcd import vcd_org_vdc
from terrascript.data.vmware.vcd import vcd_portgroup
from terrascript.data.vmware.vcd import vcd_resource_list
from terrascript.data.vmware.vcd import vcd_resource_schema
from terrascript.data.vmware.vcd import vcd_right
from terrascript.data.vmware.vcd import vcd_rights_bundle
from terrascript.data.vmware.vcd import vcd_role
from terrascript.data.vmware.vcd import vcd_storage_profile
from terrascript.data.vmware.vcd import vcd_vapp
from terrascript.data.vmware.vcd import vcd_vapp_network
from terrascript.data.vmware.vcd import vcd_vapp_org_network
from terrascript.data.vmware.vcd import vcd_vapp_vm
from terrascript.data.vmware.vcd import vcd_vcenter
from terrascript.data.vmware.vcd import vcd_vm
from terrascript.data.vmware.vcd import vcd_vm_affinity_rule
from terrascript.data.vmware.vcd import vcd_vm_sizing_policy
# 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.vcd
#
# t = terrascript.provider.vmware.vcd.vcd()
# s = str(t)
#
# assert 'https://github.com/vmware/terraform-provider-vcd' in s
# assert '3.3.1' in s