avi 31.1.1 published on Monday, Apr 14, 2025 by vmware
avi.getActiongroupconfig
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “AVI: avi.Actiongroupconfig” sidebar_current: “docs-avi-datasource-actiongroupconfig” description: |- Get information of Avi ActionGroupConfig.
avi.Actiongroupconfig
This data source is used to to get avi.Actiongroupconfig objects.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const fooActiongroupconfig = avi.getActiongroupconfig({
name: "foo",
uuid: "actiongroupconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
import pulumi
import pulumi_avi as avi
foo_actiongroupconfig = avi.get_actiongroupconfig(name="foo",
uuid="actiongroupconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := avi.LookupActiongroupconfig(ctx, &avi.LookupActiongroupconfigArgs{
Name: pulumi.StringRef("foo"),
Uuid: pulumi.StringRef("actiongroupconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;
return await Deployment.RunAsync(() =>
{
var fooActiongroupconfig = Avi.GetActiongroupconfig.Invoke(new()
{
Name = "foo",
Uuid = "actiongroupconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.AviFunctions;
import com.pulumi.avi.inputs.GetActiongroupconfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var fooActiongroupconfig = AviFunctions.getActiongroupconfig(GetActiongroupconfigArgs.builder()
.name("foo")
.uuid("actiongroupconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
.build());
}
}
variables:
fooActiongroupconfig:
fn::invoke:
function: avi:getActiongroupconfig
arguments:
name: foo
uuid: actiongroupconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Using getActiongroupconfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getActiongroupconfig(args: GetActiongroupconfigArgs, opts?: InvokeOptions): Promise<GetActiongroupconfigResult>
function getActiongroupconfigOutput(args: GetActiongroupconfigOutputArgs, opts?: InvokeOptions): Output<GetActiongroupconfigResult>
def get_actiongroupconfig(id: Optional[str] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetActiongroupconfigResult
def get_actiongroupconfig_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tenant_ref: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetActiongroupconfigResult]
func LookupActiongroupconfig(ctx *Context, args *LookupActiongroupconfigArgs, opts ...InvokeOption) (*LookupActiongroupconfigResult, error)
func LookupActiongroupconfigOutput(ctx *Context, args *LookupActiongroupconfigOutputArgs, opts ...InvokeOption) LookupActiongroupconfigResultOutput
> Note: This function is named LookupActiongroupconfig
in the Go SDK.
public static class GetActiongroupconfig
{
public static Task<GetActiongroupconfigResult> InvokeAsync(GetActiongroupconfigArgs args, InvokeOptions? opts = null)
public static Output<GetActiongroupconfigResult> Invoke(GetActiongroupconfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetActiongroupconfigResult> getActiongroupconfig(GetActiongroupconfigArgs args, InvokeOptions options)
public static Output<GetActiongroupconfigResult> getActiongroupconfig(GetActiongroupconfigArgs args, InvokeOptions options)
fn::invoke:
function: avi:index/getActiongroupconfig:getActiongroupconfig
arguments:
# arguments dictionary
The following arguments are supported:
- id str
- name str
- Search ActionGroupConfig by name.
- tenant_
ref str - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Search ActionGroupConfig by uuid.
getActiongroupconfig Result
The following output properties are available:
- Action
Script stringConfig Ref - Reference of the action script configuration to be used. It is a reference to an object of type alertscriptconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Autoscale
Trigger stringNotification - Trigger notification to autoscale manager. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- Configpb
Attributes List<GetActiongroupconfig Configpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Description string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Email
Config stringRef - Select the email notification configuration to use when sending alerts via email. It is a reference to an object of type alertemailconfig. Allowed with any value in enterprise, enterprise with cloud services edition.
- External
Only string - Generate alert only to external destinations. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- Id string
- Level string
- When an alert is generated, mark its priority via the alert level. Enum options - ALERT_LOW, ALERT_MEDIUM, ALERT_HIGH. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Snmp
Trap stringProfile Ref - Select the snmp trap notification to use when sending alerts via snmp trap. It is a reference to an object of type snmptrapprofile. Allowed with any value in enterprise, enterprise with cloud services edition.
- Syslog
Config stringRef - Select the syslog notification configuration to use when sending alerts via syslog. It is a reference to an object of type alertsyslogconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Action
Script stringConfig Ref - Reference of the action script configuration to be used. It is a reference to an object of type alertscriptconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Autoscale
Trigger stringNotification - Trigger notification to autoscale manager. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- Configpb
Attributes []GetActiongroupconfig Configpb Attribute - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Description string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Email
Config stringRef - Select the email notification configuration to use when sending alerts via email. It is a reference to an object of type alertemailconfig. Allowed with any value in enterprise, enterprise with cloud services edition.
- External
Only string - Generate alert only to external destinations. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- Id string
- Level string
- When an alert is generated, mark its priority via the alert level. Enum options - ALERT_LOW, ALERT_MEDIUM, ALERT_HIGH. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Snmp
Trap stringProfile Ref - Select the snmp trap notification to use when sending alerts via snmp trap. It is a reference to an object of type snmptrapprofile. Allowed with any value in enterprise, enterprise with cloud services edition.
- Syslog
Config stringRef - Select the syslog notification configuration to use when sending alerts via syslog. It is a reference to an object of type alertsyslogconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- action
Script StringConfig Ref - Reference of the action script configuration to be used. It is a reference to an object of type alertscriptconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- autoscale
Trigger StringNotification - Trigger notification to autoscale manager. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- configpb
Attributes List<GetActiongroupconfig Configpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email
Config StringRef - Select the email notification configuration to use when sending alerts via email. It is a reference to an object of type alertemailconfig. Allowed with any value in enterprise, enterprise with cloud services edition.
- external
Only String - Generate alert only to external destinations. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- id String
- level String
- When an alert is generated, mark its priority via the alert level. Enum options - ALERT_LOW, ALERT_MEDIUM, ALERT_HIGH. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- snmp
Trap StringProfile Ref - Select the snmp trap notification to use when sending alerts via snmp trap. It is a reference to an object of type snmptrapprofile. Allowed with any value in enterprise, enterprise with cloud services edition.
- syslog
Config StringRef - Select the syslog notification configuration to use when sending alerts via syslog. It is a reference to an object of type alertsyslogconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- action
Script stringConfig Ref - Reference of the action script configuration to be used. It is a reference to an object of type alertscriptconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- autoscale
Trigger stringNotification - Trigger notification to autoscale manager. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- configpb
Attributes GetActiongroupconfig Configpb Attribute[] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email
Config stringRef - Select the email notification configuration to use when sending alerts via email. It is a reference to an object of type alertemailconfig. Allowed with any value in enterprise, enterprise with cloud services edition.
- external
Only string - Generate alert only to external destinations. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- id string
- level string
- When an alert is generated, mark its priority via the alert level. Enum options - ALERT_LOW, ALERT_MEDIUM, ALERT_HIGH. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- snmp
Trap stringProfile Ref - Select the snmp trap notification to use when sending alerts via snmp trap. It is a reference to an object of type snmptrapprofile. Allowed with any value in enterprise, enterprise with cloud services edition.
- syslog
Config stringRef - Select the syslog notification configuration to use when sending alerts via syslog. It is a reference to an object of type alertsyslogconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref string - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- action_
script_ strconfig_ ref - Reference of the action script configuration to be used. It is a reference to an object of type alertscriptconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- autoscale_
trigger_ strnotification - Trigger notification to autoscale manager. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- configpb_
attributes Sequence[GetActiongroupconfig Configpb Attribute] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email_
config_ strref - Select the email notification configuration to use when sending alerts via email. It is a reference to an object of type alertemailconfig. Allowed with any value in enterprise, enterprise with cloud services edition.
- external_
only str - Generate alert only to external destinations. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- id str
- level str
- When an alert is generated, mark its priority via the alert level. Enum options - ALERT_LOW, ALERT_MEDIUM, ALERT_HIGH. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- snmp_
trap_ strprofile_ ref - Select the snmp trap notification to use when sending alerts via snmp trap. It is a reference to an object of type snmptrapprofile. Allowed with any value in enterprise, enterprise with cloud services edition.
- syslog_
config_ strref - Select the syslog notification configuration to use when sending alerts via syslog. It is a reference to an object of type alertsyslogconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant_
ref str - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- action
Script StringConfig Ref - Reference of the action script configuration to be used. It is a reference to an object of type alertscriptconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- autoscale
Trigger StringNotification - Trigger notification to autoscale manager. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- configpb
Attributes List<Property Map> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- email
Config StringRef - Select the email notification configuration to use when sending alerts via email. It is a reference to an object of type alertemailconfig. Allowed with any value in enterprise, enterprise with cloud services edition.
- external
Only String - Generate alert only to external destinations. Allowed with any value in enterprise, enterprise with cloud services edition. Allowed in essentials (allowed values- false), basic (allowed values- false) edition.
- id String
- level String
- When an alert is generated, mark its priority via the alert level. Enum options - ALERT_LOW, ALERT_MEDIUM, ALERT_HIGH. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- snmp
Trap StringProfile Ref - Select the snmp trap notification to use when sending alerts via snmp trap. It is a reference to an object of type snmptrapprofile. Allowed with any value in enterprise, enterprise with cloud services edition.
- syslog
Config StringRef - Select the syslog notification configuration to use when sending alerts via syslog. It is a reference to an object of type alertsyslogconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Supporting Types
GetActiongroupconfigConfigpbAttribute
- Version string
- Version string
- version String
- version string
- version str
- version String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.