1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. organizations
  5. getAlertsProfiles
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.organizations.getAlertsProfiles

Explore with Pulumi AI

Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";

const example = meraki.organizations.getAlertsProfiles({
    organizationId: "string",
});
export const merakiOrganizationsAlertsProfilesExample = example.then(example => example.items);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.organizations.get_alerts_profiles(organization_id="string")
pulumi.export("merakiOrganizationsAlertsProfilesExample", example.items)
Copy
package main

import (
	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := organizations.LookupAlertsProfiles(ctx, &organizations.LookupAlertsProfilesArgs{
			OrganizationId: "string",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiOrganizationsAlertsProfilesExample", example.Items)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = Meraki.Organizations.GetAlertsProfiles.Invoke(new()
    {
        OrganizationId = "string",
    });

    return new Dictionary<string, object?>
    {
        ["merakiOrganizationsAlertsProfilesExample"] = example.Apply(getAlertsProfilesResult => getAlertsProfilesResult.Items),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.organizations.OrganizationsFunctions;
import com.pulumi.meraki.organizations.inputs.GetAlertsProfilesArgs;
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 example = OrganizationsFunctions.getAlertsProfiles(GetAlertsProfilesArgs.builder()
            .organizationId("string")
            .build());

        ctx.export("merakiOrganizationsAlertsProfilesExample", example.applyValue(getAlertsProfilesResult -> getAlertsProfilesResult.items()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:organizations:getAlertsProfiles
      arguments:
        organizationId: string
outputs:
  merakiOrganizationsAlertsProfilesExample: ${example.items}
Copy

Using getAlertsProfiles

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 getAlertsProfiles(args: GetAlertsProfilesArgs, opts?: InvokeOptions): Promise<GetAlertsProfilesResult>
function getAlertsProfilesOutput(args: GetAlertsProfilesOutputArgs, opts?: InvokeOptions): Output<GetAlertsProfilesResult>
Copy
def get_alerts_profiles(organization_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetAlertsProfilesResult
def get_alerts_profiles_output(organization_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAlertsProfilesResult]
Copy
func LookupAlertsProfiles(ctx *Context, args *LookupAlertsProfilesArgs, opts ...InvokeOption) (*LookupAlertsProfilesResult, error)
func LookupAlertsProfilesOutput(ctx *Context, args *LookupAlertsProfilesOutputArgs, opts ...InvokeOption) LookupAlertsProfilesResultOutput
Copy

> Note: This function is named LookupAlertsProfiles in the Go SDK.

public static class GetAlertsProfiles 
{
    public static Task<GetAlertsProfilesResult> InvokeAsync(GetAlertsProfilesArgs args, InvokeOptions? opts = null)
    public static Output<GetAlertsProfilesResult> Invoke(GetAlertsProfilesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAlertsProfilesResult> getAlertsProfiles(GetAlertsProfilesArgs args, InvokeOptions options)
public static Output<GetAlertsProfilesResult> getAlertsProfiles(GetAlertsProfilesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:organizations/getAlertsProfiles:getAlertsProfiles
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OrganizationId This property is required. string
organizationId path parameter. Organization ID
OrganizationId This property is required. string
organizationId path parameter. Organization ID
organizationId This property is required. String
organizationId path parameter. Organization ID
organizationId This property is required. string
organizationId path parameter. Organization ID
organization_id This property is required. str
organizationId path parameter. Organization ID
organizationId This property is required. String
organizationId path parameter. Organization ID

getAlertsProfiles Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Items List<GetAlertsProfilesItem>
Array of ResponseOrganizationsGetOrganizationAlertsProfiles
OrganizationId string
organizationId path parameter. Organization ID
Id string
The provider-assigned unique ID for this managed resource.
Items []GetAlertsProfilesItem
Array of ResponseOrganizationsGetOrganizationAlertsProfiles
OrganizationId string
organizationId path parameter. Organization ID
id String
The provider-assigned unique ID for this managed resource.
items List<GetAlertsProfilesItem>
Array of ResponseOrganizationsGetOrganizationAlertsProfiles
organizationId String
organizationId path parameter. Organization ID
id string
The provider-assigned unique ID for this managed resource.
items GetAlertsProfilesItem[]
Array of ResponseOrganizationsGetOrganizationAlertsProfiles
organizationId string
organizationId path parameter. Organization ID
id str
The provider-assigned unique ID for this managed resource.
items Sequence[GetAlertsProfilesItem]
Array of ResponseOrganizationsGetOrganizationAlertsProfiles
organization_id str
organizationId path parameter. Organization ID
id String
The provider-assigned unique ID for this managed resource.
items List<Property Map>
Array of ResponseOrganizationsGetOrganizationAlertsProfiles
organizationId String
organizationId path parameter. Organization ID

Supporting Types

GetAlertsProfilesItem

AlertCondition This property is required. GetAlertsProfilesItemAlertCondition
The conditions that determine if the alert triggers
Description This property is required. string
User supplied description of the alert
Enabled This property is required. bool
Is the alert config enabled
Id This property is required. string
The alert config ID
NetworkTags This property is required. List<string>
Networks with these tags will be monitored for the alert
Recipients This property is required. GetAlertsProfilesItemRecipients
List of recipients that will recieve the alert.
Type This property is required. string
The alert type
AlertCondition This property is required. GetAlertsProfilesItemAlertCondition
The conditions that determine if the alert triggers
Description This property is required. string
User supplied description of the alert
Enabled This property is required. bool
Is the alert config enabled
Id This property is required. string
The alert config ID
NetworkTags This property is required. []string
Networks with these tags will be monitored for the alert
Recipients This property is required. GetAlertsProfilesItemRecipients
List of recipients that will recieve the alert.
Type This property is required. string
The alert type
alertCondition This property is required. GetAlertsProfilesItemAlertCondition
The conditions that determine if the alert triggers
description This property is required. String
User supplied description of the alert
enabled This property is required. Boolean
Is the alert config enabled
id This property is required. String
The alert config ID
networkTags This property is required. List<String>
Networks with these tags will be monitored for the alert
recipients This property is required. GetAlertsProfilesItemRecipients
List of recipients that will recieve the alert.
type This property is required. String
The alert type
alertCondition This property is required. GetAlertsProfilesItemAlertCondition
The conditions that determine if the alert triggers
description This property is required. string
User supplied description of the alert
enabled This property is required. boolean
Is the alert config enabled
id This property is required. string
The alert config ID
networkTags This property is required. string[]
Networks with these tags will be monitored for the alert
recipients This property is required. GetAlertsProfilesItemRecipients
List of recipients that will recieve the alert.
type This property is required. string
The alert type
alert_condition This property is required. GetAlertsProfilesItemAlertCondition
The conditions that determine if the alert triggers
description This property is required. str
User supplied description of the alert
enabled This property is required. bool
Is the alert config enabled
id This property is required. str
The alert config ID
network_tags This property is required. Sequence[str]
Networks with these tags will be monitored for the alert
recipients This property is required. GetAlertsProfilesItemRecipients
List of recipients that will recieve the alert.
type This property is required. str
The alert type
alertCondition This property is required. Property Map
The conditions that determine if the alert triggers
description This property is required. String
User supplied description of the alert
enabled This property is required. Boolean
Is the alert config enabled
id This property is required. String
The alert config ID
networkTags This property is required. List<String>
Networks with these tags will be monitored for the alert
recipients This property is required. Property Map
List of recipients that will recieve the alert.
type This property is required. String
The alert type

GetAlertsProfilesItemAlertCondition

BitRateBps This property is required. int
The threshold the metric must cross to be valid for alerting. Used only for WAN Utilization alerts.
Duration This property is required. int
The total duration in seconds that the threshold should be crossed before alerting
Interface This property is required. string
The uplink observed for the alert
Window This property is required. int
The look back period in seconds for sensing the alert
BitRateBps This property is required. int
The threshold the metric must cross to be valid for alerting. Used only for WAN Utilization alerts.
Duration This property is required. int
The total duration in seconds that the threshold should be crossed before alerting
Interface This property is required. string
The uplink observed for the alert
Window This property is required. int
The look back period in seconds for sensing the alert
bitRateBps This property is required. Integer
The threshold the metric must cross to be valid for alerting. Used only for WAN Utilization alerts.
duration This property is required. Integer
The total duration in seconds that the threshold should be crossed before alerting
interface_ This property is required. String
The uplink observed for the alert
window This property is required. Integer
The look back period in seconds for sensing the alert
bitRateBps This property is required. number
The threshold the metric must cross to be valid for alerting. Used only for WAN Utilization alerts.
duration This property is required. number
The total duration in seconds that the threshold should be crossed before alerting
interface This property is required. string
The uplink observed for the alert
window This property is required. number
The look back period in seconds for sensing the alert
bit_rate_bps This property is required. int
The threshold the metric must cross to be valid for alerting. Used only for WAN Utilization alerts.
duration This property is required. int
The total duration in seconds that the threshold should be crossed before alerting
interface This property is required. str
The uplink observed for the alert
window This property is required. int
The look back period in seconds for sensing the alert
bitRateBps This property is required. Number
The threshold the metric must cross to be valid for alerting. Used only for WAN Utilization alerts.
duration This property is required. Number
The total duration in seconds that the threshold should be crossed before alerting
interface This property is required. String
The uplink observed for the alert
window This property is required. Number
The look back period in seconds for sensing the alert

GetAlertsProfilesItemRecipients

Emails This property is required. List<string>
A list of emails that will receive information about the alert
HttpServerIds This property is required. List<string>
A list base64 encoded urls of webhook endpoints that will receive information about the alert
Emails This property is required. []string
A list of emails that will receive information about the alert
HttpServerIds This property is required. []string
A list base64 encoded urls of webhook endpoints that will receive information about the alert
emails This property is required. List<String>
A list of emails that will receive information about the alert
httpServerIds This property is required. List<String>
A list base64 encoded urls of webhook endpoints that will receive information about the alert
emails This property is required. string[]
A list of emails that will receive information about the alert
httpServerIds This property is required. string[]
A list base64 encoded urls of webhook endpoints that will receive information about the alert
emails This property is required. Sequence[str]
A list of emails that will receive information about the alert
http_server_ids This property is required. Sequence[str]
A list base64 encoded urls of webhook endpoints that will receive information about the alert
emails This property is required. List<String>
A list of emails that will receive information about the alert
httpServerIds This property is required. List<String>
A list base64 encoded urls of webhook endpoints that will receive information about the alert

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi