python-terrascript/tests/test_provider_akamai_akamai.py

303 lines
11 KiB
Python

# tests/test_provider_akamai_akamai.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:11:11 UTC)
def test_provider_import():
import terrascript.provider.akamai.akamai
def test_resource_import():
from terrascript.resource.akamai.akamai import akamai_appsec_activations
from terrascript.resource.akamai.akamai import (
akamai_appsec_advanced_settings_logging,
)
from terrascript.resource.akamai.akamai import (
akamai_appsec_advanced_settings_pragma_header,
)
from terrascript.resource.akamai.akamai import (
akamai_appsec_advanced_settings_prefetch,
)
from terrascript.resource.akamai.akamai import (
akamai_appsec_api_constraints_protection,
)
from terrascript.resource.akamai.akamai import akamai_appsec_api_request_constraints
from terrascript.resource.akamai.akamai import akamai_appsec_attack_group
from terrascript.resource.akamai.akamai import akamai_appsec_bypass_network_lists
from terrascript.resource.akamai.akamai import akamai_appsec_configuration
from terrascript.resource.akamai.akamai import akamai_appsec_configuration_rename
from terrascript.resource.akamai.akamai import akamai_appsec_custom_deny
from terrascript.resource.akamai.akamai import akamai_appsec_custom_rule
from terrascript.resource.akamai.akamai import akamai_appsec_custom_rule_action
from terrascript.resource.akamai.akamai import akamai_appsec_eval
from terrascript.resource.akamai.akamai import akamai_appsec_eval_group
from terrascript.resource.akamai.akamai import akamai_appsec_eval_hostnames
from terrascript.resource.akamai.akamai import akamai_appsec_eval_protect_host
from terrascript.resource.akamai.akamai import akamai_appsec_eval_rule
from terrascript.resource.akamai.akamai import akamai_appsec_ip_geo
from terrascript.resource.akamai.akamai import akamai_appsec_ip_geo_protection
from terrascript.resource.akamai.akamai import akamai_appsec_match_target
from terrascript.resource.akamai.akamai import akamai_appsec_match_target_sequence
from terrascript.resource.akamai.akamai import akamai_appsec_penalty_box
from terrascript.resource.akamai.akamai import akamai_appsec_rate_policy
from terrascript.resource.akamai.akamai import akamai_appsec_rate_policy_action
from terrascript.resource.akamai.akamai import akamai_appsec_rate_protection
from terrascript.resource.akamai.akamai import akamai_appsec_reputation_profile
from terrascript.resource.akamai.akamai import (
akamai_appsec_reputation_profile_action,
)
from terrascript.resource.akamai.akamai import (
akamai_appsec_reputation_profile_analysis,
)
from terrascript.resource.akamai.akamai import akamai_appsec_reputation_protection
from terrascript.resource.akamai.akamai import akamai_appsec_rule
from terrascript.resource.akamai.akamai import akamai_appsec_rule_upgrade
from terrascript.resource.akamai.akamai import akamai_appsec_security_policy
from terrascript.resource.akamai.akamai import akamai_appsec_security_policy_rename
from terrascript.resource.akamai.akamai import akamai_appsec_selected_hostnames
from terrascript.resource.akamai.akamai import akamai_appsec_siem_settings
from terrascript.resource.akamai.akamai import akamai_appsec_slow_post
from terrascript.resource.akamai.akamai import akamai_appsec_slowpost_protection
from terrascript.resource.akamai.akamai import akamai_appsec_threat_intel
from terrascript.resource.akamai.akamai import akamai_appsec_version_notes
from terrascript.resource.akamai.akamai import akamai_appsec_waf_mode
from terrascript.resource.akamai.akamai import akamai_appsec_waf_protection
from terrascript.resource.akamai.akamai import akamai_appsec_wap_selected_hostnames
from terrascript.resource.akamai.akamai import akamai_cp_code
from terrascript.resource.akamai.akamai import akamai_cps_dv_enrollment
from terrascript.resource.akamai.akamai import akamai_cps_dv_validation
from terrascript.resource.akamai.akamai import akamai_dns_record
from terrascript.resource.akamai.akamai import akamai_dns_zone
from terrascript.resource.akamai.akamai import akamai_edge_hostname
from terrascript.resource.akamai.akamai import akamai_gtm_asmap
from terrascript.resource.akamai.akamai import akamai_gtm_cidrmap
from terrascript.resource.akamai.akamai import akamai_gtm_datacenter
from terrascript.resource.akamai.akamai import akamai_gtm_domain
from terrascript.resource.akamai.akamai import akamai_gtm_geomap
from terrascript.resource.akamai.akamai import akamai_gtm_property
from terrascript.resource.akamai.akamai import akamai_gtm_resource
from terrascript.resource.akamai.akamai import akamai_iam_user
from terrascript.resource.akamai.akamai import akamai_networklist_activations
from terrascript.resource.akamai.akamai import akamai_networklist_description
from terrascript.resource.akamai.akamai import akamai_networklist_network_list
from terrascript.resource.akamai.akamai import akamai_networklist_subscription
from terrascript.resource.akamai.akamai import akamai_property
from terrascript.resource.akamai.akamai import akamai_property_activation
from terrascript.resource.akamai.akamai import akamai_property_variables
def test_datasource_import():
from terrascript.data.akamai.akamai import akamai_appsec_advanced_settings_logging
from terrascript.data.akamai.akamai import (
akamai_appsec_advanced_settings_pragma_header,
)
from terrascript.data.akamai.akamai import akamai_appsec_advanced_settings_prefetch
from terrascript.data.akamai.akamai import akamai_appsec_api_endpoints
from terrascript.data.akamai.akamai import akamai_appsec_api_request_constraints
from terrascript.data.akamai.akamai import akamai_appsec_attack_groups
from terrascript.data.akamai.akamai import akamai_appsec_bypass_network_lists
from terrascript.data.akamai.akamai import akamai_appsec_configuration
from terrascript.data.akamai.akamai import akamai_appsec_configuration_version
from terrascript.data.akamai.akamai import akamai_appsec_contracts_groups
from terrascript.data.akamai.akamai import akamai_appsec_custom_deny
from terrascript.data.akamai.akamai import akamai_appsec_custom_rule_actions
from terrascript.data.akamai.akamai import akamai_appsec_custom_rules
from terrascript.data.akamai.akamai import akamai_appsec_eval
from terrascript.data.akamai.akamai import akamai_appsec_eval_groups
from terrascript.data.akamai.akamai import akamai_appsec_eval_hostnames
from terrascript.data.akamai.akamai import akamai_appsec_eval_rules
from terrascript.data.akamai.akamai import akamai_appsec_export_configuration
from terrascript.data.akamai.akamai import akamai_appsec_failover_hostnames
from terrascript.data.akamai.akamai import akamai_appsec_hostname_coverage
from terrascript.data.akamai.akamai import (
akamai_appsec_hostname_coverage_match_targets,
)
from terrascript.data.akamai.akamai import (
akamai_appsec_hostname_coverage_overlapping,
)
from terrascript.data.akamai.akamai import akamai_appsec_ip_geo
from terrascript.data.akamai.akamai import akamai_appsec_match_targets
from terrascript.data.akamai.akamai import akamai_appsec_penalty_box
from terrascript.data.akamai.akamai import akamai_appsec_rate_policies
from terrascript.data.akamai.akamai import akamai_appsec_rate_policy_actions
from terrascript.data.akamai.akamai import akamai_appsec_reputation_profile_actions
from terrascript.data.akamai.akamai import akamai_appsec_reputation_profile_analysis
from terrascript.data.akamai.akamai import akamai_appsec_reputation_profiles
from terrascript.data.akamai.akamai import akamai_appsec_rule_upgrade_details
from terrascript.data.akamai.akamai import akamai_appsec_rules
from terrascript.data.akamai.akamai import akamai_appsec_security_policy
from terrascript.data.akamai.akamai import akamai_appsec_security_policy_protections
from terrascript.data.akamai.akamai import akamai_appsec_selectable_hostnames
from terrascript.data.akamai.akamai import akamai_appsec_selected_hostnames
from terrascript.data.akamai.akamai import akamai_appsec_siem_definitions
from terrascript.data.akamai.akamai import akamai_appsec_siem_settings
from terrascript.data.akamai.akamai import akamai_appsec_slow_post
from terrascript.data.akamai.akamai import akamai_appsec_threat_intel
from terrascript.data.akamai.akamai import akamai_appsec_version_notes
from terrascript.data.akamai.akamai import akamai_appsec_waf_mode
from terrascript.data.akamai.akamai import akamai_appsec_wap_selected_hostnames
from terrascript.data.akamai.akamai import akamai_authorities_set
from terrascript.data.akamai.akamai import akamai_contract
from terrascript.data.akamai.akamai import akamai_contracts
from terrascript.data.akamai.akamai import akamai_cp_code
from terrascript.data.akamai.akamai import akamai_dns_record_set
from terrascript.data.akamai.akamai import akamai_group
from terrascript.data.akamai.akamai import akamai_groups
from terrascript.data.akamai.akamai import akamai_gtm_default_datacenter
from terrascript.data.akamai.akamai import akamai_iam_contact_types
from terrascript.data.akamai.akamai import akamai_iam_countries
from terrascript.data.akamai.akamai import akamai_iam_groups
from terrascript.data.akamai.akamai import akamai_iam_roles
from terrascript.data.akamai.akamai import akamai_iam_states
from terrascript.data.akamai.akamai import akamai_iam_supported_langs
from terrascript.data.akamai.akamai import akamai_iam_timeout_policies
from terrascript.data.akamai.akamai import akamai_networklist_network_lists
from terrascript.data.akamai.akamai import akamai_properties
from terrascript.data.akamai.akamai import akamai_property
from terrascript.data.akamai.akamai import akamai_property_hostnames
from terrascript.data.akamai.akamai import akamai_property_products
from terrascript.data.akamai.akamai import akamai_property_rule_formats
from terrascript.data.akamai.akamai import akamai_property_rules
from terrascript.data.akamai.akamai import akamai_property_rules_template
# 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.akamai.akamai
#
# t = terrascript.provider.akamai.akamai.akamai()
# s = str(t)
#
# assert 'https://github.com/akamai/terraform-provider-akamai' in s
# assert '1.7.0' in s