Show / Hide Table of Contents

Class GetActionGroup

Inheritance
System.Object
GetActionGroup
Inherited Members
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 static class GetActionGroup

Methods

View Source

InvokeAsync(GetActionGroupArgs, InvokeOptions)

Use this data source to access the properties of an Action Group.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.Monitoring.GetActionGroup.InvokeAsync(new Azure.Monitoring.GetActionGroupArgs
    {
        ResourceGroupName = "example-rg",
        Name = "tfex-actiongroup",
    }));
    this.ActionGroupId = example.Apply(example => example.Id);
}

[Output("actionGroupId")]
public Output<string> ActionGroupId { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetActionGroupResult> InvokeAsync(GetActionGroupArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetActionGroupArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetActionGroupResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.