Show / Hide Table of Contents

Class ScheduledQueryRulesLog

Manages a LogToMetricAction Scheduled Query Rules resource within Azure Monitor.

Inheritance
System.Object
Resource
CustomResource
ScheduledQueryRulesLog
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public class ScheduledQueryRulesLog : CustomResource

Constructors

View Source

ScheduledQueryRulesLog(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 Source

AuthorizedResourceIds

Declaration
public Output<ImmutableArray<string>> AuthorizedResourceIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Criteria

A criteria block as defined below.

Declaration
public Output<ScheduledQueryRulesLogCriteria> Criteria { get; }
Property Value
Type Description
Output<ScheduledQueryRulesLogCriteria>
View Source

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>
View Source

Description

The description of the scheduled query rule.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

Location

Declaration
public Output<string> Location { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

Tags

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.