monitor library

Azure Resource Manager monitor resources.

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.
AttributeRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.attribute() may construct instances.
AzurermBackend
terraform { backend "azurerm" { ... } } configuration.
AzurermMonitorAadDiagnosticSetting
Factory wrapper for azurerm_monitor_aad_diagnostic_setting.
AzurermMonitorActionGroup
Factory wrapper for azurerm_monitor_action_group.
AzurermMonitorActivityLogAlert
Factory wrapper for azurerm_monitor_activity_log_alert.
AzurermMonitorAlertProcessingRuleActionGroup
Factory wrapper for azurerm_monitor_alert_processing_rule_action_group.
AzurermMonitorAlertProcessingRuleSuppression
Factory wrapper for azurerm_monitor_alert_processing_rule_suppression.
AzurermMonitorAlertPrometheusRuleGroup
Factory wrapper for azurerm_monitor_alert_prometheus_rule_group.
AzurermMonitorAutoscaleSetting
Factory wrapper for azurerm_monitor_autoscale_setting.
AzurermMonitorDataCollectionEndpoint
Factory wrapper for azurerm_monitor_data_collection_endpoint.
AzurermMonitorDataCollectionRule
Factory wrapper for azurerm_monitor_data_collection_rule.
AzurermMonitorDataCollectionRuleAssociation
Factory wrapper for azurerm_monitor_data_collection_rule_association.
AzurermMonitorDiagnosticSetting
Factory wrapper for azurerm_monitor_diagnostic_setting.
AzurermMonitorMetricAlert
Factory wrapper for azurerm_monitor_metric_alert.
AzurermMonitorPrivateLinkScope
Factory wrapper for azurerm_monitor_private_link_scope.
AzurermMonitorPrivateLinkScopedService
Factory wrapper for azurerm_monitor_private_link_scoped_service.
AzurermMonitorScheduledQueryRulesAlert
Factory wrapper for azurerm_monitor_scheduled_query_rules_alert.
AzurermMonitorScheduledQueryRulesAlertV2
Factory wrapper for azurerm_monitor_scheduled_query_rules_alert_v2.
AzurermMonitorScheduledQueryRulesLog
Factory wrapper for azurerm_monitor_scheduled_query_rules_log.
AzurermMonitorSmartDetectorAlertRule
Factory wrapper for azurerm_monitor_smart_detector_alert_rule.
AzurermMonitorWorkspace
Factory wrapper for azurerm_monitor_workspace.
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.
DataAzurermMonitorActionGroup
Factory wrapper for azurerm_monitor_action_group.
DataAzurermMonitorDataCollectionEndpoint
Factory wrapper for azurerm_monitor_data_collection_endpoint.
DataAzurermMonitorDataCollectionRule
Factory wrapper for azurerm_monitor_data_collection_rule.
DataAzurermMonitorDiagnosticCategories
Factory wrapper for azurerm_monitor_diagnostic_categories.
DataAzurermMonitorScheduledQueryRulesAlert
Factory wrapper for azurerm_monitor_scheduled_query_rules_alert.
DataAzurermMonitorScheduledQueryRulesLog
Factory wrapper for azurerm_monitor_scheduled_query_rules_log.
DataAzurermMonitorWorkspace
Factory wrapper for azurerm_monitor_workspace.
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.
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.
MonitorAadDiagnosticSettingEnabledLog
Typed helper for the enabled_log block of azurerm_monitor_aad_diagnostic_setting (derived from provider schema).
MonitorActionGroupAadAuth
Typed helper for the webhook_receiver.aad_auth block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupArmRoleReceiver
Typed helper for the arm_role_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupAutomationRunbookReceiver
Typed helper for the automation_runbook_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupAzureAppPushReceiver
Typed helper for the azure_app_push_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupAzureFunctionReceiver
Typed helper for the azure_function_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupEmailReceiver
Typed helper for the email_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupEventHubReceiver
Typed helper for the event_hub_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupItsmReceiver
Typed helper for the itsm_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupLogicAppReceiver
Typed helper for the logic_app_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupSmsReceiver
Typed helper for the sms_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupVoiceReceiver
Typed helper for the voice_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActionGroupWebhookReceiver
Typed helper for the webhook_receiver block of azurerm_monitor_action_group (derived from provider schema).
MonitorActivityLogAlertAction
Typed helper for the action block of azurerm_monitor_activity_log_alert (derived from provider schema).
MonitorActivityLogAlertCriteria
Typed helper for the criteria block of azurerm_monitor_activity_log_alert (derived from provider schema).
MonitorActivityLogAlertCriteriaLevel
At most one of level, levels on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertCriteriaLevelChoice
The MonitorActivityLogAlertCriteriaLevel.level choice: sets level.
MonitorActivityLogAlertCriteriaLevelLevels
The MonitorActivityLogAlertCriteriaLevel.levels choice: sets levels.
MonitorActivityLogAlertDetail
At most one of caller, resource_health, service_health on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertDetailCaller
The MonitorActivityLogAlertDetail.caller choice: sets caller.
MonitorActivityLogAlertDetailResourceHealth
The MonitorActivityLogAlertDetail.resourceHealth choice: sets resource_health.
MonitorActivityLogAlertDetailServiceHealth
The MonitorActivityLogAlertDetail.serviceHealth choice: sets service_health.
MonitorActivityLogAlertResourceGroup
At most one of resource_group, resource_groups on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertResourceGroupChoice
The MonitorActivityLogAlertResourceGroup.resourceGroup choice: sets resource_group.
MonitorActivityLogAlertResourceGroupResourceGroups
The MonitorActivityLogAlertResourceGroup.resourceGroups choice: sets resource_groups.
MonitorActivityLogAlertResourceHealth
Typed helper for the criteria.resource_health block of azurerm_monitor_activity_log_alert (derived from provider schema).
MonitorActivityLogAlertResourceId
At most one of resource_id, resource_ids on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertResourceIdChoice
The MonitorActivityLogAlertResourceId.resourceId choice: sets resource_id.
MonitorActivityLogAlertResourceIdResourceIds
The MonitorActivityLogAlertResourceId.resourceIds choice: sets resource_ids.
MonitorActivityLogAlertResourceProvider
At most one of resource_provider, resource_providers on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertResourceProviderChoice
The MonitorActivityLogAlertResourceProvider.resourceProvider choice: sets resource_provider.
MonitorActivityLogAlertResourceProviderResourceProviders
The MonitorActivityLogAlertResourceProvider.resourceProviders choice: sets resource_providers.
MonitorActivityLogAlertResourceType
At most one of resource_type, resource_types on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertResourceTypeChoice
The MonitorActivityLogAlertResourceType.resourceType choice: sets resource_type.
MonitorActivityLogAlertResourceTypeResourceTypes
The MonitorActivityLogAlertResourceType.resourceTypes choice: sets resource_types.
MonitorActivityLogAlertServiceHealth
Typed helper for the criteria.service_health block of azurerm_monitor_activity_log_alert (derived from provider schema).
MonitorActivityLogAlertStatus
At most one of status, statuses on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertStatusChoice
The MonitorActivityLogAlertStatus.status choice: sets status.
MonitorActivityLogAlertStatusStatuses
The MonitorActivityLogAlertStatus.statuses choice: sets statuses.
MonitorActivityLogAlertSub
At most one of sub_status, sub_statuses on the criteria block of azurerm_monitor_activity_log_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorActivityLogAlertSubStatus
The MonitorActivityLogAlertSub.subStatus choice: sets sub_status.
MonitorActivityLogAlertSubStatuses
The MonitorActivityLogAlertSub.subStatuses choice: sets sub_statuses.
MonitorAlertProcessingRuleActionGroupAlertContext
Typed helper for the condition.alert_context block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupAlertRuleId
Typed helper for the condition.alert_rule_id block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupAlertRuleName
Typed helper for the condition.alert_rule_name block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupCondition
Typed helper for the condition block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupConditionDescription
Typed helper for the condition.description block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupDaily
Typed helper for the schedule.recurrence.daily block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupMonitorCondition
Typed helper for the condition.monitor_condition block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupMonitorService
Typed helper for the condition.monitor_service block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupMonthly
Typed helper for the schedule.recurrence.monthly block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupRecurrence
Typed helper for the schedule.recurrence block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupSchedule
Typed helper for the schedule block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupSeverity
Typed helper for the condition.severity block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupSignalType
Typed helper for the condition.signal_type block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupTargetResource
Typed helper for the condition.target_resource block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupTargetResourceGroup
Typed helper for the condition.target_resource_group block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupTargetResourceType
Typed helper for the condition.target_resource_type block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleActionGroupWeekly
Typed helper for the schedule.recurrence.weekly block of azurerm_monitor_alert_processing_rule_action_group (derived from provider schema).
MonitorAlertProcessingRuleSuppressionAlertContext
Typed helper for the condition.alert_context block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionAlertRuleId
Typed helper for the condition.alert_rule_id block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionAlertRuleName
Typed helper for the condition.alert_rule_name block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionCondition
Typed helper for the condition block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionConditionDescription
Typed helper for the condition.description block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionDaily
Typed helper for the schedule.recurrence.daily block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionMonitorCondition
Typed helper for the condition.monitor_condition block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionMonitorService
Typed helper for the condition.monitor_service block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionMonthly
Typed helper for the schedule.recurrence.monthly block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionRecurrence
Typed helper for the schedule.recurrence block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionSchedule
Typed helper for the schedule block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionSeverity
Typed helper for the condition.severity block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionSignalType
Typed helper for the condition.signal_type block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionTargetResource
Typed helper for the condition.target_resource block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionTargetResourceGroup
Typed helper for the condition.target_resource_group block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionTargetResourceType
Typed helper for the condition.target_resource_type block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertProcessingRuleSuppressionWeekly
Typed helper for the schedule.recurrence.weekly block of azurerm_monitor_alert_processing_rule_suppression (derived from provider schema).
MonitorAlertPrometheusRuleGroupAction
Typed helper for the rule.action block of azurerm_monitor_alert_prometheus_rule_group (derived from provider schema).
MonitorAlertPrometheusRuleGroupAlertResolution
Typed helper for the rule.alert_resolution block of azurerm_monitor_alert_prometheus_rule_group (derived from provider schema).
MonitorAlertPrometheusRuleGroupRule
Typed helper for the rule block of azurerm_monitor_alert_prometheus_rule_group (derived from provider schema).
MonitorAutoscaleSettingCapacity
Typed helper for the profile.capacity block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingDimensions
Typed helper for the profile.rule.metric_trigger.dimensions block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingEmail
Typed helper for the notification.email block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingFixedDate
Typed helper for the profile.fixed_date block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingMetricTrigger
Typed helper for the profile.rule.metric_trigger block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingNotification
Typed helper for the notification block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingPredictive
Typed helper for the predictive block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingProfile
Typed helper for the profile block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingRecurrence
Typed helper for the profile.recurrence block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingRule
Typed helper for the profile.rule block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingScaleAction
Typed helper for the profile.rule.scale_action block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorAutoscaleSettingWebhook
Typed helper for the notification.webhook block of azurerm_monitor_autoscale_setting (derived from provider schema).
MonitorDataCollectionRuleAssociationDataCollection
Exactly one of data_collection_endpoint_id, data_collection_rule_id on azurerm_monitor_data_collection_rule_association: the provider rejects none and more than one, so each variant sets one of them.
MonitorDataCollectionRuleAssociationDataCollectionEndpointId
The MonitorDataCollectionRuleAssociationDataCollection.dataCollectionEndpointId choice: sets data_collection_endpoint_id.
MonitorDataCollectionRuleAssociationDataCollectionRuleId
The MonitorDataCollectionRuleAssociationDataCollection.dataCollectionRuleId choice: sets data_collection_rule_id.
MonitorDataCollectionRuleAzureMonitorMetrics
Typed helper for the destinations.azure_monitor_metrics block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleColumn
Typed helper for the stream_declaration.column block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleDataFlow
Typed helper for the data_flow block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleDataImport
Typed helper for the data_sources.data_import block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleDataSources
Typed helper for the data_sources block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleDestinations
Typed helper for the destinations block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleEventHub
Typed helper for the destinations.event_hub block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleEventHubDataSource
Typed helper for the data_sources.data_import.event_hub_data_source block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleEventHubDirect
Typed helper for the destinations.event_hub_direct block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleExtension
Typed helper for the data_sources.extension block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleIdentity
Typed helper for the identity block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleIisLog
Typed helper for the data_sources.iis_log block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleLabelIncludeFilter
Typed helper for the data_sources.prometheus_forwarder.label_include_filter block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleLogAnalytics
Typed helper for the destinations.log_analytics block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleLogFile
Typed helper for the data_sources.log_file block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleMonitorAccount
Typed helper for the destinations.monitor_account block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRulePerformanceCounter
Typed helper for the data_sources.performance_counter block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRulePlatformTelemetry
Typed helper for the data_sources.platform_telemetry block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRulePrometheusForwarder
Typed helper for the data_sources.prometheus_forwarder block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleSettings
Typed helper for the data_sources.log_file.settings block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleStorageBlob
Typed helper for the destinations.storage_blob block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleStorageBlobDirect
Typed helper for the destinations.storage_blob_direct block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleStorageTableDirect
Typed helper for the destinations.storage_table_direct block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleStreamDeclaration
Typed helper for the stream_declaration block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleSyslog
Typed helper for the data_sources.syslog block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleText
Typed helper for the data_sources.log_file.settings.text block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleWindowsEventLog
Typed helper for the data_sources.windows_event_log block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDataCollectionRuleWindowsFirewallLog
Typed helper for the data_sources.windows_firewall_log block of azurerm_monitor_data_collection_rule (derived from provider schema).
MonitorDiagnosticSettingEnabledLog
Typed helper for the enabled_log block of azurerm_monitor_diagnostic_setting (derived from provider schema).
MonitorDiagnosticSettingEnabledMetric
Typed helper for the enabled_metric block of azurerm_monitor_diagnostic_setting (derived from provider schema).
MonitorMetricAlertAction
Typed helper for the action block of azurerm_monitor_metric_alert (derived from provider schema).
MonitorMetricAlertApplicationInsightsWebTestLocationAvailabilityCriteria
Typed helper for the application_insights_web_test_location_availability_criteria block of azurerm_monitor_metric_alert (derived from provider schema).
MonitorMetricAlertCriteria
Typed helper for the criteria block of azurerm_monitor_metric_alert (derived from provider schema).
MonitorMetricAlertDimension
Typed helper for the criteria.dimension block of azurerm_monitor_metric_alert (derived from provider schema). Shared by every block of this shape in the resource.
MonitorMetricAlertDynamicCriteria
Typed helper for the dynamic_criteria block of azurerm_monitor_metric_alert (derived from provider schema).
MonitorMetricAlertSignal
Exactly one of application_insights_web_test_location_availability_criteria, criteria, dynamic_criteria on azurerm_monitor_metric_alert: the provider rejects none and more than one, so each variant sets one of them.
MonitorMetricAlertSignalApplicationInsightsWebTestLocationAvailabilityCriteria
The MonitorMetricAlertSignal.applicationInsightsWebTestLocationAvailabilityCriteria choice: sets application_insights_web_test_location_availability_criteria.
MonitorMetricAlertSignalCriteria
The MonitorMetricAlertSignal.criteria choice: sets criteria.
MonitorMetricAlertSignalDynamicCriteria
The MonitorMetricAlertSignal.dynamicCriteria choice: sets dynamic_criteria.
MonitorScheduledQueryRulesAlertAction
Typed helper for the action block of azurerm_monitor_scheduled_query_rules_alert (derived from provider schema).
MonitorScheduledQueryRulesAlertMetricTrigger
Typed helper for the trigger.metric_trigger block of azurerm_monitor_scheduled_query_rules_alert (derived from provider schema).
MonitorScheduledQueryRulesAlertResolution
At most one of auto_mitigation_enabled, throttling on azurerm_monitor_scheduled_query_rules_alert: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
MonitorScheduledQueryRulesAlertResolutionAutoMitigationEnabled
The MonitorScheduledQueryRulesAlertResolution.autoMitigationEnabled choice: sets auto_mitigation_enabled.
MonitorScheduledQueryRulesAlertResolutionThrottling
The MonitorScheduledQueryRulesAlertResolution.throttling choice: sets throttling.
MonitorScheduledQueryRulesAlertTrigger
Typed helper for the trigger block of azurerm_monitor_scheduled_query_rules_alert (derived from provider schema).
MonitorScheduledQueryRulesAlertV2Action
Typed helper for the action block of azurerm_monitor_scheduled_query_rules_alert_v2 (derived from provider schema).
MonitorScheduledQueryRulesAlertV2Criteria
Typed helper for the criteria block of azurerm_monitor_scheduled_query_rules_alert_v2 (derived from provider schema).
MonitorScheduledQueryRulesAlertV2Dimension
Typed helper for the criteria.dimension block of azurerm_monitor_scheduled_query_rules_alert_v2 (derived from provider schema).
MonitorScheduledQueryRulesAlertV2FailingPeriods
Typed helper for the criteria.failing_periods block of azurerm_monitor_scheduled_query_rules_alert_v2 (derived from provider schema).
MonitorScheduledQueryRulesAlertV2Identity
Typed helper for the identity block of azurerm_monitor_scheduled_query_rules_alert_v2 (derived from provider schema).
MonitorScheduledQueryRulesLogCriteria
Typed helper for the criteria block of azurerm_monitor_scheduled_query_rules_log (derived from provider schema).
MonitorScheduledQueryRulesLogDimension
Typed helper for the criteria.dimension block of azurerm_monitor_scheduled_query_rules_log (derived from provider schema).
MonitorSmartDetectorAlertRuleActionGroup
Typed helper for the action_group block of azurerm_monitor_smart_detector_alert_rule (derived from provider schema).
NoProviders
The Stack registers no provider, but declares resources or data sources.
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.

