Class ScheduledQueryRulesLog
Manages a LogToMetricAction Scheduled Query Rules resource within Azure Monitor.
Inherited Members
Namespace: Pulumi.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public class ScheduledQueryRulesLog : CustomResource
Constructors
View SourceScheduledQueryRulesLog(String, ScheduledQueryRulesLogArgs, CustomResourceOptions)
Create a ScheduledQueryRulesLog resource with the given unique name, arguments, and options.
Declaration
public ScheduledQueryRulesLog(string name, ScheduledQueryRulesLogArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ScheduledQueryRulesLogArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAuthorizedResourceIds
Declaration
public Output<ImmutableArray<string>> AuthorizedResourceIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Criteria
A criteria block as defined below.
Declaration
public Output<ScheduledQueryRulesLogCriteria> Criteria { get; }
Property Value
| Type | Description |
|---|---|
| Output<ScheduledQueryRulesLogCriteria> |
DataSourceId
The resource uri over which log search query is to be run.
Declaration
public Output<string> DataSourceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
The description of the scheduled query rule.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Enabled
Whether this scheduled query rule is enabled. Default is true.
Declaration
public Output<bool?> Enabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Location
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the scheduled query rule. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the scheduled query rule instance.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(String, Input<String>, ScheduledQueryRulesLogState, CustomResourceOptions)
Get an existing ScheduledQueryRulesLog resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ScheduledQueryRulesLog Get(string name, Input<string> id, ScheduledQueryRulesLogState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ScheduledQueryRulesLogState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ScheduledQueryRulesLog |