This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getActionGroup.go
60 lines (55 loc) · 2.66 KB
/
getActionGroup.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20180301
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupActionGroup(ctx *pulumi.Context, args *LookupActionGroupArgs, opts ...pulumi.InvokeOption) (*LookupActionGroupResult, error) {
var rv LookupActionGroupResult
err := ctx.Invoke("azure-nextgen:insights/v20180301:getActionGroup", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupActionGroupArgs struct {
// The name of the action group.
ActionGroupName string `pulumi:"actionGroupName"`
// The name of the resource group.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// An action group resource.
type LookupActionGroupResult struct {
// The list of AutomationRunbook receivers that are part of this action group.
AutomationRunbookReceivers []AutomationRunbookReceiverResponse `pulumi:"automationRunbookReceivers"`
// The list of AzureAppPush receivers that are part of this action group.
AzureAppPushReceivers []AzureAppPushReceiverResponse `pulumi:"azureAppPushReceivers"`
// The list of azure function receivers that are part of this action group.
AzureFunctionReceivers []AzureFunctionReceiverResponse `pulumi:"azureFunctionReceivers"`
// The list of email receivers that are part of this action group.
EmailReceivers []EmailReceiverResponse `pulumi:"emailReceivers"`
// Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications.
Enabled bool `pulumi:"enabled"`
// The short name of the action group. This will be used in SMS messages.
GroupShortName string `pulumi:"groupShortName"`
// Azure resource Id
Id string `pulumi:"id"`
// The list of ITSM receivers that are part of this action group.
ItsmReceivers []ItsmReceiverResponse `pulumi:"itsmReceivers"`
// Resource location
Location string `pulumi:"location"`
// The list of logic app receivers that are part of this action group.
LogicAppReceivers []LogicAppReceiverResponse `pulumi:"logicAppReceivers"`
// Azure resource name
Name string `pulumi:"name"`
// The list of SMS receivers that are part of this action group.
SmsReceivers []SmsReceiverResponse `pulumi:"smsReceivers"`
// Resource tags
Tags map[string]string `pulumi:"tags"`
// Azure resource type
Type string `pulumi:"type"`
// The list of voice receivers that are part of this action group.
VoiceReceivers []VoiceReceiverResponse `pulumi:"voiceReceivers"`
// The list of webhook receivers that are part of this action group.
WebhookReceivers []WebhookReceiverResponse `pulumi:"webhookReceivers"`
}