Enums

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

Extension Types

MonitorActivityLogAlertCategory
category — derived from the provider schema description.
MonitorActivityLogAlertCurrent
current — derived from the provider schema description.
MonitorActivityLogAlertEvents
events — derived from the provider schema description.
MonitorActivityLogAlertLevel
level — derived from the provider schema description.
MonitorActivityLogAlertLevels
levels — derived from the provider schema description.
MonitorActivityLogAlertPrevious
previous — derived from the provider schema description.
MonitorActivityLogAlertReason
reason — derived from the provider schema description.
MonitorActivityLogAlertRecommendationCategory
recommendation_category — derived from the provider schema description.
MonitorActivityLogAlertRecommendationImpact
recommendation_impact — derived from the provider schema description.
MonitorAutoscaleSettingDays
days — derived from the provider schema description.
MonitorAutoscaleSettingDimensionsOperator
operator — derived from the provider schema description.
MonitorAutoscaleSettingDirection
direction — derived from the provider schema description.
MonitorAutoscaleSettingOperator
operator — derived from the provider schema description.
MonitorAutoscaleSettingScaleMode
scale_mode — derived from the provider schema description.
MonitorAutoscaleSettingStatistic
statistic — derived from the provider schema description.
MonitorAutoscaleSettingTimeAggregation
time_aggregation — derived from the provider schema description.
MonitorAutoscaleSettingType
type — derived from the provider schema description.
MonitorDataCollectionEndpointKind
Monitor Data Collection Endpoint enum for kind.
MonitorDataCollectionRuleFacilityNames
facility_names — derived from the provider schema description.
MonitorDataCollectionRuleFormat
format — derived from the provider schema description.
MonitorDataCollectionRuleKind
Monitor Data Collection Rule enum for kind.
MonitorDataCollectionRuleLabel
label — derived from the provider schema description.
MonitorDataCollectionRuleLogLevels
log_levels — derived from the provider schema description.
MonitorDataCollectionRuleRecordStartTimestampFormat
record_start_timestamp_format — derived from the provider schema description.
MonitorDataCollectionRuleStreams
streams — derived from the provider schema description.
MonitorDataCollectionRuleType
type — derived from the provider schema description.
MonitorDiagnosticSettingLogAnalyticsDestinationType
Monitor Diagnostic Setting Log Analytics Destination enum for log_analytics_destination_type.
MonitorMetricAlertAggregation
aggregation — derived from the provider schema description.
MonitorMetricAlertCriteriaOperator
operator — derived from the provider schema description.
MonitorMetricAlertDimensionOperator
operator — derived from the provider schema description.
MonitorMetricAlertDynamicCriteriaOperator
operator — derived from the provider schema description.
MonitorMetricAlertFrequency
Monitor Metric Alert enum for frequency.
MonitorMetricAlertSensitivity
alert_sensitivity — derived from the provider schema description.
MonitorMetricAlertWindowSize
Monitor Metric Alert Window enum for window_size.
MonitorPrivateLinkScopeIngestionAccessMode
Monitor Private Link Scope Ingestion Access enum for ingestion_access_mode.
MonitorPrivateLinkScopeQueryAccessMode
Monitor Private Link Scope Query Access enum for query_access_mode.
MonitorScheduledQueryRulesAlertMetricTriggerType
metric_trigger_type — derived from the provider schema description.
MonitorScheduledQueryRulesAlertOperator
operator — derived from the provider schema description.
MonitorScheduledQueryRulesAlertQueryType
Monitor Scheduled Query Rules Alert Query enum for query_type.
MonitorScheduledQueryRulesAlertV2DimensionOperator
operator — derived from the provider schema description.
MonitorScheduledQueryRulesAlertV2EvaluationFrequency
Monitor Scheduled Query Rules Alert V2 Evaluation enum for evaluation_frequency.
MonitorScheduledQueryRulesAlertV2MuteActionsAfterAlertDuration
Monitor Scheduled Query Rules Alert V2 Mute Actions After Alert enum for mute_actions_after_alert_duration.
MonitorScheduledQueryRulesAlertV2Operator
operator — derived from the provider schema description.
MonitorScheduledQueryRulesAlertV2QueryTimeRangeOverride
Monitor Scheduled Query Rules Alert V2 Query Time Range enum for query_time_range_override.
MonitorScheduledQueryRulesAlertV2TimeAggregationMethod
time_aggregation_method — derived from the provider schema description.
MonitorScheduledQueryRulesAlertV2WindowDuration
Monitor Scheduled Query Rules Alert V2 Window enum for window_duration.
MonitorScheduledQueryRulesLogOperator
operator — derived from the provider schema description.
MonitorSmartDetectorAlertRuleDetectorType
Monitor Smart Detector Alert Rule Detector enum for detector_type.
MonitorSmartDetectorAlertRuleSeverity
Monitor Smart Detector Alert Rule enum for severity.
OutputEnvironment
The environment Stack.outputEnvironment returns: each variable and its value, in registration order.
RefTo
A reference to a resource of type R, for an argument that names another resource (network, vpc_id, role_arn, ...).

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.