This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.insights.getScheduledQueryRule
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Retrieve an scheduled query rule definition. Azure REST API version: 2023-03-15-preview.
Other available API versions: 2018-04-16, 2020-05-01-preview, 2022-08-01-preview, 2023-12-01, 2024-01-01-preview.
Using getScheduledQueryRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScheduledQueryRule(args: GetScheduledQueryRuleArgs, opts?: InvokeOptions): Promise<GetScheduledQueryRuleResult>
function getScheduledQueryRuleOutput(args: GetScheduledQueryRuleOutputArgs, opts?: InvokeOptions): Output<GetScheduledQueryRuleResult>
def get_scheduled_query_rule(resource_group_name: Optional[str] = None,
rule_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScheduledQueryRuleResult
def get_scheduled_query_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None,
rule_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScheduledQueryRuleResult]
func LookupScheduledQueryRule(ctx *Context, args *LookupScheduledQueryRuleArgs, opts ...InvokeOption) (*LookupScheduledQueryRuleResult, error)
func LookupScheduledQueryRuleOutput(ctx *Context, args *LookupScheduledQueryRuleOutputArgs, opts ...InvokeOption) LookupScheduledQueryRuleResultOutput
> Note: This function is named LookupScheduledQueryRule
in the Go SDK.
public static class GetScheduledQueryRule
{
public static Task<GetScheduledQueryRuleResult> InvokeAsync(GetScheduledQueryRuleArgs args, InvokeOptions? opts = null)
public static Output<GetScheduledQueryRuleResult> Invoke(GetScheduledQueryRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScheduledQueryRuleResult> getScheduledQueryRule(GetScheduledQueryRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getScheduledQueryRule
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Name string - The name of the rule.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Name string - The name of the rule.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Name String - The name of the rule.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- rule
Name string - The name of the rule.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- rule_
name str - The name of the rule.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Name String - The name of the rule.
getScheduledQueryRule Result
The following output properties are available:
- Created
With stringApi Version - The api-version used when creating this alert rule
- Criteria
Pulumi.
Azure Native. Insights. Outputs. Scheduled Query Rule Criteria Response - The rule criteria that defines the conditions of the scheduled query rule.
- Enabled bool
- The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
- Etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Is
Legacy boolLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- Is
Workspace boolAlerts Storage Configured - The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Scopes List<string>
- The list of resource id's that this scheduled query rule is scoped to.
- System
Data Pulumi.Azure Native. Insights. Outputs. System Data Response - SystemData of ScheduledQueryRule.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Actions
Pulumi.
Azure Native. Insights. Outputs. Actions Response - Actions to invoke when the alert fires.
- Auto
Mitigate bool - The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert.
- Check
Workspace boolAlerts Storage Configured - The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
- Description string
- The description of the scheduled query rule.
- Display
Name string - The display name of the alert rule
- Evaluation
Frequency string - How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert.
- Identity
Pulumi.
Azure Native. Insights. Outputs. Identity Response - The identity of the resource.
- Kind string
- Indicates the type of scheduled query rule. The default is LogAlert.
- Mute
Actions stringDuration - Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
- Override
Query stringTime Range - If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
- Resolve
Configuration Pulumi.Azure Native. Insights. Outputs. Rule Resolve Configuration Response - Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert.
- Severity double
- Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.
- Skip
Query boolValidation - The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert.
- Dictionary<string, string>
- Resource tags.
- Target
Resource List<string>Types - List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert
- Window
Size string - The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert.
- Created
With stringApi Version - The api-version used when creating this alert rule
- Criteria
Scheduled
Query Rule Criteria Response - The rule criteria that defines the conditions of the scheduled query rule.
- Enabled bool
- The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
- Etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Is
Legacy boolLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- Is
Workspace boolAlerts Storage Configured - The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Scopes []string
- The list of resource id's that this scheduled query rule is scoped to.
- System
Data SystemData Response - SystemData of ScheduledQueryRule.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Actions
Actions
Response - Actions to invoke when the alert fires.
- Auto
Mitigate bool - The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert.
- Check
Workspace boolAlerts Storage Configured - The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
- Description string
- The description of the scheduled query rule.
- Display
Name string - The display name of the alert rule
- Evaluation
Frequency string - How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert.
- Identity
Identity
Response - The identity of the resource.
- Kind string
- Indicates the type of scheduled query rule. The default is LogAlert.
- Mute
Actions stringDuration - Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
- Override
Query stringTime Range - If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
- Resolve
Configuration RuleResolve Configuration Response - Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert.
- Severity float64
- Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.
- Skip
Query boolValidation - The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert.
- map[string]string
- Resource tags.
- Target
Resource []stringTypes - List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert
- Window
Size string - The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert.
- created
With StringApi Version - The api-version used when creating this alert rule
- criteria
Scheduled
Query Rule Criteria Response - The rule criteria that defines the conditions of the scheduled query rule.
- enabled Boolean
- The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
- etag String
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- is
Legacy BooleanLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- is
Workspace BooleanAlerts Storage Configured - The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- scopes List<String>
- The list of resource id's that this scheduled query rule is scoped to.
- system
Data SystemData Response - SystemData of ScheduledQueryRule.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- actions
Actions
Response - Actions to invoke when the alert fires.
- auto
Mitigate Boolean - The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert.
- check
Workspace BooleanAlerts Storage Configured - The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
- description String
- The description of the scheduled query rule.
- display
Name String - The display name of the alert rule
- evaluation
Frequency String - How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert.
- identity
Identity
Response - The identity of the resource.
- kind String
- Indicates the type of scheduled query rule. The default is LogAlert.
- mute
Actions StringDuration - Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
- override
Query StringTime Range - If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
- resolve
Configuration RuleResolve Configuration Response - Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert.
- severity Double
- Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.
- skip
Query BooleanValidation - The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert.
- Map<String,String>
- Resource tags.
- target
Resource List<String>Types - List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert
- window
Size String - The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert.
- created
With stringApi Version - The api-version used when creating this alert rule
- criteria
Scheduled
Query Rule Criteria Response - The rule criteria that defines the conditions of the scheduled query rule.
- enabled boolean
- The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
- etag string
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- is
Legacy booleanLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- is
Workspace booleanAlerts Storage Configured - The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- scopes string[]
- The list of resource id's that this scheduled query rule is scoped to.
- system
Data SystemData Response - SystemData of ScheduledQueryRule.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- actions
Actions
Response - Actions to invoke when the alert fires.
- auto
Mitigate boolean - The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert.
- check
Workspace booleanAlerts Storage Configured - The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
- description string
- The description of the scheduled query rule.
- display
Name string - The display name of the alert rule
- evaluation
Frequency string - How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert.
- identity
Identity
Response - The identity of the resource.
- kind string
- Indicates the type of scheduled query rule. The default is LogAlert.
- mute
Actions stringDuration - Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
- override
Query stringTime Range - If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
- resolve
Configuration RuleResolve Configuration Response - Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert.
- severity number
- Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.
- skip
Query booleanValidation - The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert.
- {[key: string]: string}
- Resource tags.
- target
Resource string[]Types - List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert
- window
Size string - The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert.
- created_
with_ strapi_ version - The api-version used when creating this alert rule
- criteria
Scheduled
Query Rule Criteria Response - The rule criteria that defines the conditions of the scheduled query rule.
- enabled bool
- The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
- etag str
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- is_
legacy_ boollog_ analytics_ rule - True if alert rule is legacy Log Analytic rule
- is_
workspace_ boolalerts_ storage_ configured - The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- scopes Sequence[str]
- The list of resource id's that this scheduled query rule is scoped to.
- system_
data SystemData Response - SystemData of ScheduledQueryRule.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- actions
Actions
Response - Actions to invoke when the alert fires.
- auto_
mitigate bool - The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert.
- check_
workspace_ boolalerts_ storage_ configured - The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
- description str
- The description of the scheduled query rule.
- display_
name str - The display name of the alert rule
- evaluation_
frequency str - How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert.
- identity
Identity
Response - The identity of the resource.
- kind str
- Indicates the type of scheduled query rule. The default is LogAlert.
- mute_
actions_ strduration - Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
- override_
query_ strtime_ range - If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
- resolve_
configuration RuleResolve Configuration Response - Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert.
- severity float
- Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.
- skip_
query_ boolvalidation - The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert.
- Mapping[str, str]
- Resource tags.
- target_
resource_ Sequence[str]types - List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert
- window_
size str - The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert.
- created
With StringApi Version - The api-version used when creating this alert rule
- criteria Property Map
- The rule criteria that defines the conditions of the scheduled query rule.
- enabled Boolean
- The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
- etag String
- The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- is
Legacy BooleanLog Analytics Rule - True if alert rule is legacy Log Analytic rule
- is
Workspace BooleanAlerts Storage Configured - The flag which indicates whether this scheduled query rule has been configured to be stored in the customer's storage. The default is false.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- scopes List<String>
- The list of resource id's that this scheduled query rule is scoped to.
- system
Data Property Map - SystemData of ScheduledQueryRule.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- actions Property Map
- Actions to invoke when the alert fires.
- auto
Mitigate Boolean - The flag that indicates whether the alert should be automatically resolved or not. The default is true. Relevant only for rules of the kind LogAlert.
- check
Workspace BooleanAlerts Storage Configured - The flag which indicates whether this scheduled query rule should be stored in the customer's storage. The default is false. Relevant only for rules of the kind LogAlert.
- description String
- The description of the scheduled query rule.
- display
Name String - The display name of the alert rule
- evaluation
Frequency String - How often the scheduled query rule is evaluated represented in ISO 8601 duration format. Relevant and required only for rules of the kind LogAlert.
- identity Property Map
- The identity of the resource.
- kind String
- Indicates the type of scheduled query rule. The default is LogAlert.
- mute
Actions StringDuration - Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired. Relevant only for rules of the kind LogAlert.
- override
Query StringTime Range - If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods). Relevant only for rules of the kind LogAlert.
- resolve
Configuration Property Map - Defines the configuration for resolving fired alerts. Relevant only for rules of the kind LogAlert.
- severity Number
- Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest. Relevant and required only for rules of the kind LogAlert.
- skip
Query BooleanValidation - The flag which indicates whether the provided query should be validated or not. The default is false. Relevant only for rules of the kind LogAlert.
- Map<String>
- Resource tags.
- target
Resource List<String>Types - List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert
- window
Size String - The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert.
Supporting Types
ActionsResponse
- Action
Groups List<string> - Action Group resource Ids to invoke when the alert fires.
- Action
Properties Dictionary<string, string> - The properties of an action properties.
- Custom
Properties Dictionary<string, string> - The properties of an alert payload.
- Action
Groups []string - Action Group resource Ids to invoke when the alert fires.
- Action
Properties map[string]string - The properties of an action properties.
- Custom
Properties map[string]string - The properties of an alert payload.
- action
Groups List<String> - Action Group resource Ids to invoke when the alert fires.
- action
Properties Map<String,String> - The properties of an action properties.
- custom
Properties Map<String,String> - The properties of an alert payload.
- action
Groups string[] - Action Group resource Ids to invoke when the alert fires.
- action
Properties {[key: string]: string} - The properties of an action properties.
- custom
Properties {[key: string]: string} - The properties of an alert payload.
- action_
groups Sequence[str] - Action Group resource Ids to invoke when the alert fires.
- action_
properties Mapping[str, str] - The properties of an action properties.
- custom_
properties Mapping[str, str] - The properties of an alert payload.
- action
Groups List<String> - Action Group resource Ids to invoke when the alert fires.
- action
Properties Map<String> - The properties of an action properties.
- custom
Properties Map<String> - The properties of an alert payload.
ConditionResponse
- Dimensions
List<Pulumi.
Azure Native. Insights. Inputs. Dimension Response> - List of Dimensions conditions
- Failing
Periods Pulumi.Azure Native. Insights. Inputs. Condition Response Failing Periods - The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
- Metric
Measure stringColumn - The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
- Metric
Name string - The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
- Operator string
- The criteria operator. Relevant and required only for rules of the kind LogAlert.
- Query string
- Log query alert
- Resource
Id stringColumn - The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
- Threshold double
- the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert.
- Time
Aggregation string - Aggregation type. Relevant and required only for rules of the kind LogAlert.
- Dimensions
[]Dimension
Response - List of Dimensions conditions
- Failing
Periods ConditionResponse Failing Periods - The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
- Metric
Measure stringColumn - The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
- Metric
Name string - The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
- Operator string
- The criteria operator. Relevant and required only for rules of the kind LogAlert.
- Query string
- Log query alert
- Resource
Id stringColumn - The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
- Threshold float64
- the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert.
- Time
Aggregation string - Aggregation type. Relevant and required only for rules of the kind LogAlert.
- dimensions
List<Dimension
Response> - List of Dimensions conditions
- failing
Periods ConditionResponse Failing Periods - The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
- metric
Measure StringColumn - The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
- metric
Name String - The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
- operator String
- The criteria operator. Relevant and required only for rules of the kind LogAlert.
- query String
- Log query alert
- resource
Id StringColumn - The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
- threshold Double
- the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert.
- time
Aggregation String - Aggregation type. Relevant and required only for rules of the kind LogAlert.
- dimensions
Dimension
Response[] - List of Dimensions conditions
- failing
Periods ConditionResponse Failing Periods - The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
- metric
Measure stringColumn - The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
- metric
Name string - The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
- operator string
- The criteria operator. Relevant and required only for rules of the kind LogAlert.
- query string
- Log query alert
- resource
Id stringColumn - The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
- threshold number
- the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert.
- time
Aggregation string - Aggregation type. Relevant and required only for rules of the kind LogAlert.
- dimensions
Sequence[Dimension
Response] - List of Dimensions conditions
- failing_
periods ConditionResponse Failing Periods - The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
- metric_
measure_ strcolumn - The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
- metric_
name str - The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
- operator str
- The criteria operator. Relevant and required only for rules of the kind LogAlert.
- query str
- Log query alert
- resource_
id_ strcolumn - The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
- threshold float
- the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert.
- time_
aggregation str - Aggregation type. Relevant and required only for rules of the kind LogAlert.
- dimensions List<Property Map>
- List of Dimensions conditions
- failing
Periods Property Map - The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.
- metric
Measure StringColumn - The column containing the metric measure number. Relevant only for rules of the kind LogAlert.
- metric
Name String - The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.
- operator String
- The criteria operator. Relevant and required only for rules of the kind LogAlert.
- query String
- Log query alert
- resource
Id StringColumn - The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.
- threshold Number
- the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert.
- time
Aggregation String - Aggregation type. Relevant and required only for rules of the kind LogAlert.
ConditionResponseFailingPeriods
- Min
Failing doublePeriods To Alert - The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
- Number
Of doubleEvaluation Periods - The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
- Min
Failing float64Periods To Alert - The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
- Number
Of float64Evaluation Periods - The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
- min
Failing DoublePeriods To Alert - The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
- number
Of DoubleEvaluation Periods - The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
- min
Failing numberPeriods To Alert - The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
- number
Of numberEvaluation Periods - The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
- min_
failing_ floatperiods_ to_ alert - The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
- number_
of_ floatevaluation_ periods - The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
- min
Failing NumberPeriods To Alert - The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
- number
Of NumberEvaluation Periods - The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
DimensionResponse
IdentityResponse
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- Type of managed service identity.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Insights. Inputs. User Identity Properties Response> - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- Type of managed service identity.
- User
Assigned map[string]UserIdentities Identity Properties Response - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- Type of managed service identity.
- user
Assigned Map<String,UserIdentities Identity Properties Response> - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type string
- Type of managed service identity.
- user
Assigned {[key: string]: UserIdentities Identity Properties Response} - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_
id str - The principal ID of resource identity.
- tenant_
id str - The tenant ID of resource.
- type str
- Type of managed service identity.
- user_
assigned_ Mapping[str, Useridentities Identity Properties Response] - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- Type of managed service identity.
- user
Assigned Map<Property Map>Identities - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
RuleResolveConfigurationResponse
- Auto
Resolved bool - The flag that indicates whether or not to auto resolve a fired alert.
- Time
To stringResolve - The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format.
- Auto
Resolved bool - The flag that indicates whether or not to auto resolve a fired alert.
- Time
To stringResolve - The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format.
- auto
Resolved Boolean - The flag that indicates whether or not to auto resolve a fired alert.
- time
To StringResolve - The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format.
- auto
Resolved boolean - The flag that indicates whether or not to auto resolve a fired alert.
- time
To stringResolve - The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format.
- auto_
resolved bool - The flag that indicates whether or not to auto resolve a fired alert.
- time_
to_ strresolve - The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format.
- auto
Resolved Boolean - The flag that indicates whether or not to auto resolve a fired alert.
- time
To StringResolve - The duration a rule must evaluate as healthy before the fired alert is automatically resolved represented in ISO 8601 duration format.
ScheduledQueryRuleCriteriaResponse
- All
Of List<Pulumi.Azure Native. Insights. Inputs. Condition Response> - A list of conditions to evaluate against the specified scopes
- All
Of []ConditionResponse - A list of conditions to evaluate against the specified scopes
- all
Of List<ConditionResponse> - A list of conditions to evaluate against the specified scopes
- all
Of ConditionResponse[] - A list of conditions to evaluate against the specified scopes
- all_
of Sequence[ConditionResponse] - A list of conditions to evaluate against the specified scopes
- all
Of List<Property Map> - A list of conditions to evaluate against the specified scopes
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserIdentityPropertiesResponse
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id string - The principal id of user assigned identity.
- client_
id str - The client id of user assigned identity.
- principal_
id str - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi