Documentation ¶
Index ¶
- func MonitorScheduledQueryRulesAlertV2_IsConstruct(x interface{}) *bool
- func MonitorScheduledQueryRulesAlertV2_IsTerraformElement(x interface{}) *bool
- func MonitorScheduledQueryRulesAlertV2_IsTerraformResource(x interface{}) *bool
- func MonitorScheduledQueryRulesAlertV2_TfResourceType() *string
- func NewMonitorScheduledQueryRulesAlertV2ActionOutputReference_Override(m MonitorScheduledQueryRulesAlertV2ActionOutputReference, ...)
- func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionList_Override(m MonitorScheduledQueryRulesAlertV2CriteriaDimensionList, ...)
- func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference_Override(m MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference, ...)
- func NewMonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference_Override(m MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference, ...)
- func NewMonitorScheduledQueryRulesAlertV2CriteriaList_Override(m MonitorScheduledQueryRulesAlertV2CriteriaList, ...)
- func NewMonitorScheduledQueryRulesAlertV2CriteriaOutputReference_Override(m MonitorScheduledQueryRulesAlertV2CriteriaOutputReference, ...)
- func NewMonitorScheduledQueryRulesAlertV2TimeoutsOutputReference_Override(m MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference, ...)
- func NewMonitorScheduledQueryRulesAlertV2_Override(m MonitorScheduledQueryRulesAlertV2, scope constructs.Construct, id *string, ...)
- type MonitorScheduledQueryRulesAlertV2
- type MonitorScheduledQueryRulesAlertV2Action
- type MonitorScheduledQueryRulesAlertV2ActionOutputReference
- type MonitorScheduledQueryRulesAlertV2Config
- type MonitorScheduledQueryRulesAlertV2Criteria
- type MonitorScheduledQueryRulesAlertV2CriteriaDimension
- type MonitorScheduledQueryRulesAlertV2CriteriaDimensionList
- type MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference
- type MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods
- type MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference
- type MonitorScheduledQueryRulesAlertV2CriteriaList
- type MonitorScheduledQueryRulesAlertV2CriteriaOutputReference
- type MonitorScheduledQueryRulesAlertV2Timeouts
- type MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MonitorScheduledQueryRulesAlertV2_IsConstruct ¶
func MonitorScheduledQueryRulesAlertV2_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func MonitorScheduledQueryRulesAlertV2_IsTerraformElement ¶
func MonitorScheduledQueryRulesAlertV2_IsTerraformElement(x interface{}) *bool
Experimental.
func MonitorScheduledQueryRulesAlertV2_IsTerraformResource ¶
func MonitorScheduledQueryRulesAlertV2_IsTerraformResource(x interface{}) *bool
Experimental.
func MonitorScheduledQueryRulesAlertV2_TfResourceType ¶
func MonitorScheduledQueryRulesAlertV2_TfResourceType() *string
func NewMonitorScheduledQueryRulesAlertV2ActionOutputReference_Override ¶
func NewMonitorScheduledQueryRulesAlertV2ActionOutputReference_Override(m MonitorScheduledQueryRulesAlertV2ActionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionList_Override ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionList_Override(m MonitorScheduledQueryRulesAlertV2CriteriaDimensionList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference_Override ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference_Override(m MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference_Override ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference_Override(m MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitorScheduledQueryRulesAlertV2CriteriaList_Override ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaList_Override(m MonitorScheduledQueryRulesAlertV2CriteriaList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewMonitorScheduledQueryRulesAlertV2CriteriaOutputReference_Override ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaOutputReference_Override(m MonitorScheduledQueryRulesAlertV2CriteriaOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewMonitorScheduledQueryRulesAlertV2TimeoutsOutputReference_Override ¶
func NewMonitorScheduledQueryRulesAlertV2TimeoutsOutputReference_Override(m MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewMonitorScheduledQueryRulesAlertV2_Override ¶
func NewMonitorScheduledQueryRulesAlertV2_Override(m MonitorScheduledQueryRulesAlertV2, scope constructs.Construct, id *string, config *MonitorScheduledQueryRulesAlertV2Config)
Create a new {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2 azurerm_monitor_scheduled_query_rules_alert_v2} Resource.
Types ¶
type MonitorScheduledQueryRulesAlertV2 ¶
type MonitorScheduledQueryRulesAlertV2 interface { cdktf.TerraformResource Action() MonitorScheduledQueryRulesAlertV2ActionOutputReference ActionInput() *MonitorScheduledQueryRulesAlertV2Action AutoMitigationEnabled() interface{} SetAutoMitigationEnabled(val interface{}) AutoMitigationEnabledInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreatedWithApiVersion() *string Criteria() MonitorScheduledQueryRulesAlertV2CriteriaList CriteriaInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DisplayName() *string SetDisplayName(val *string) DisplayNameInput() *string Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} EvaluationFrequency() *string SetEvaluationFrequency(val *string) EvaluationFrequencyInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string IsALegacyLogAnalyticsRule() cdktf.IResolvable IsWorkspaceAlertsStorageConfigured() cdktf.IResolvable // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Location() *string SetLocation(val *string) LocationInput() *string MuteActionsAfterAlertDuration() *string SetMuteActionsAfterAlertDuration(val *string) MuteActionsAfterAlertDurationInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) QueryTimeRangeOverride() *string SetQueryTimeRangeOverride(val *string) QueryTimeRangeOverrideInput() *string // Experimental. RawOverrides() interface{} ResourceGroupName() *string SetResourceGroupName(val *string) ResourceGroupNameInput() *string Scopes() *[]*string SetScopes(val *[]*string) ScopesInput() *[]*string Severity() *float64 SetSeverity(val *float64) SeverityInput() *float64 SkipQueryValidation() interface{} SetSkipQueryValidation(val interface{}) SkipQueryValidationInput() interface{} Tags() *map[string]*string SetTags(val *map[string]*string) TagsInput() *map[string]*string TargetResourceTypes() *[]*string SetTargetResourceTypes(val *[]*string) TargetResourceTypesInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference TimeoutsInput() interface{} WindowDuration() *string SetWindowDuration(val *string) WindowDurationInput() *string WorkspaceAlertsStorageEnabled() interface{} SetWorkspaceAlertsStorageEnabled(val interface{}) WorkspaceAlertsStorageEnabledInput() interface{} // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAction(value *MonitorScheduledQueryRulesAlertV2Action) PutCriteria(value interface{}) PutTimeouts(value *MonitorScheduledQueryRulesAlertV2Timeouts) ResetAction() ResetAutoMitigationEnabled() ResetDescription() ResetDisplayName() ResetEnabled() ResetEvaluationFrequency() ResetId() ResetMuteActionsAfterAlertDuration() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetQueryTimeRangeOverride() ResetSkipQueryValidation() ResetTags() ResetTargetResourceTypes() ResetTimeouts() ResetWorkspaceAlertsStorageEnabled() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2 azurerm_monitor_scheduled_query_rules_alert_v2}.
func NewMonitorScheduledQueryRulesAlertV2 ¶
func NewMonitorScheduledQueryRulesAlertV2(scope constructs.Construct, id *string, config *MonitorScheduledQueryRulesAlertV2Config) MonitorScheduledQueryRulesAlertV2
Create a new {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2 azurerm_monitor_scheduled_query_rules_alert_v2} Resource.
type MonitorScheduledQueryRulesAlertV2Action ¶
type MonitorScheduledQueryRulesAlertV2Action struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#action_groups MonitorScheduledQueryRulesAlertV2#action_groups}. ActionGroups *[]*string `field:"optional" json:"actionGroups" yaml:"actionGroups"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#custom_properties MonitorScheduledQueryRulesAlertV2#custom_properties}. CustomProperties *map[string]*string `field:"optional" json:"customProperties" yaml:"customProperties"` }
type MonitorScheduledQueryRulesAlertV2ActionOutputReference ¶
type MonitorScheduledQueryRulesAlertV2ActionOutputReference interface { cdktf.ComplexObject ActionGroups() *[]*string SetActionGroups(val *[]*string) ActionGroupsInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string CustomProperties() *map[string]*string SetCustomProperties(val *map[string]*string) CustomPropertiesInput() *map[string]*string // Experimental. Fqn() *string InternalValue() *MonitorScheduledQueryRulesAlertV2Action SetInternalValue(val *MonitorScheduledQueryRulesAlertV2Action) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetActionGroups() ResetCustomProperties() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewMonitorScheduledQueryRulesAlertV2ActionOutputReference ¶
func NewMonitorScheduledQueryRulesAlertV2ActionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitorScheduledQueryRulesAlertV2ActionOutputReference
type MonitorScheduledQueryRulesAlertV2Config ¶
type MonitorScheduledQueryRulesAlertV2Config struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // criteria block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#criteria MonitorScheduledQueryRulesAlertV2#criteria} Criteria interface{} `field:"required" json:"criteria" yaml:"criteria"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#location MonitorScheduledQueryRulesAlertV2#location}. Location *string `field:"required" json:"location" yaml:"location"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#name MonitorScheduledQueryRulesAlertV2#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#resource_group_name MonitorScheduledQueryRulesAlertV2#resource_group_name}. ResourceGroupName *string `field:"required" json:"resourceGroupName" yaml:"resourceGroupName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#scopes MonitorScheduledQueryRulesAlertV2#scopes}. Scopes *[]*string `field:"required" json:"scopes" yaml:"scopes"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#severity MonitorScheduledQueryRulesAlertV2#severity}. Severity *float64 `field:"required" json:"severity" yaml:"severity"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#window_duration MonitorScheduledQueryRulesAlertV2#window_duration}. WindowDuration *string `field:"required" json:"windowDuration" yaml:"windowDuration"` // action block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#action MonitorScheduledQueryRulesAlertV2#action} Action *MonitorScheduledQueryRulesAlertV2Action `field:"optional" json:"action" yaml:"action"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#auto_mitigation_enabled MonitorScheduledQueryRulesAlertV2#auto_mitigation_enabled}. AutoMitigationEnabled interface{} `field:"optional" json:"autoMitigationEnabled" yaml:"autoMitigationEnabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#description MonitorScheduledQueryRulesAlertV2#description}. Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#display_name MonitorScheduledQueryRulesAlertV2#display_name}. DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#enabled MonitorScheduledQueryRulesAlertV2#enabled}. Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#evaluation_frequency MonitorScheduledQueryRulesAlertV2#evaluation_frequency}. EvaluationFrequency *string `field:"optional" json:"evaluationFrequency" yaml:"evaluationFrequency"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#id MonitorScheduledQueryRulesAlertV2#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#mute_actions_after_alert_duration MonitorScheduledQueryRulesAlertV2#mute_actions_after_alert_duration}. MuteActionsAfterAlertDuration *string `field:"optional" json:"muteActionsAfterAlertDuration" yaml:"muteActionsAfterAlertDuration"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#query_time_range_override MonitorScheduledQueryRulesAlertV2#query_time_range_override}. QueryTimeRangeOverride *string `field:"optional" json:"queryTimeRangeOverride" yaml:"queryTimeRangeOverride"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#skip_query_validation MonitorScheduledQueryRulesAlertV2#skip_query_validation}. SkipQueryValidation interface{} `field:"optional" json:"skipQueryValidation" yaml:"skipQueryValidation"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#tags MonitorScheduledQueryRulesAlertV2#tags}. Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#target_resource_types MonitorScheduledQueryRulesAlertV2#target_resource_types}. TargetResourceTypes *[]*string `field:"optional" json:"targetResourceTypes" yaml:"targetResourceTypes"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#timeouts MonitorScheduledQueryRulesAlertV2#timeouts} Timeouts *MonitorScheduledQueryRulesAlertV2Timeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#workspace_alerts_storage_enabled MonitorScheduledQueryRulesAlertV2#workspace_alerts_storage_enabled}. WorkspaceAlertsStorageEnabled interface{} `field:"optional" json:"workspaceAlertsStorageEnabled" yaml:"workspaceAlertsStorageEnabled"` }
type MonitorScheduledQueryRulesAlertV2Criteria ¶
type MonitorScheduledQueryRulesAlertV2Criteria struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#operator MonitorScheduledQueryRulesAlertV2#operator}. Operator *string `field:"required" json:"operator" yaml:"operator"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#query MonitorScheduledQueryRulesAlertV2#query}. Query *string `field:"required" json:"query" yaml:"query"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#threshold MonitorScheduledQueryRulesAlertV2#threshold}. Threshold *float64 `field:"required" json:"threshold" yaml:"threshold"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#time_aggregation_method MonitorScheduledQueryRulesAlertV2#time_aggregation_method}. TimeAggregationMethod *string `field:"required" json:"timeAggregationMethod" yaml:"timeAggregationMethod"` // dimension block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#dimension MonitorScheduledQueryRulesAlertV2#dimension} Dimension interface{} `field:"optional" json:"dimension" yaml:"dimension"` // failing_periods block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#failing_periods MonitorScheduledQueryRulesAlertV2#failing_periods} FailingPeriods *MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods `field:"optional" json:"failingPeriods" yaml:"failingPeriods"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#metric_measure_column MonitorScheduledQueryRulesAlertV2#metric_measure_column}. MetricMeasureColumn *string `field:"optional" json:"metricMeasureColumn" yaml:"metricMeasureColumn"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#resource_id_column MonitorScheduledQueryRulesAlertV2#resource_id_column}. ResourceIdColumn *string `field:"optional" json:"resourceIdColumn" yaml:"resourceIdColumn"` }
type MonitorScheduledQueryRulesAlertV2CriteriaDimension ¶
type MonitorScheduledQueryRulesAlertV2CriteriaDimension struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#name MonitorScheduledQueryRulesAlertV2#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#operator MonitorScheduledQueryRulesAlertV2#operator}. Operator *string `field:"required" json:"operator" yaml:"operator"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#values MonitorScheduledQueryRulesAlertV2#values}. Values *[]*string `field:"required" json:"values" yaml:"values"` }
type MonitorScheduledQueryRulesAlertV2CriteriaDimensionList ¶
type MonitorScheduledQueryRulesAlertV2CriteriaDimensionList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionList ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MonitorScheduledQueryRulesAlertV2CriteriaDimensionList
type MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference ¶
type MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference
type MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods ¶
type MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#minimum_failing_periods_to_trigger_alert MonitorScheduledQueryRulesAlertV2#minimum_failing_periods_to_trigger_alert}. MinimumFailingPeriodsToTriggerAlert *float64 `field:"required" json:"minimumFailingPeriodsToTriggerAlert" yaml:"minimumFailingPeriodsToTriggerAlert"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#number_of_evaluation_periods MonitorScheduledQueryRulesAlertV2#number_of_evaluation_periods}. NumberOfEvaluationPeriods *float64 `field:"required" json:"numberOfEvaluationPeriods" yaml:"numberOfEvaluationPeriods"` }
type MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference ¶
type MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods SetInternalValue(val *MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods) MinimumFailingPeriodsToTriggerAlert() *float64 SetMinimumFailingPeriodsToTriggerAlert(val *float64) MinimumFailingPeriodsToTriggerAlertInput() *float64 NumberOfEvaluationPeriods() *float64 SetNumberOfEvaluationPeriods(val *float64) NumberOfEvaluationPeriodsInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewMonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference
type MonitorScheduledQueryRulesAlertV2CriteriaList ¶
type MonitorScheduledQueryRulesAlertV2CriteriaList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) MonitorScheduledQueryRulesAlertV2CriteriaOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewMonitorScheduledQueryRulesAlertV2CriteriaList ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) MonitorScheduledQueryRulesAlertV2CriteriaList
type MonitorScheduledQueryRulesAlertV2CriteriaOutputReference ¶
type MonitorScheduledQueryRulesAlertV2CriteriaOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dimension() MonitorScheduledQueryRulesAlertV2CriteriaDimensionList DimensionInput() interface{} FailingPeriods() MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference FailingPeriodsInput() *MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) MetricMeasureColumn() *string SetMetricMeasureColumn(val *string) MetricMeasureColumnInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string Query() *string SetQuery(val *string) QueryInput() *string ResourceIdColumn() *string SetResourceIdColumn(val *string) ResourceIdColumnInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Threshold() *float64 SetThreshold(val *float64) ThresholdInput() *float64 TimeAggregationMethod() *string SetTimeAggregationMethod(val *string) TimeAggregationMethodInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutDimension(value interface{}) PutFailingPeriods(value *MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods) ResetDimension() ResetFailingPeriods() ResetMetricMeasureColumn() ResetResourceIdColumn() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewMonitorScheduledQueryRulesAlertV2CriteriaOutputReference ¶
func NewMonitorScheduledQueryRulesAlertV2CriteriaOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) MonitorScheduledQueryRulesAlertV2CriteriaOutputReference
type MonitorScheduledQueryRulesAlertV2Timeouts ¶
type MonitorScheduledQueryRulesAlertV2Timeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#create MonitorScheduledQueryRulesAlertV2#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#delete MonitorScheduledQueryRulesAlertV2#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#read MonitorScheduledQueryRulesAlertV2#read}. Read *string `field:"optional" json:"read" yaml:"read"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/monitor_scheduled_query_rules_alert_v2#update MonitorScheduledQueryRulesAlertV2#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference ¶
type MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Read() *string SetRead(val *string) ReadInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetRead() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewMonitorScheduledQueryRulesAlertV2TimeoutsOutputReference ¶
func NewMonitorScheduledQueryRulesAlertV2TimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference
Source Files ¶
- monitorscheduledqueryrulesalertv2.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2Action.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2ActionOutputReference.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2ActionOutputReference__runtime_type_checks.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2Config.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2Criteria.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaDimension.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaDimensionList.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaDimensionList__runtime_type_checks.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaDimensionOutputReference__runtime_type_checks.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriods.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaFailingPeriodsOutputReference__runtime_type_checks.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaList.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaList__runtime_type_checks.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaOutputReference.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2CriteriaOutputReference__runtime_type_checks.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2Timeouts.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2TimeoutsOutputReference__runtime_type_checks.go
- monitorscheduledqueryrulesalertv2_MonitorScheduledQueryRulesAlertV2__runtime_type_checks.go