Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi
meraki.organizations.getAlertsProfiles
Explore with Pulumi AI
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);
import pulumi
import pulumi_meraki as meraki
example = meraki.organizations.get_alerts_profiles(organization_id="string")
pulumi.export("merakiOrganizationsAlertsProfilesExample", example.items)
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
})
}
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),
};
});
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()));
}
}
variables:
example:
fn::invoke:
function: meraki:organizations:getAlertsProfiles
arguments:
organizationId: string
outputs:
merakiOrganizationsAlertsProfilesExample: ${example.items}
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>
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]
func LookupAlertsProfiles(ctx *Context, args *LookupAlertsProfilesArgs, opts ...InvokeOption) (*LookupAlertsProfilesResult, error)
func LookupAlertsProfilesOutput(ctx *Context, args *LookupAlertsProfilesOutputArgs, opts ...InvokeOption) LookupAlertsProfilesResultOutput
> 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)
}
public static CompletableFuture<GetAlertsProfilesResult> getAlertsProfiles(GetAlertsProfilesArgs args, InvokeOptions options)
public static Output<GetAlertsProfilesResult> getAlertsProfiles(GetAlertsProfilesArgs args, InvokeOptions options)
fn::invoke:
function: meraki:organizations/getAlertsProfiles:getAlertsProfiles
arguments:
# arguments dictionary
The following arguments are supported:
- Organization
Id This property is required. string - organizationId path parameter. Organization ID
- Organization
Id This property is required. string - organizationId path parameter. Organization ID
- organization
Id This property is required. String - organizationId path parameter. Organization ID
- organization
Id This property is required. string - organizationId path parameter. Organization ID
- organization_
id This property is required. str - organizationId path parameter. Organization ID
- organization
Id 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<Get
Alerts Profiles Item> - Array of ResponseOrganizationsGetOrganizationAlertsProfiles
- Organization
Id string - organizationId path parameter. Organization ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Alerts Profiles Item - Array of ResponseOrganizationsGetOrganizationAlertsProfiles
- Organization
Id string - organizationId path parameter. Organization ID
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Alerts Profiles Item> - Array of ResponseOrganizationsGetOrganizationAlertsProfiles
- organization
Id String - organizationId path parameter. Organization ID
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Alerts Profiles Item[] - Array of ResponseOrganizationsGetOrganizationAlertsProfiles
- organization
Id string - organizationId path parameter. Organization ID
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Alerts Profiles Item] - 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
- organization
Id String - organizationId path parameter. Organization ID
Supporting Types
GetAlertsProfilesItem
- Alert
Condition This property is required. GetAlerts Profiles Item Alert Condition - 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
This property is required. List<string>- Networks with these tags will be monitored for the alert
- Recipients
This property is required. GetAlerts Profiles Item Recipients - List of recipients that will recieve the alert.
- Type
This property is required. string - The alert type
- Alert
Condition This property is required. GetAlerts Profiles Item Alert Condition - 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
This property is required. []string- Networks with these tags will be monitored for the alert
- Recipients
This property is required. GetAlerts Profiles Item Recipients - List of recipients that will recieve the alert.
- Type
This property is required. string - The alert type
- alert
Condition This property is required. GetAlerts Profiles Item Alert Condition - 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
This property is required. List<String>- Networks with these tags will be monitored for the alert
- recipients
This property is required. GetAlerts Profiles Item Recipients - List of recipients that will recieve the alert.
- type
This property is required. String - The alert type
- alert
Condition This property is required. GetAlerts Profiles Item Alert Condition - 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
This property is required. string[]- Networks with these tags will be monitored for the alert
- recipients
This property is required. GetAlerts Profiles Item Recipients - List of recipients that will recieve the alert.
- type
This property is required. string - The alert type
- alert_
condition This property is required. GetAlerts Profiles Item Alert Condition - 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
This property is required. Sequence[str]- Networks with these tags will be monitored for the alert
- recipients
This property is required. GetAlerts Profiles Item Recipients - List of recipients that will recieve the alert.
- type
This property is required. str - The alert type
- alert
Condition 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
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
- 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. string - The uplink observed for the alert
- Window
This property is required. int - 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. string - The uplink observed for the alert
- Window
This property is required. int - The look back period in seconds for sensing the alert
- bit
Rate Bps 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
- bit
Rate Bps 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
- bit
Rate Bps 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
- Http
Server Ids 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
- Http
Server Ids 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
- http
Server Ids 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
- http
Server Ids 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
- http
Server Ids 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.