1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getSensorAlertsCurrentOverviewByMetric
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getSensorAlertsCurrentOverviewByMetric

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.networks.getSensorAlertsCurrentOverviewByMetric({
        networkId: "string",
    });
    export const merakiNetworksSensorAlertsCurrentOverviewByMetricExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_sensor_alerts_current_overview_by_metric(network_id="string")
    pulumi.export("merakiNetworksSensorAlertsCurrentOverviewByMetricExample", example.item)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := networks.GetSensorAlertsCurrentOverviewByMetric(ctx, &networks.GetSensorAlertsCurrentOverviewByMetricArgs{
    			NetworkId: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksSensorAlertsCurrentOverviewByMetricExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Networks.GetSensorAlertsCurrentOverviewByMetric.Invoke(new()
        {
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksSensorAlertsCurrentOverviewByMetricExample"] = example.Apply(getSensorAlertsCurrentOverviewByMetricResult => getSensorAlertsCurrentOverviewByMetricResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.NetworksFunctions;
    import com.pulumi.meraki.networks.inputs.GetSensorAlertsCurrentOverviewByMetricArgs;
    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 = NetworksFunctions.getSensorAlertsCurrentOverviewByMetric(GetSensorAlertsCurrentOverviewByMetricArgs.builder()
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksSensorAlertsCurrentOverviewByMetricExample", example.applyValue(getSensorAlertsCurrentOverviewByMetricResult -> getSensorAlertsCurrentOverviewByMetricResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getSensorAlertsCurrentOverviewByMetric
          Arguments:
            networkId: string
    outputs:
      merakiNetworksSensorAlertsCurrentOverviewByMetricExample: ${example.item}
    

    Using getSensorAlertsCurrentOverviewByMetric

    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 getSensorAlertsCurrentOverviewByMetric(args: GetSensorAlertsCurrentOverviewByMetricArgs, opts?: InvokeOptions): Promise<GetSensorAlertsCurrentOverviewByMetricResult>
    function getSensorAlertsCurrentOverviewByMetricOutput(args: GetSensorAlertsCurrentOverviewByMetricOutputArgs, opts?: InvokeOptions): Output<GetSensorAlertsCurrentOverviewByMetricResult>
    def get_sensor_alerts_current_overview_by_metric(network_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetSensorAlertsCurrentOverviewByMetricResult
    def get_sensor_alerts_current_overview_by_metric_output(network_id: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetSensorAlertsCurrentOverviewByMetricResult]
    func GetSensorAlertsCurrentOverviewByMetric(ctx *Context, args *GetSensorAlertsCurrentOverviewByMetricArgs, opts ...InvokeOption) (*GetSensorAlertsCurrentOverviewByMetricResult, error)
    func GetSensorAlertsCurrentOverviewByMetricOutput(ctx *Context, args *GetSensorAlertsCurrentOverviewByMetricOutputArgs, opts ...InvokeOption) GetSensorAlertsCurrentOverviewByMetricResultOutput

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

    public static class GetSensorAlertsCurrentOverviewByMetric 
    {
        public static Task<GetSensorAlertsCurrentOverviewByMetricResult> InvokeAsync(GetSensorAlertsCurrentOverviewByMetricArgs args, InvokeOptions? opts = null)
        public static Output<GetSensorAlertsCurrentOverviewByMetricResult> Invoke(GetSensorAlertsCurrentOverviewByMetricInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSensorAlertsCurrentOverviewByMetricResult> getSensorAlertsCurrentOverviewByMetric(GetSensorAlertsCurrentOverviewByMetricArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getSensorAlertsCurrentOverviewByMetric:getSensorAlertsCurrentOverviewByMetric
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkId string
    networkId path parameter. Network ID
    NetworkId string
    networkId path parameter. Network ID
    networkId String
    networkId path parameter. Network ID
    networkId string
    networkId path parameter. Network ID
    network_id str
    networkId path parameter. Network ID
    networkId String
    networkId path parameter. Network ID

    getSensorAlertsCurrentOverviewByMetric Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetSensorAlertsCurrentOverviewByMetricItem
    NetworkId string
    networkId path parameter. Network ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetSensorAlertsCurrentOverviewByMetricItem
    NetworkId string
    networkId path parameter. Network ID
    id String
    The provider-assigned unique ID for this managed resource.
    item GetSensorAlertsCurrentOverviewByMetricItem
    networkId String
    networkId path parameter. Network ID
    id string
    The provider-assigned unique ID for this managed resource.
    item GetSensorAlertsCurrentOverviewByMetricItem
    networkId string
    networkId path parameter. Network ID
    id str
    The provider-assigned unique ID for this managed resource.
    item GetSensorAlertsCurrentOverviewByMetricItem
    network_id str
    networkId path parameter. Network ID
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    GetSensorAlertsCurrentOverviewByMetricItem

    Counts GetSensorAlertsCurrentOverviewByMetricItemCounts
    Counts of currently alerting sensors, aggregated by alerting metric
    SupportedMetrics List<string>
    List of metrics that are supported for alerts, based on available sensor devices in the network
    Counts GetSensorAlertsCurrentOverviewByMetricItemCounts
    Counts of currently alerting sensors, aggregated by alerting metric
    SupportedMetrics []string
    List of metrics that are supported for alerts, based on available sensor devices in the network
    counts GetSensorAlertsCurrentOverviewByMetricItemCounts
    Counts of currently alerting sensors, aggregated by alerting metric
    supportedMetrics List<String>
    List of metrics that are supported for alerts, based on available sensor devices in the network
    counts GetSensorAlertsCurrentOverviewByMetricItemCounts
    Counts of currently alerting sensors, aggregated by alerting metric
    supportedMetrics string[]
    List of metrics that are supported for alerts, based on available sensor devices in the network
    counts GetSensorAlertsCurrentOverviewByMetricItemCounts
    Counts of currently alerting sensors, aggregated by alerting metric
    supported_metrics Sequence[str]
    List of metrics that are supported for alerts, based on available sensor devices in the network
    counts Property Map
    Counts of currently alerting sensors, aggregated by alerting metric
    supportedMetrics List<String>
    List of metrics that are supported for alerts, based on available sensor devices in the network

    GetSensorAlertsCurrentOverviewByMetricItemCounts

    ApparentPower int
    Number of sensors that are currently alerting due to apparent power readings
    Co2 int
    Number of sensors that are currently alerting due to CO2 readings
    Current int
    Number of sensors that are currently alerting due to electrical current readings
    Door int
    Number of sensors that are currently alerting due to an open door
    Frequency int
    Number of sensors that are currently alerting due to frequency readings
    Humidity int
    Number of sensors that are currently alerting due to humidity readings
    IndoorAirQuality int
    Number of sensors that are currently alerting due to indoor air quality readings
    Noise GetSensorAlertsCurrentOverviewByMetricItemCountsNoise
    Object containing the number of sensors that are currently alerting due to noise readings
    Pm25 int
    Number of sensors that are currently alerting due to PM2.5 readings
    PowerFactor int
    Number of sensors that are currently alerting due to power factor readings
    RealPower int
    Number of sensors that are currently alerting due to real power readings
    Temperature int
    Number of sensors that are currently alerting due to temperature readings
    Tvoc int
    Number of sensors that are currently alerting due to TVOC readings
    UpstreamPower int
    Number of sensors that are currently alerting due to an upstream power outage
    Voltage int
    Number of sensors that are currently alerting due to voltage readings
    Water int
    Number of sensors that are currently alerting due to the presence of water
    ApparentPower int
    Number of sensors that are currently alerting due to apparent power readings
    Co2 int
    Number of sensors that are currently alerting due to CO2 readings
    Current int
    Number of sensors that are currently alerting due to electrical current readings
    Door int
    Number of sensors that are currently alerting due to an open door
    Frequency int
    Number of sensors that are currently alerting due to frequency readings
    Humidity int
    Number of sensors that are currently alerting due to humidity readings
    IndoorAirQuality int
    Number of sensors that are currently alerting due to indoor air quality readings
    Noise GetSensorAlertsCurrentOverviewByMetricItemCountsNoise
    Object containing the number of sensors that are currently alerting due to noise readings
    Pm25 int
    Number of sensors that are currently alerting due to PM2.5 readings
    PowerFactor int
    Number of sensors that are currently alerting due to power factor readings
    RealPower int
    Number of sensors that are currently alerting due to real power readings
    Temperature int
    Number of sensors that are currently alerting due to temperature readings
    Tvoc int
    Number of sensors that are currently alerting due to TVOC readings
    UpstreamPower int
    Number of sensors that are currently alerting due to an upstream power outage
    Voltage int
    Number of sensors that are currently alerting due to voltage readings
    Water int
    Number of sensors that are currently alerting due to the presence of water
    apparentPower Integer
    Number of sensors that are currently alerting due to apparent power readings
    co2 Integer
    Number of sensors that are currently alerting due to CO2 readings
    current Integer
    Number of sensors that are currently alerting due to electrical current readings
    door Integer
    Number of sensors that are currently alerting due to an open door
    frequency Integer
    Number of sensors that are currently alerting due to frequency readings
    humidity Integer
    Number of sensors that are currently alerting due to humidity readings
    indoorAirQuality Integer
    Number of sensors that are currently alerting due to indoor air quality readings
    noise GetSensorAlertsCurrentOverviewByMetricItemCountsNoise
    Object containing the number of sensors that are currently alerting due to noise readings
    pm25 Integer
    Number of sensors that are currently alerting due to PM2.5 readings
    powerFactor Integer
    Number of sensors that are currently alerting due to power factor readings
    realPower Integer
    Number of sensors that are currently alerting due to real power readings
    temperature Integer
    Number of sensors that are currently alerting due to temperature readings
    tvoc Integer
    Number of sensors that are currently alerting due to TVOC readings
    upstreamPower Integer
    Number of sensors that are currently alerting due to an upstream power outage
    voltage Integer
    Number of sensors that are currently alerting due to voltage readings
    water Integer
    Number of sensors that are currently alerting due to the presence of water
    apparentPower number
    Number of sensors that are currently alerting due to apparent power readings
    co2 number
    Number of sensors that are currently alerting due to CO2 readings
    current number
    Number of sensors that are currently alerting due to electrical current readings
    door number
    Number of sensors that are currently alerting due to an open door
    frequency number
    Number of sensors that are currently alerting due to frequency readings
    humidity number
    Number of sensors that are currently alerting due to humidity readings
    indoorAirQuality number
    Number of sensors that are currently alerting due to indoor air quality readings
    noise GetSensorAlertsCurrentOverviewByMetricItemCountsNoise
    Object containing the number of sensors that are currently alerting due to noise readings
    pm25 number
    Number of sensors that are currently alerting due to PM2.5 readings
    powerFactor number
    Number of sensors that are currently alerting due to power factor readings
    realPower number
    Number of sensors that are currently alerting due to real power readings
    temperature number
    Number of sensors that are currently alerting due to temperature readings
    tvoc number
    Number of sensors that are currently alerting due to TVOC readings
    upstreamPower number
    Number of sensors that are currently alerting due to an upstream power outage
    voltage number
    Number of sensors that are currently alerting due to voltage readings
    water number
    Number of sensors that are currently alerting due to the presence of water
    apparent_power int
    Number of sensors that are currently alerting due to apparent power readings
    co2 int
    Number of sensors that are currently alerting due to CO2 readings
    current int
    Number of sensors that are currently alerting due to electrical current readings
    door int
    Number of sensors that are currently alerting due to an open door
    frequency int
    Number of sensors that are currently alerting due to frequency readings
    humidity int
    Number of sensors that are currently alerting due to humidity readings
    indoor_air_quality int
    Number of sensors that are currently alerting due to indoor air quality readings
    noise GetSensorAlertsCurrentOverviewByMetricItemCountsNoise
    Object containing the number of sensors that are currently alerting due to noise readings
    pm25 int
    Number of sensors that are currently alerting due to PM2.5 readings
    power_factor int
    Number of sensors that are currently alerting due to power factor readings
    real_power int
    Number of sensors that are currently alerting due to real power readings
    temperature int
    Number of sensors that are currently alerting due to temperature readings
    tvoc int
    Number of sensors that are currently alerting due to TVOC readings
    upstream_power int
    Number of sensors that are currently alerting due to an upstream power outage
    voltage int
    Number of sensors that are currently alerting due to voltage readings
    water int
    Number of sensors that are currently alerting due to the presence of water
    apparentPower Number
    Number of sensors that are currently alerting due to apparent power readings
    co2 Number
    Number of sensors that are currently alerting due to CO2 readings
    current Number
    Number of sensors that are currently alerting due to electrical current readings
    door Number
    Number of sensors that are currently alerting due to an open door
    frequency Number
    Number of sensors that are currently alerting due to frequency readings
    humidity Number
    Number of sensors that are currently alerting due to humidity readings
    indoorAirQuality Number
    Number of sensors that are currently alerting due to indoor air quality readings
    noise Property Map
    Object containing the number of sensors that are currently alerting due to noise readings
    pm25 Number
    Number of sensors that are currently alerting due to PM2.5 readings
    powerFactor Number
    Number of sensors that are currently alerting due to power factor readings
    realPower Number
    Number of sensors that are currently alerting due to real power readings
    temperature Number
    Number of sensors that are currently alerting due to temperature readings
    tvoc Number
    Number of sensors that are currently alerting due to TVOC readings
    upstreamPower Number
    Number of sensors that are currently alerting due to an upstream power outage
    voltage Number
    Number of sensors that are currently alerting due to voltage readings
    water Number
    Number of sensors that are currently alerting due to the presence of water

    GetSensorAlertsCurrentOverviewByMetricItemCountsNoise

    Ambient int
    Number of sensors that are currently alerting due to ambient noise readings
    Ambient int
    Number of sensors that are currently alerting due to ambient noise readings
    ambient Integer
    Number of sensors that are currently alerting due to ambient noise readings
    ambient number
    Number of sensors that are currently alerting due to ambient noise readings
    ambient int
    Number of sensors that are currently alerting due to ambient noise readings
    ambient Number
    Number of sensors that are currently alerting due to ambient noise readings

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi