Juniper Mist v0.2.1 published on Friday, Jan 24, 2025 by Pulumi
junipermist.org.getAlarmtemplates
Explore with Pulumi AI
This data source provides the list of Alarm Templates.
An Alarm Template is a set of Alarm Rules that could be applied to one or more sites (while each site can only pick one Alarm Template), or to the whole org.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/junipermist";
const alarmtemplates = junipermist.org.getAlarmtemplates({
orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
import pulumi
import pulumi_junipermist as junipermist
alarmtemplates = junipermist.org.get_alarmtemplates(org_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
package main
import (
"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := org.GetAlarmtemplates(ctx, &org.GetAlarmtemplatesArgs{
OrgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;
return await Deployment.RunAsync(() =>
{
var alarmtemplates = JuniperMist.Org.GetAlarmtemplates.Invoke(new()
{
OrgId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.OrgFunctions;
import com.pulumi.junipermist.org.inputs.GetAlarmtemplatesArgs;
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 alarmtemplates = OrgFunctions.getAlarmtemplates(GetAlarmtemplatesArgs.builder()
.orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
.build());
}
}
variables:
alarmtemplates:
fn::invoke:
function: junipermist:org:getAlarmtemplates
arguments:
orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
Using getAlarmtemplates
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 getAlarmtemplates(args: GetAlarmtemplatesArgs, opts?: InvokeOptions): Promise<GetAlarmtemplatesResult>
function getAlarmtemplatesOutput(args: GetAlarmtemplatesOutputArgs, opts?: InvokeOptions): Output<GetAlarmtemplatesResult>
def get_alarmtemplates(org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlarmtemplatesResult
def get_alarmtemplates_output(org_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlarmtemplatesResult]
func GetAlarmtemplates(ctx *Context, args *GetAlarmtemplatesArgs, opts ...InvokeOption) (*GetAlarmtemplatesResult, error)
func GetAlarmtemplatesOutput(ctx *Context, args *GetAlarmtemplatesOutputArgs, opts ...InvokeOption) GetAlarmtemplatesResultOutput
> Note: This function is named GetAlarmtemplates
in the Go SDK.
public static class GetAlarmtemplates
{
public static Task<GetAlarmtemplatesResult> InvokeAsync(GetAlarmtemplatesArgs args, InvokeOptions? opts = null)
public static Output<GetAlarmtemplatesResult> Invoke(GetAlarmtemplatesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlarmtemplatesResult> getAlarmtemplates(GetAlarmtemplatesArgs args, InvokeOptions options)
public static Output<GetAlarmtemplatesResult> getAlarmtemplates(GetAlarmtemplatesArgs args, InvokeOptions options)
fn::invoke:
function: junipermist:org/getAlarmtemplates:getAlarmtemplates
arguments:
# arguments dictionary
The following arguments are supported:
- Org
Id string
- Org
Id string
- org
Id String
- org
Id string
- org_
id str
- org
Id String
getAlarmtemplates Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Alarmtemplates List<Pulumi.Juniper Mist. Org. Outputs. Get Alarmtemplates Org Alarmtemplate> - Org
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Alarmtemplates []GetAlarmtemplates Org Alarmtemplate - Org
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- org
Alarmtemplates List<GetAlarmtemplates Org Alarmtemplate> - org
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- org
Alarmtemplates GetAlarmtemplates Org Alarmtemplate[] - org
Id string
- id str
- The provider-assigned unique ID for this managed resource.
- org_
alarmtemplates Sequence[GetAlarmtemplates Org Alarmtemplate] - org_
id str
- id String
- The provider-assigned unique ID for this managed resource.
- org
Alarmtemplates List<Property Map> - org
Id String
Supporting Types
GetAlarmtemplatesOrgAlarmtemplate
- Created
Time double - when the object has been created, in epoch
- Delivery
Pulumi.
Juniper Mist. Org. Inputs. Get Alarmtemplates Org Alarmtemplate Delivery - Delivery object to configure the alarm delivery
- Id string
- Unique ID of the object instance in the Mist Organnization
- Modified
Time double - when the object has been modified for the last time, in epoch
- Name string
- Some string to name the alarm template
- Org
Id string - Rules
Dictionary<string, Pulumi.
Juniper Mist. Org. Inputs. Get Alarmtemplates Org Alarmtemplate Rules> - Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name.
- Created
Time float64 - when the object has been created, in epoch
- Delivery
Get
Alarmtemplates Org Alarmtemplate Delivery - Delivery object to configure the alarm delivery
- Id string
- Unique ID of the object instance in the Mist Organnization
- Modified
Time float64 - when the object has been modified for the last time, in epoch
- Name string
- Some string to name the alarm template
- Org
Id string - Rules
map[string]Get
Alarmtemplates Org Alarmtemplate Rules - Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name.
- created
Time Double - when the object has been created, in epoch
- delivery
Get
Alarmtemplates Org Alarmtemplate Delivery - Delivery object to configure the alarm delivery
- id String
- Unique ID of the object instance in the Mist Organnization
- modified
Time Double - when the object has been modified for the last time, in epoch
- name String
- Some string to name the alarm template
- org
Id String - rules
Map<String,Get
Alarmtemplates Org Alarmtemplate Rules> - Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name.
- created
Time number - when the object has been created, in epoch
- delivery
Get
Alarmtemplates Org Alarmtemplate Delivery - Delivery object to configure the alarm delivery
- id string
- Unique ID of the object instance in the Mist Organnization
- modified
Time number - when the object has been modified for the last time, in epoch
- name string
- Some string to name the alarm template
- org
Id string - rules
{[key: string]: Get
Alarmtemplates Org Alarmtemplate Rules} - Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name.
- created_
time float - when the object has been created, in epoch
- delivery
Get
Alarmtemplates Org Alarmtemplate Delivery - Delivery object to configure the alarm delivery
- id str
- Unique ID of the object instance in the Mist Organnization
- modified_
time float - when the object has been modified for the last time, in epoch
- name str
- Some string to name the alarm template
- org_
id str - rules
Mapping[str, Get
Alarmtemplates Org Alarmtemplate Rules] - Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name.
- created
Time Number - when the object has been created, in epoch
- delivery Property Map
- Delivery object to configure the alarm delivery
- id String
- Unique ID of the object instance in the Mist Organnization
- modified
Time Number - when the object has been modified for the last time, in epoch
- name String
- Some string to name the alarm template
- org
Id String - rules Map<Property Map>
- Alarm Rules object to configure the individual alarm keys/types. Property key is the alarm name.
GetAlarmtemplatesOrgAlarmtemplateDelivery
- Additional
Emails List<string> - List of additional email string to deliver the alarms via emails
- Enabled bool
- Whether to enable the alarm delivery via emails or not
- To
Org boolAdmins - Whether to deliver the alarms via emails to Org admins or not
- To
Site boolAdmins - Whether to deliver the alarms via emails to Site admins or not
- Additional
Emails []string - List of additional email string to deliver the alarms via emails
- Enabled bool
- Whether to enable the alarm delivery via emails or not
- To
Org boolAdmins - Whether to deliver the alarms via emails to Org admins or not
- To
Site boolAdmins - Whether to deliver the alarms via emails to Site admins or not
- additional
Emails List<String> - List of additional email string to deliver the alarms via emails
- enabled Boolean
- Whether to enable the alarm delivery via emails or not
- to
Org BooleanAdmins - Whether to deliver the alarms via emails to Org admins or not
- to
Site BooleanAdmins - Whether to deliver the alarms via emails to Site admins or not
- additional
Emails string[] - List of additional email string to deliver the alarms via emails
- enabled boolean
- Whether to enable the alarm delivery via emails or not
- to
Org booleanAdmins - Whether to deliver the alarms via emails to Org admins or not
- to
Site booleanAdmins - Whether to deliver the alarms via emails to Site admins or not
- additional_
emails Sequence[str] - List of additional email string to deliver the alarms via emails
- enabled bool
- Whether to enable the alarm delivery via emails or not
- to_
org_ booladmins - Whether to deliver the alarms via emails to Org admins or not
- to_
site_ booladmins - Whether to deliver the alarms via emails to Site admins or not
- additional
Emails List<String> - List of additional email string to deliver the alarms via emails
- enabled Boolean
- Whether to enable the alarm delivery via emails or not
- to
Org BooleanAdmins - Whether to deliver the alarms via emails to Org admins or not
- to
Site BooleanAdmins - Whether to deliver the alarms via emails to Site admins or not
GetAlarmtemplatesOrgAlarmtemplateRules
- Delivery
Pulumi.
Juniper Mist. Org. Inputs. Get Alarmtemplates Org Alarmtemplate Rules Delivery - Delivery object to configure the alarm delivery
- Enabled bool
- Delivery
Get
Alarmtemplates Org Alarmtemplate Rules Delivery - Delivery object to configure the alarm delivery
- Enabled bool
- delivery
Get
Alarmtemplates Org Alarmtemplate Rules Delivery - Delivery object to configure the alarm delivery
- enabled Boolean
- delivery
Get
Alarmtemplates Org Alarmtemplate Rules Delivery - Delivery object to configure the alarm delivery
- enabled boolean
- delivery
Get
Alarmtemplates Org Alarmtemplate Rules Delivery - Delivery object to configure the alarm delivery
- enabled bool
- delivery Property Map
- Delivery object to configure the alarm delivery
- enabled Boolean
GetAlarmtemplatesOrgAlarmtemplateRulesDelivery
- Additional
Emails List<string> - List of additional email string to deliver the alarms via emails
- Enabled bool
- Whether to enable the alarm delivery via emails or not
- To
Org boolAdmins - Whether to deliver the alarms via emails to Org admins or not
- To
Site boolAdmins - Whether to deliver the alarms via emails to Site admins or not
- Additional
Emails []string - List of additional email string to deliver the alarms via emails
- Enabled bool
- Whether to enable the alarm delivery via emails or not
- To
Org boolAdmins - Whether to deliver the alarms via emails to Org admins or not
- To
Site boolAdmins - Whether to deliver the alarms via emails to Site admins or not
- additional
Emails List<String> - List of additional email string to deliver the alarms via emails
- enabled Boolean
- Whether to enable the alarm delivery via emails or not
- to
Org BooleanAdmins - Whether to deliver the alarms via emails to Org admins or not
- to
Site BooleanAdmins - Whether to deliver the alarms via emails to Site admins or not
- additional
Emails string[] - List of additional email string to deliver the alarms via emails
- enabled boolean
- Whether to enable the alarm delivery via emails or not
- to
Org booleanAdmins - Whether to deliver the alarms via emails to Org admins or not
- to
Site booleanAdmins - Whether to deliver the alarms via emails to Site admins or not
- additional_
emails Sequence[str] - List of additional email string to deliver the alarms via emails
- enabled bool
- Whether to enable the alarm delivery via emails or not
- to_
org_ booladmins - Whether to deliver the alarms via emails to Org admins or not
- to_
site_ booladmins - Whether to deliver the alarms via emails to Site admins or not
- additional
Emails List<String> - List of additional email string to deliver the alarms via emails
- enabled Boolean
- Whether to enable the alarm delivery via emails or not
- to
Org BooleanAdmins - Whether to deliver the alarms via emails to Org admins or not
- to
Site BooleanAdmins - Whether to deliver the alarms via emails to Site admins or not
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.