network library

Azure virtual networks, subnets, public IPs, and load-balancing neighbors that share this barrel.

Classes

AppConstant<T>
A value the Stack hands to application code as a static const in the generated AppExports file — known when synth runs, so the app compiles against it.
AppExports
Where synth writes the Dart file application code imports: the Stack's constants, as the static const members of <name>Constants, and a typed reader of its Terraform outputs, <name>Outputs.
ApplicationGatewayAutoscaleConfiguration
Typed helper for the autoscale_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayBackend
Typed helper for the backend block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayBackendAddressPool
Typed helper for the backend_address_pool block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayBackendHttpSettings
Typed helper for the backend_http_settings block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayCondition
Typed helper for the rewrite_rule_set.rewrite_rule.condition block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayConnectionDraining
Typed helper for the backend_http_settings.connection_draining block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayCustomErrorConfiguration
Typed helper for the custom_error_configuration block of azurerm_application_gateway (derived from provider schema). Shared by every block of this shape in the resource.
ApplicationGatewayDisabledRuleGroup
Typed helper for the waf_configuration.disabled_rule_group block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayExclusion
Typed helper for the waf_configuration.exclusion block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayFrontendIpConfiguration
Typed helper for the frontend_ip_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayFrontendPort
Typed helper for the frontend_port block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayGlobal
Typed helper for the global block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayHttpListener
Typed helper for the http_listener block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayIdentity
Typed helper for the identity block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayIpConfiguration
Typed helper for the gateway_ip_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayListener
Typed helper for the listener block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayMatch
Typed helper for the probe.match block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayPathRule
Typed helper for the url_path_map.path_rule block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayPrivateLinkConfiguration
Typed helper for the private_link_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayPrivateLinkConfigurationIpConfiguration
Typed helper for the private_link_configuration.ip_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayProbe
Typed helper for the probe block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayRedirectConfiguration
Typed helper for the redirect_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayRequestHeaderConfiguration
Typed helper for the rewrite_rule_set.rewrite_rule.request_header_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayRequestRoutingRule
Typed helper for the request_routing_rule block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayResponseHeaderConfiguration
Typed helper for the rewrite_rule_set.rewrite_rule.response_header_configuration block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayRewriteRule
Typed helper for the rewrite_rule_set.rewrite_rule block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayRewriteRuleSet
Typed helper for the rewrite_rule_set block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayRoutingRule
Typed helper for the routing_rule block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewaySku
Typed helper for the sku block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewaySslCertificate
Typed helper for the ssl_certificate block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewaySslPolicy
Typed helper for the ssl_policy block of azurerm_application_gateway (derived from provider schema). Shared by every block of this shape in the resource.
ApplicationGatewaySslProfile
Typed helper for the ssl_profile block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayTrustedClientCertificate
Typed helper for the trusted_client_certificate block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayTrustedRootCertificate
Typed helper for the trusted_root_certificate block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayUrl
Typed helper for the rewrite_rule_set.rewrite_rule.url block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayUrlPathMap
Typed helper for the url_path_map block of azurerm_application_gateway (derived from provider schema).
ApplicationGatewayWafConfiguration
Typed helper for the waf_configuration block of azurerm_application_gateway (derived from provider schema).
AttributeRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.attribute() may construct instances.
AzurermApplicationGateway
Factory wrapper for azurerm_application_gateway.
AzurermApplicationLoadBalancer
Factory wrapper for azurerm_application_load_balancer.
AzurermApplicationLoadBalancerFrontend
Factory wrapper for azurerm_application_load_balancer_frontend.
AzurermApplicationLoadBalancerSecurityPolicy
Factory wrapper for azurerm_application_load_balancer_security_policy.
AzurermApplicationLoadBalancerSubnetAssociation
Factory wrapper for azurerm_application_load_balancer_subnet_association.
AzurermApplicationSecurityGroup
Factory wrapper for azurerm_application_security_group.
AzurermBackend
terraform { backend "azurerm" { ... } } configuration.
AzurermCustomIpPrefix
Factory wrapper for azurerm_custom_ip_prefix.
AzurermLocalNetworkGateway
Factory wrapper for azurerm_local_network_gateway.
AzurermNetworkConnectionMonitor
Factory wrapper for azurerm_network_connection_monitor.
AzurermNetworkDdosProtectionPlan
Factory wrapper for azurerm_network_ddos_protection_plan.
AzurermNetworkFunctionAzureTrafficCollector
Factory wrapper for azurerm_network_function_azure_traffic_collector.
AzurermNetworkFunctionCollectorPolicy
Factory wrapper for azurerm_network_function_collector_policy.
AzurermNetworkInterface
Factory wrapper for azurerm_network_interface.
AzurermNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
Factory wrapper for azurerm_network_interface_application_gateway_backend_address_pool_association.
AzurermNetworkInterfaceApplicationSecurityGroupAssociation
Factory wrapper for azurerm_network_interface_application_security_group_association.
AzurermNetworkInterfaceBackendAddressPoolAssociation
Factory wrapper for azurerm_network_interface_backend_address_pool_association.
AzurermNetworkInterfaceNatRuleAssociation
Factory wrapper for azurerm_network_interface_nat_rule_association.
AzurermNetworkInterfaceSecurityGroupAssociation
Factory wrapper for azurerm_network_interface_security_group_association.
AzurermNetworkManager
Factory wrapper for azurerm_network_manager.
AzurermNetworkManagerAdminRule
Factory wrapper for azurerm_network_manager_admin_rule.
AzurermNetworkManagerAdminRuleCollection
Factory wrapper for azurerm_network_manager_admin_rule_collection.
AzurermNetworkManagerConnectivityConfiguration
Factory wrapper for azurerm_network_manager_connectivity_configuration.
AzurermNetworkManagerDeployment
Factory wrapper for azurerm_network_manager_deployment.
AzurermNetworkManagerIpamPool
Factory wrapper for azurerm_network_manager_ipam_pool.
AzurermNetworkManagerIpamPoolStaticCidr
Factory wrapper for azurerm_network_manager_ipam_pool_static_cidr.
AzurermNetworkManagerManagementGroupConnection
Factory wrapper for azurerm_network_manager_management_group_connection.
AzurermNetworkManagerNetworkGroup
Factory wrapper for azurerm_network_manager_network_group.
AzurermNetworkManagerRoutingConfiguration
Factory wrapper for azurerm_network_manager_routing_configuration.
AzurermNetworkManagerRoutingRule
Factory wrapper for azurerm_network_manager_routing_rule.
AzurermNetworkManagerRoutingRuleCollection
Factory wrapper for azurerm_network_manager_routing_rule_collection.
AzurermNetworkManagerScopeConnection
Factory wrapper for azurerm_network_manager_scope_connection.
AzurermNetworkManagerSecurityAdminConfiguration
Factory wrapper for azurerm_network_manager_security_admin_configuration.
AzurermNetworkManagerStaticMember
Factory wrapper for azurerm_network_manager_static_member.
AzurermNetworkManagerSubscriptionConnection
Factory wrapper for azurerm_network_manager_subscription_connection.
AzurermNetworkManagerVerifierWorkspace
Factory wrapper for azurerm_network_manager_verifier_workspace.
AzurermNetworkManagerVerifierWorkspaceReachabilityAnalysisIntent
Factory wrapper for azurerm_network_manager_verifier_workspace_reachability_analysis_intent.
AzurermNetworkProfile
Factory wrapper for azurerm_network_profile.
AzurermNetworkSecurityGroup
Factory wrapper for azurerm_network_security_group.
AzurermNetworkSecurityPerimeter
Factory wrapper for azurerm_network_security_perimeter.
AzurermNetworkSecurityPerimeterAccessRule
Factory wrapper for azurerm_network_security_perimeter_access_rule.
AzurermNetworkSecurityPerimeterAssociation
Factory wrapper for azurerm_network_security_perimeter_association.
AzurermNetworkSecurityPerimeterProfile
Factory wrapper for azurerm_network_security_perimeter_profile.
AzurermNetworkSecurityRule
Factory wrapper for azurerm_network_security_rule.
AzurermNetworkWatcher
Factory wrapper for azurerm_network_watcher.
AzurermNetworkWatcherFlowLog
Factory wrapper for azurerm_network_watcher_flow_log.
AzurermPointToSiteVpnGateway
Factory wrapper for azurerm_point_to_site_vpn_gateway.
AzurermPrivateEndpoint
Factory wrapper for azurerm_private_endpoint.
AzurermPrivateEndpointApplicationSecurityGroupAssociation
Factory wrapper for azurerm_private_endpoint_application_security_group_association.
AzurermPrivateLinkService
Factory wrapper for azurerm_private_link_service.
AzurermPublicIp
Factory wrapper for azurerm_public_ip.
AzurermPublicIpPrefix
Factory wrapper for azurerm_public_ip_prefix.
AzurermVirtualNetwork
Factory wrapper for azurerm_virtual_network.
AzurermVirtualNetworkDnsServers
Factory wrapper for azurerm_virtual_network_dns_servers.
AzurermVirtualNetworkGateway
Factory wrapper for azurerm_virtual_network_gateway.
AzurermVirtualNetworkGatewayConnection
Factory wrapper for azurerm_virtual_network_gateway_connection.
AzurermVirtualNetworkGatewayNatRule
Factory wrapper for azurerm_virtual_network_gateway_nat_rule.
AzurermVirtualNetworkPeering
Factory wrapper for azurerm_virtual_network_peering.
AzurermWebApplicationFirewallPolicy
Factory wrapper for azurerm_web_application_firewall_policy.
DartDefineOutput
An output whose value is the client build's --dart-define file, registered with Stack.addDartDefineOutput.
Data
Base of every user-instantiable Terraform data block.
DataAzurermApplicationGateway
Factory wrapper for azurerm_application_gateway.
DataAzurermApplicationSecurityGroup
Factory wrapper for azurerm_application_security_group.
DataAzurermLocalNetworkGateway
Factory wrapper for azurerm_local_network_gateway.
DataAzurermNetworkDdosProtectionPlan
Factory wrapper for azurerm_network_ddos_protection_plan.
DataAzurermNetworkInterface
Factory wrapper for azurerm_network_interface.
DataAzurermNetworkManager
Factory wrapper for azurerm_network_manager.
DataAzurermNetworkManagerConnectivityConfiguration
Factory wrapper for azurerm_network_manager_connectivity_configuration.
DataAzurermNetworkManagerIpamPool
Factory wrapper for azurerm_network_manager_ipam_pool.
DataAzurermNetworkManagerNetworkGroup
Factory wrapper for azurerm_network_manager_network_group.
DataAzurermNetworkSecurityGroup
Factory wrapper for azurerm_network_security_group.
DataAzurermNetworkSecurityPerimeter
Factory wrapper for azurerm_network_security_perimeter.
DataAzurermNetworkSecurityPerimeterProfile
Factory wrapper for azurerm_network_security_perimeter_profile.
DataAzurermNetworkServiceTags
Factory wrapper for azurerm_network_service_tags.
DataAzurermNetworkWatcher
Factory wrapper for azurerm_network_watcher.
DataAzurermPrivateEndpointConnection
Factory wrapper for azurerm_private_endpoint_connection.
DataAzurermPrivateLinkService
Factory wrapper for azurerm_private_link_service.
DataAzurermPrivateLinkServiceEndpointConnections
Factory wrapper for azurerm_private_link_service_endpoint_connections.
DataAzurermPublicIp
Factory wrapper for azurerm_public_ip.
DataAzurermPublicIpPrefix
Factory wrapper for azurerm_public_ip_prefix.
DataAzurermVirtualNetwork
Factory wrapper for azurerm_virtual_network.
DataAzurermVirtualNetworkGateway
Factory wrapper for azurerm_virtual_network_gateway.
DataAzurermVirtualNetworkGatewayConnection
Factory wrapper for azurerm_virtual_network_gateway_connection.
DataAzurermVirtualNetworkPeering
Factory wrapper for azurerm_virtual_network_peering.
DataAzurermWebApplicationFirewallPolicy
Factory wrapper for azurerm_web_application_firewall_policy.
DataRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.data() may construct instances.
EnvironmentConstant
The AppConstant.fromEnvironment choice.
GcsBackend
terraform { backend "gcs" { ... } } configuration.
IgnoreAllChanges
IgnoreChanges.all.
IgnoreAttributes
IgnoreChanges.of.
IgnoreChanges
What ignore_changes covers: every attribute, or the listed ones.
InvalidDartDefineOutput
An output of Stack.addDartDefineOutput that cannot carry what it names: an output that is not registered, is sensitive or has no environment value, two outputs read from one variable, or no output at all.
InvalidLifecycle
A lifecycle block Terraform rejects: a data source (or one of its attributes) in replaceTriggeredBy, all inside IgnoreChanges.of, or a condition with an empty error message.
InvalidMoveTarget
A moved block whose to names no resource of the Stack.
InvalidTimeout
A negative timeouts duration.
LifecycleCondition
A precondition or postcondition block: Terraform fails the plan (LifecycleCondition.pre) or the apply (LifecycleCondition.post) with errorMessage when condition is false.
LifecycleOptions
lifecycle { ... } block on a resource.
LocalBackend
terraform { backend "local" { ... } } configuration.
LocalNetworkGatewayAddress
Exactly one of gateway_address, gateway_fqdn on azurerm_local_network_gateway: the provider rejects none and more than one, so each variant sets one of them.
LocalNetworkGatewayAddressChoice
The LocalNetworkGatewayAddress.gatewayAddress choice: sets gateway_address.
LocalNetworkGatewayAddressGatewayFqdn
The LocalNetworkGatewayAddress.gatewayFqdn choice: sets gateway_fqdn.
LocalNetworkGatewayBgpSettings
Typed helper for the bgp_settings block of azurerm_local_network_gateway (derived from provider schema).
MissingProvider
A block needs a provider configuration the Stack does not register: the provider its type implies (google for google_pubsub_topic), the one its provider meta-argument names, or one a module call passes on.
ModuleCall
A module "<localName>" { ... } call as a Dart value.
NetworkConnectionMonitorEndpoint
Typed helper for the endpoint block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorFilter
Typed helper for the endpoint.filter block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorHttpConfiguration
Typed helper for the test_configuration.http_configuration block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorIcmpConfiguration
Typed helper for the test_configuration.icmp_configuration block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorItem
Typed helper for the endpoint.filter.item block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorRequestHeader
Typed helper for the test_configuration.http_configuration.request_header block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorSuccessThreshold
Typed helper for the test_configuration.success_threshold block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorTcpConfiguration
Typed helper for the test_configuration.tcp_configuration block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorTestConfiguration
Typed helper for the test_configuration block of azurerm_network_connection_monitor (derived from provider schema).
NetworkConnectionMonitorTestGroup
Typed helper for the test_group block of azurerm_network_connection_monitor (derived from provider schema).
NetworkFunctionCollectorPolicyIpfxEmission
Typed helper for the ipfx_emission block of azurerm_network_function_collector_policy (derived from provider schema).
NetworkFunctionCollectorPolicyIpfxIngestion
Typed helper for the ipfx_ingestion block of azurerm_network_function_collector_policy (derived from provider schema).
NetworkInterfaceIpConfiguration
Typed helper for the ip_configuration block of azurerm_network_interface (derived from provider schema).
NetworkManagerAdminRuleDestination
Typed helper for the destination block of azurerm_network_manager_admin_rule (derived from provider schema).
NetworkManagerAdminRuleSource
Typed helper for the source block of azurerm_network_manager_admin_rule (derived from provider schema).
NetworkManagerConnectivityConfigurationAppliesToGroup
Typed helper for the applies_to_group block of azurerm_network_manager_connectivity_configuration (derived from provider schema).
NetworkManagerConnectivityConfigurationHub
Typed helper for the hub block of azurerm_network_manager_connectivity_configuration (derived from provider schema).
NetworkManagerIpamPoolStaticCidrAllocation
Exactly one of address_prefixes, number_of_ip_addresses_to_allocate on azurerm_network_manager_ipam_pool_static_cidr: the provider rejects none and more than one, so each variant sets one of them.
NetworkManagerIpamPoolStaticCidrAllocationAddressPrefixes
The NetworkManagerIpamPoolStaticCidrAllocation.addressPrefixes choice: sets address_prefixes.
NetworkManagerIpamPoolStaticCidrAllocationNumberOfIpAddressesToAllocate
The NetworkManagerIpamPoolStaticCidrAllocation.numberOfIpAddressesToAllocate choice: sets number_of_ip_addresses_to_allocate.
NetworkManagerRoutingRuleDestination
Typed helper for the destination block of azurerm_network_manager_routing_rule (derived from provider schema).
NetworkManagerRoutingRuleNextHop
Typed helper for the next_hop block of azurerm_network_manager_routing_rule (derived from provider schema).
NetworkManagerScope
Typed helper for the scope block of azurerm_network_manager (derived from provider schema).
NetworkManagerVerifierWorkspaceReachabilityAnalysisIntentIpTraffic
Typed helper for the ip_traffic block of azurerm_network_manager_verifier_workspace_reachability_analysis_intent (derived from provider schema).
NetworkProfileContainerNetworkInterface
Typed helper for the container_network_interface block of azurerm_network_profile (derived from provider schema).
NetworkProfileIpConfiguration
Typed helper for the container_network_interface.ip_configuration block of azurerm_network_profile (derived from provider schema).
NetworkSecurityPerimeterAccessRuleSource
Exactly one of address_prefixes, fqdns, service_tags, subscription_ids on azurerm_network_security_perimeter_access_rule: the provider rejects none and more than one, so each variant sets one of them.
NetworkSecurityPerimeterAccessRuleSourceAddressPrefixes
The NetworkSecurityPerimeterAccessRuleSource.addressPrefixes choice: sets address_prefixes.
NetworkSecurityPerimeterAccessRuleSourceFqdns
The NetworkSecurityPerimeterAccessRuleSource.fqdns choice: sets fqdns.
NetworkSecurityPerimeterAccessRuleSourceServiceTags
The NetworkSecurityPerimeterAccessRuleSource.serviceTags choice: sets service_tags.
NetworkSecurityPerimeterAccessRuleSourceSubscriptionIds
The NetworkSecurityPerimeterAccessRuleSource.subscriptionIds choice: sets subscription_ids.
NetworkSecurityRuleDestination
Exactly one of destination_address_prefix, destination_address_prefixes, destination_application_security_group_ids on azurerm_network_security_rule: the provider rejects none and more than one, so each variant sets one of them.
NetworkSecurityRuleDestinationAddressPrefix
The NetworkSecurityRuleDestination.destinationAddressPrefix choice: sets destination_address_prefix.
NetworkSecurityRuleDestinationAddressPrefixes
The NetworkSecurityRuleDestination.destinationAddressPrefixes choice: sets destination_address_prefixes.
NetworkSecurityRuleDestinationApplicationSecurityGroupIds
The NetworkSecurityRuleDestination.destinationApplicationSecurityGroupIds choice: sets destination_application_security_group_ids.
NetworkSecurityRuleDestinationPortRange
At most one of destination_port_range, destination_port_ranges on azurerm_network_security_rule: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
NetworkSecurityRuleDestinationPortRangeChoice
The NetworkSecurityRuleDestinationPortRange.destinationPortRange choice: sets destination_port_range.
NetworkSecurityRuleDestinationPortRangeDestinationPortRanges
The NetworkSecurityRuleDestinationPortRange.destinationPortRanges choice: sets destination_port_ranges.
NetworkSecurityRuleSource
Exactly one of source_address_prefix, source_address_prefixes, source_application_security_group_ids on azurerm_network_security_rule: the provider rejects none and more than one, so each variant sets one of them.
NetworkSecurityRuleSourceAddressPrefix
The NetworkSecurityRuleSource.sourceAddressPrefix choice: sets source_address_prefix.
NetworkSecurityRuleSourceAddressPrefixes
The NetworkSecurityRuleSource.sourceAddressPrefixes choice: sets source_address_prefixes.
NetworkSecurityRuleSourceApplicationSecurityGroupIds
The NetworkSecurityRuleSource.sourceApplicationSecurityGroupIds choice: sets source_application_security_group_ids.
NetworkSecurityRuleSourcePortRange
At most one of source_port_range, source_port_ranges on azurerm_network_security_rule: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
NetworkSecurityRuleSourcePortRangeChoice
The NetworkSecurityRuleSourcePortRange.sourcePortRange choice: sets source_port_range.
NetworkSecurityRuleSourcePortRangeSourcePortRanges
The NetworkSecurityRuleSourcePortRange.sourcePortRanges choice: sets source_port_ranges.
NetworkWatcherFlowLogRetentionPolicy
Typed helper for the retention_policy block of azurerm_network_watcher_flow_log (derived from provider schema).
NetworkWatcherFlowLogTrafficAnalytics
Typed helper for the traffic_analytics block of azurerm_network_watcher_flow_log (derived from provider schema).
NoProviders
The Stack registers no provider, but declares resources or data sources.
PointToSiteVpnGatewayConnectionConfiguration
Typed helper for the connection_configuration block of azurerm_point_to_site_vpn_gateway (derived from provider schema).
PointToSiteVpnGatewayPropagatedRouteTable
Typed helper for the connection_configuration.route.propagated_route_table block of azurerm_point_to_site_vpn_gateway (derived from provider schema).
PointToSiteVpnGatewayRoute
Typed helper for the connection_configuration.route block of azurerm_point_to_site_vpn_gateway (derived from provider schema).
PointToSiteVpnGatewayVpnClientAddressPool
Typed helper for the connection_configuration.vpn_client_address_pool block of azurerm_point_to_site_vpn_gateway (derived from provider schema).
PrivateEndpointIpConfiguration
Typed helper for the ip_configuration block of azurerm_private_endpoint (derived from provider schema).
PrivateEndpointPrivateConnectionResource
Exactly one of private_connection_resource_alias, private_connection_resource_id on the private_service_connection block of azurerm_private_endpoint: the provider rejects none and more than one, so each variant sets one of them.
PrivateEndpointPrivateConnectionResourceAlias
The PrivateEndpointPrivateConnectionResource.privateConnectionResourceAlias choice: sets private_connection_resource_alias.
PrivateEndpointPrivateConnectionResourceId
The PrivateEndpointPrivateConnectionResource.privateConnectionResourceId choice: sets private_connection_resource_id.
PrivateEndpointPrivateDnsZoneGroup
Typed helper for the private_dns_zone_group block of azurerm_private_endpoint (derived from provider schema).
PrivateEndpointPrivateServiceConnection
Typed helper for the private_service_connection block of azurerm_private_endpoint (derived from provider schema).
PrivateLinkServiceDestination
Exactly one of destination_ip_address, load_balancer_frontend_ip_configuration_ids on azurerm_private_link_service: the provider rejects none and more than one, so each variant sets one of them.
PrivateLinkServiceDestinationIpAddress
The PrivateLinkServiceDestination.destinationIpAddress choice: sets destination_ip_address.
PrivateLinkServiceDestinationLoadBalancerFrontendIpConfigurationIds
The PrivateLinkServiceDestination.loadBalancerFrontendIpConfigurationIds choice: sets load_balancer_frontend_ip_configuration_ids.
PrivateLinkServiceNatIpConfiguration
Typed helper for the nat_ip_configuration block of azurerm_private_link_service (derived from provider schema).
ProviderConflict
Two provider registrations Terraform rejects together: two defaults of one name, a repeated alias, an alias that is not an identifier, or configurations of one name with different source / version constraints.
RefConstant<T>
The AppConstant.ref choice.
ReplaceTrigger
What lifecycle.replaceTriggeredBy lists: a resource of the Stack or an attribute getter of one. Resource and TfRef implement it; synth reports a data source or a data-source attribute as an InvalidLifecycle.
Resource
Base of every user-instantiable Terraform resource.
ResourceRef
Public for sealed pattern matching, but constructor is private — only TfRef.resource() may construct instances.
S3Backend
terraform { backend "s3" { ... } } configuration.
Sensitive<T>
What an argument Terraform marks sensitive takes: a variable, an expression or an attribute getter — a value Terraform resolves, never a Dart literal that would be written into main.tf.json.
SensitiveLiteral
A sensitive field is set to a literal, which would write the secret in plain text into main.tf.json.
Stack
User-extended IaC composition root.
StackBackend
Lightweight backend hook. Core ships GcsBackend, S3Backend, AzurermBackend, and LocalBackend; anything else implements this interface in the caller. The Stack only stores the value and exposes a discriminator for synth's terraform { backend ... } emitter.
StackProvider
Coordination interface between Stack (in this package) and concrete providers (e.g. GoogleProvider in terradart_google). Concrete providers implement every getter using their baked-in constants from Stage 2 codegen.
SynthIssue
One reason a Stack cannot be synthesized.
SynthResult
Bundle returned by Stack.synth.
TfAddressed
Anything that exposes a Terraform address, e.g. google_pubsub_topic.orders.
TfArg<T>
A Terraform argument: a Dart-side literal, a reference to another block's attribute (TfRef), a variable or a raw expression.
TfArgExpression<T>
A raw Terraform expression — the tf.json template string, verbatim.
TfArgLiteral<T>
TfArgVariable<T>
TfCollectionType
list(...), set(...) or map(...).
TfMoved
One moved { from = ... to = ... } block: the state object at from now belongs to the resource at to, so a rename does not become a destroy-and-create.
TfObjectType
object({ ... }).
TfOptionalType
optional(<type>[, <default>]).
TfOutput<T>
An output "<name>" { value = ... } block, registered with Stack.addOutput.
TfPrimitiveType
string, number, bool or any.
TfRef<T>
A Terraform-side reference: an attribute of a resource (AttributeRef) or a data source (DataRef), or a whole resource (ResourceRef).
TfTimeouts
timeouts { ... } on a resource or data source: how long Terraform waits for each operation before giving up.
TfTupleType
tuple([...]).
TfType
A Terraform type constraint: string, list(number), object({ name = string }).
TfVariable
One variable "<name>" { ... } declaration.
UndeclaredVariable
A TfArg.variable or var.<name> in an expression names a variable the Stack does not declare.
UnregisteredReference
A block references another block that was never registered on the Stack: built, but not passed to add(...) / addModule(...).
UnresolvableConstant
An AppConstant.ref whose value is not known at synth: the attribute is not set to a literal, is sensitive, does not match the constant's type, or belongs to a block that is not registered.
ValueConstant<T>
The AppConstant.value choice.
VirtualNetworkAddressing
Exactly one of address_space, ip_address_pool on azurerm_virtual_network: the provider rejects none and more than one, so each variant sets one of them.
VirtualNetworkAddressingAddressSpace
The VirtualNetworkAddressing.addressSpace choice: sets address_space.
VirtualNetworkAddressingIpAddressPool
The VirtualNetworkAddressing.ipAddressPool choice: sets ip_address_pool.
VirtualNetworkDdosProtectionPlan
Typed helper for the ddos_protection_plan block of azurerm_virtual_network (derived from provider schema).
VirtualNetworkEncryption
Typed helper for the encryption block of azurerm_virtual_network (derived from provider schema).
VirtualNetworkGatewayBgpSettings
Typed helper for the bgp_settings block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayClientConnection
Typed helper for the vpn_client_configuration.virtual_network_gateway_client_connection block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayConnectionCustomBgpAddresses
Typed helper for the custom_bgp_addresses block of azurerm_virtual_network_gateway_connection (derived from provider schema).
VirtualNetworkGatewayConnectionIpsecPolicy
Typed helper for the ipsec_policy block of azurerm_virtual_network_gateway_connection (derived from provider schema).
VirtualNetworkGatewayConnectionTrafficSelectorPolicy
Typed helper for the traffic_selector_policy block of azurerm_virtual_network_gateway_connection (derived from provider schema).
VirtualNetworkGatewayCustomRoute
Typed helper for the custom_route block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayIpConfiguration
Typed helper for the ip_configuration block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayIpsecPolicy
Typed helper for the vpn_client_configuration.ipsec_policy block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayNatRuleExternalMapping
Typed helper for the external_mapping block of azurerm_virtual_network_gateway_nat_rule (derived from provider schema).
VirtualNetworkGatewayNatRuleInternalMapping
Typed helper for the internal_mapping block of azurerm_virtual_network_gateway_nat_rule (derived from provider schema).
VirtualNetworkGatewayPeeringAddresses
Typed helper for the bgp_settings.peering_addresses block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayPolicyGroup
Typed helper for the policy_group block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayPolicyMember
Typed helper for the policy_group.policy_member block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayRadiusServer
Typed helper for the vpn_client_configuration.radius_server block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayRevokedCertificate
Typed helper for the vpn_client_configuration.revoked_certificate block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayRootCertificate
Typed helper for the vpn_client_configuration.root_certificate block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkGatewayVpnClientConfiguration
Typed helper for the vpn_client_configuration block of azurerm_virtual_network_gateway (derived from provider schema).
VirtualNetworkIpAddressPool
Typed helper for the ip_address_pool block of azurerm_virtual_network (derived from provider schema).
WebApplicationFirewallPolicyCustomRules
Typed helper for the custom_rules block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyExcludedRuleSet
Typed helper for the managed_rules.exclusion.excluded_rule_set block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyExclusion
Typed helper for the managed_rules.exclusion block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyLogScrubbing
Typed helper for the policy_settings.log_scrubbing block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyManagedRules
Typed helper for the managed_rules block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyManagedRuleSet
Typed helper for the managed_rules.managed_rule_set block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyMatchConditions
Typed helper for the custom_rules.match_conditions block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyMatchVariables
Typed helper for the custom_rules.match_conditions.match_variables block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyRule
Typed helper for the policy_settings.log_scrubbing.rule block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyRuleGroup
Typed helper for the managed_rules.exclusion.excluded_rule_set.rule_group block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyRuleGroupOverride
Typed helper for the managed_rules.managed_rule_set.rule_group_override block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicyRuleGroupOverrideRule
Typed helper for the managed_rules.managed_rule_set.rule_group_override.rule block of azurerm_web_application_firewall_policy (derived from provider schema).
WebApplicationFirewallPolicySettings
Typed helper for the policy_settings block of azurerm_web_application_firewall_policy (derived from provider schema).

