Show / Hide Table of Contents

Class ActivityLogAlert

Manages an Activity Log Alert within Azure Monitor.

Inheritance
System.Object
Resource
CustomResource
ActivityLogAlert
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 ActivityLogAlert : CustomResource

Constructors

View Source

ActivityLogAlert(String, ActivityLogAlertArgs, CustomResourceOptions)

Create a ActivityLogAlert resource with the given unique name, arguments, and options.

Declaration
public ActivityLogAlert(string name, ActivityLogAlertArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ActivityLogAlertArgs 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

Actions

One or more action blocks as defined below.

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

Criteria

A criteria block as defined below.

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

Description

The description of this activity log alert.

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

Enabled

Should this Activity Log Alert be enabled? Defaults to true.

Declaration
public Output<bool?> Enabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Name

The name of the activity log alert. 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 activity log alert instance.

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

Scopes

The Scope at which the Activity Log should be applied, for example a the Resource ID of a Subscription or a Resource (such as a Storage Account).

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

Tags

A mapping of tags to assign to the resource.

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>, ActivityLogAlertState, CustomResourceOptions)

Get an existing ActivityLogAlert resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ActivityLogAlert Get(string name, Input<string> id, ActivityLogAlertState 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.

ActivityLogAlertState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ActivityLogAlert
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.