Enums

ResourceKind
Whether a Stack entry is a resource block or a data block in Terraform JSON.

Extension Types

ApplicationGatewayBackendHttpSettingsProtocol
protocol — derived from the provider schema description.
ApplicationGatewayBackendProtocol
protocol — derived from the provider schema description.
ApplicationGatewayCipherSuites
cipher_suites — derived from the provider schema description.
ApplicationGatewayClientAuthenticationMode
client_authentication_mode — derived from the provider schema description.
ApplicationGatewayComponents
components — derived from the provider schema description.
ApplicationGatewayCookieBasedAffinity
cookie_based_affinity — derived from the provider schema description.
ApplicationGatewayDisabledProtocols
disabled_protocols — derived from the provider schema description.
ApplicationGatewayFirewallMode
firewall_mode — derived from the provider schema description.
ApplicationGatewayMatchVariable
match_variable — derived from the provider schema description.
ApplicationGatewayMinProtocolVersion
min_protocol_version — derived from the provider schema description.
ApplicationGatewayPolicyType
policy_type — derived from the provider schema description.
ApplicationGatewayPrivateIpAddressAllocation
private_ip_address_allocation — derived from the provider schema description.
ApplicationGatewayProbeProtocol
protocol — derived from the provider schema description.
ApplicationGatewayRedirectType
redirect_type — derived from the provider schema description.
ApplicationGatewayRuleType
rule_type — derived from the provider schema description.
ApplicationGatewaySelectorMatchOperator
selector_match_operator — derived from the provider schema description.
ApplicationGatewaySkuName
name — derived from the provider schema description.
ApplicationGatewayStatusCode
status_code — derived from the provider schema description.
ApplicationGatewayTier
tier — derived from the provider schema description.
ApplicationGatewayVerifyClientCertificateRevocation
verify_client_certificate_revocation — derived from the provider schema description.
NetworkConnectionMonitorCoverageLevel
coverage_level — derived from the provider schema description.
NetworkConnectionMonitorDestinationPortBehavior
destination_port_behavior — derived from the provider schema description.
NetworkConnectionMonitorItemType
type — derived from the provider schema description.
NetworkConnectionMonitorMethod
method — derived from the provider schema description.
NetworkConnectionMonitorPreferredIpVersion
preferred_ip_version — derived from the provider schema description.
NetworkConnectionMonitorProtocol
protocol — derived from the provider schema description.
NetworkConnectionMonitorTargetResourceType
target_resource_type — derived from the provider schema description.
NetworkConnectionMonitorType
type — derived from the provider schema description.
NetworkFunctionCollectorPolicyDestinationTypes
destination_types — derived from the provider schema description.
NetworkInterfaceAuxiliaryMode
Network Interface Auxiliary enum for auxiliary_mode.
NetworkInterfaceAuxiliarySku
Network Interface Auxiliary enum for auxiliary_sku.
NetworkInterfacePrivateIpAddressAllocation
private_ip_address_allocation — derived from the provider schema description.
NetworkInterfacePrivateIpAddressVersion
private_ip_address_version — derived from the provider schema description.
NetworkManagerAdminRuleAction
Network Manager Admin Rule enum for action.
NetworkManagerAdminRuleAddressPrefixType
address_prefix_type — derived from the provider schema description.
NetworkManagerAdminRuleDirection
Network Manager Admin Rule enum for direction.
NetworkManagerAdminRuleProtocol
Network Manager Admin Rule enum for protocol.
NetworkManagerConnectivityConfigurationConnectedGroupPrivateEndpointsScale
Network Manager Connectivity Configuration Connected Group Private Endpoints enum for connected_group_private_endpoints_scale.
NetworkManagerConnectivityConfigurationConnectivityTopology
Network Manager Connectivity Configuration Connectivity enum for connectivity_topology.
NetworkManagerConnectivityConfigurationGroupConnectivity
group_connectivity — derived from the provider schema description.
NetworkManagerDeploymentScopeAccess
Network Manager Deployment Scope enum for scope_access.
NetworkManagerNetworkGroupMemberType
Network Manager Network Group Member enum for member_type.
NetworkManagerRoutingConfigurationRouteTableUsageMode
Network Manager Routing Configuration Route Table Usage enum for route_table_usage_mode.
NetworkManagerRoutingRuleDestinationType
type — derived from the provider schema description.
NetworkManagerRoutingRuleNextHopType
type — derived from the provider schema description.
NetworkManagerScopeAccesses
Network Manager Scope enum for scope_accesses.
NetworkManagerSecurityAdminConfigurationApplyOnNetworkIntentPolicyBasedServices
Network Manager Security Admin Configuration Apply On Network Intent Policy Based enum for apply_on_network_intent_policy_based_services.
NetworkManagerVerifierWorkspaceReachabilityAnalysisIntentProtocols
protocols — derived from the provider schema description.
NetworkSecurityPerimeterAccessRuleDirection
Network Security Perimeter Access Rule enum for direction.
NetworkSecurityPerimeterAssociationAccessMode
Network Security Perimeter Association Access enum for access_mode.
NetworkSecurityRuleAccess
Network Security Rule enum for access.
NetworkSecurityRuleDirection
Network Security Rule enum for direction.
NetworkSecurityRuleProtocol
Network Security Rule enum for protocol.
OutputEnvironment
The environment Stack.outputEnvironment returns: each variable and its value, in registration order.
PrivateLinkServicePrivateIpAddressVersion
private_ip_address_version — derived from the provider schema description.
PublicIpAllocationMethod
Public Ip Allocation enum for allocation_method.
PublicIpDdosProtectionMode
Public Ip Ddos Protection enum for ddos_protection_mode.
PublicIpDomainNameLabelScope
Public Ip Domain Name Label enum for domain_name_label_scope.
PublicIpPrefixIpVersion
Public Ip Prefix Ip enum for ip_version.
PublicIpPrefixSku
Public Ip Prefix enum for sku.
PublicIpPrefixSkuTier
Public Ip Prefix Sku enum for sku_tier.
PublicIpSku
Public Ip enum for sku.
PublicIpSkuTier
Public Ip Sku enum for sku_tier.
PublicIpVersion
Public Ip enum for ip_version.
RefTo
A reference to a resource of type R, for an argument that names another resource (network, vpc_id, role_arn, ...).
VirtualNetworkEnforcement
enforcement — derived from the provider schema description.
VirtualNetworkGatewayConnectionDhGroup
dh_group — derived from the provider schema description.
VirtualNetworkGatewayConnectionIkeEncryption
ike_encryption — derived from the provider schema description.
VirtualNetworkGatewayConnectionIkeIntegrity
ike_integrity — derived from the provider schema description.
VirtualNetworkGatewayConnectionIpsecEncryption
ipsec_encryption — derived from the provider schema description.
VirtualNetworkGatewayConnectionIpsecIntegrity
ipsec_integrity — derived from the provider schema description.
VirtualNetworkGatewayConnectionMode
Virtual Network Gateway Connection enum for connection_mode.
VirtualNetworkGatewayConnectionPfsGroup
pfs_group — derived from the provider schema description.
VirtualNetworkGatewayConnectionProtocol
Virtual Network Gateway Connection enum for connection_protocol.
VirtualNetworkGatewayConnectionType
Virtual Network Gateway Connection enum for type.
VirtualNetworkGatewayDhGroup
dh_group — derived from the provider schema description.
VirtualNetworkGatewayGeneration
Virtual Network Gateway enum for generation.
VirtualNetworkGatewayIkeEncryption
ike_encryption — derived from the provider schema description.
VirtualNetworkGatewayIkeIntegrity
ike_integrity — derived from the provider schema description.
VirtualNetworkGatewayIpsecEncryption
ipsec_encryption — derived from the provider schema description.
VirtualNetworkGatewayIpsecIntegrity
ipsec_integrity — derived from the provider schema description.
VirtualNetworkGatewayNatRuleMode
Virtual Network Gateway Nat Rule enum for mode.
VirtualNetworkGatewayNatRuleType
Virtual Network Gateway Nat Rule enum for type.
VirtualNetworkGatewayPfsGroup
pfs_group — derived from the provider schema description.
VirtualNetworkGatewayPolicyMemberType
type — derived from the provider schema description.
VirtualNetworkGatewayPrivateIpAddressAllocation
private_ip_address_allocation — derived from the provider schema description.
VirtualNetworkGatewayType
Virtual Network Gateway enum for type.
VirtualNetworkGatewayVpnAuthTypes
vpn_auth_types — derived from the provider schema description.
VirtualNetworkGatewayVpnClientProtocols
vpn_client_protocols — derived from the provider schema description.
VirtualNetworkGatewayVpnType
Virtual Network Gateway Vpn enum for vpn_type.
VirtualNetworkPrivateEndpointVnetPolicies
Virtual Network Private Endpoint Vnet enum for private_endpoint_vnet_policies.
WebApplicationFirewallPolicyAction
action — derived from the provider schema description.
WebApplicationFirewallPolicyGroupRateLimitBy
group_rate_limit_by — derived from the provider schema description.
WebApplicationFirewallPolicyMatchVariable
match_variable — derived from the provider schema description.
WebApplicationFirewallPolicyMode
mode — derived from the provider schema description.
WebApplicationFirewallPolicyOperator
operator — derived from the provider schema description.
WebApplicationFirewallPolicyRateLimitDuration
rate_limit_duration — derived from the provider schema description.
WebApplicationFirewallPolicyRuleAction
action — derived from the provider schema description.
WebApplicationFirewallPolicyRuleMatchVariable
match_variable — derived from the provider schema description.
WebApplicationFirewallPolicyRuleSelectorMatchOperator
selector_match_operator — derived from the provider schema description.
WebApplicationFirewallPolicyRuleType
rule_type — derived from the provider schema description.
WebApplicationFirewallPolicySelectorMatchOperator
selector_match_operator — derived from the provider schema description.
WebApplicationFirewallPolicyTransforms
transforms — derived from the provider schema description.
WebApplicationFirewallPolicyVariableName
variable_name — derived from the provider schema description.

Extensions

RefToList on TfArg<List<RefTo<R>>>
A list-valued reference argument (security_group_ids, subnet_ids): a literal list of RefTos, or one value that is the whole list (TfArg.variable('subnet_ids'), TfArg.expression(...)).
TerraformDurationExt on Duration
Converts a Dart Duration into a Terraform duration string ("604800s").

Constants

terradartManifestVariable → const String
The environment variable the terradart command sets to the file runStack and runEnvironments describe what they wrote in.

Functions

runEnvironments<E extends Enum>(List<String> args, List<E> environments, Stack build(E env), {String dir(E env)?, String? workspace(E env)?, List<String> backendConfig(E env)?, E? defaultEnv}) → Future<void>
The entry point of a project with one Stack per environment. The environments are the members of an enum of the project's own — any names, each carrying its values — so the Stack takes a typed env and derives everything per environment from it, its backend included:
runStack(List<String> args, Stack build(), {String out = 'tf-out'}) → Future<void>
The entry point of a project with one Stack: writes it to out.

Typedefs

EnumList<E extends TfArg<String>> = TfArg<List<E>>
A list-valued enum argument (allowed_grant_types, retry_conditions): a literal list of members of E, or one value Terraform resolves to the whole list.

Exceptions / Errors

DuplicateModuleError
A ModuleCall registered twice under one name.
DuplicateResourceError
Thrown by Stack.add when an entry with the same (kind, terraformType, localName) triple is registered twice.
SynthException
Thrown by Stack.synth() and Stack.writeTo() when the Stack has one or more SynthIssues. Nothing is written.