1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getInsightApplicationsHealthByTime
Cisco Meraki v0.2.1 published on Friday, May 31, 2024 by Pulumi

meraki.networks.getInsightApplicationsHealthByTime

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.1 published on Friday, May 31, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.networks.getInsightApplicationsHealthByTime({
        applicationId: "string",
        networkId: "string",
        resolution: 1,
        t0: "string",
        t1: "string",
        timespan: 1,
    });
    export const merakiNetworksInsightApplicationsHealthByTimeExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_insight_applications_health_by_time(application_id="string",
        network_id="string",
        resolution=1,
        t0="string",
        t1="string",
        timespan=1)
    pulumi.export("merakiNetworksInsightApplicationsHealthByTimeExample", example.items)
    
    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.GetInsightApplicationsHealthByTime(ctx, &networks.GetInsightApplicationsHealthByTimeArgs{
    			ApplicationId: "string",
    			NetworkId:     "string",
    			Resolution:    pulumi.IntRef(1),
    			T0:            pulumi.StringRef("string"),
    			T1:            pulumi.StringRef("string"),
    			Timespan:      pulumi.Float64Ref(1),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksInsightApplicationsHealthByTimeExample", example.Items)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Networks.GetInsightApplicationsHealthByTime.Invoke(new()
        {
            ApplicationId = "string",
            NetworkId = "string",
            Resolution = 1,
            T0 = "string",
            T1 = "string",
            Timespan = 1,
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksInsightApplicationsHealthByTimeExample"] = example.Apply(getInsightApplicationsHealthByTimeResult => getInsightApplicationsHealthByTimeResult.Items),
        };
    });
    
    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.GetInsightApplicationsHealthByTimeArgs;
    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.getInsightApplicationsHealthByTime(GetInsightApplicationsHealthByTimeArgs.builder()
                .applicationId("string")
                .networkId("string")
                .resolution(1)
                .t0("string")
                .t1("string")
                .timespan(1)
                .build());
    
            ctx.export("merakiNetworksInsightApplicationsHealthByTimeExample", example.applyValue(getInsightApplicationsHealthByTimeResult -> getInsightApplicationsHealthByTimeResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getInsightApplicationsHealthByTime
          Arguments:
            applicationId: string
            networkId: string
            resolution: 1
            t0: string
            t1: string
            timespan: 1
    outputs:
      merakiNetworksInsightApplicationsHealthByTimeExample: ${example.items}
    

    Using getInsightApplicationsHealthByTime

    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 getInsightApplicationsHealthByTime(args: GetInsightApplicationsHealthByTimeArgs, opts?: InvokeOptions): Promise<GetInsightApplicationsHealthByTimeResult>
    function getInsightApplicationsHealthByTimeOutput(args: GetInsightApplicationsHealthByTimeOutputArgs, opts?: InvokeOptions): Output<GetInsightApplicationsHealthByTimeResult>
    def get_insight_applications_health_by_time(application_id: Optional[str] = None,
                                                network_id: Optional[str] = None,
                                                resolution: Optional[int] = None,
                                                t0: Optional[str] = None,
                                                t1: Optional[str] = None,
                                                timespan: Optional[float] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetInsightApplicationsHealthByTimeResult
    def get_insight_applications_health_by_time_output(application_id: Optional[pulumi.Input[str]] = None,
                                                network_id: Optional[pulumi.Input[str]] = None,
                                                resolution: Optional[pulumi.Input[int]] = None,
                                                t0: Optional[pulumi.Input[str]] = None,
                                                t1: Optional[pulumi.Input[str]] = None,
                                                timespan: Optional[pulumi.Input[float]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetInsightApplicationsHealthByTimeResult]
    func GetInsightApplicationsHealthByTime(ctx *Context, args *GetInsightApplicationsHealthByTimeArgs, opts ...InvokeOption) (*GetInsightApplicationsHealthByTimeResult, error)
    func GetInsightApplicationsHealthByTimeOutput(ctx *Context, args *GetInsightApplicationsHealthByTimeOutputArgs, opts ...InvokeOption) GetInsightApplicationsHealthByTimeResultOutput

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

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

    The following arguments are supported:

    ApplicationId string
    applicationId path parameter. Application ID
    NetworkId string
    networkId path parameter. Network ID
    Resolution int
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    T0 string
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    T1 string
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    Timespan double
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    ApplicationId string
    applicationId path parameter. Application ID
    NetworkId string
    networkId path parameter. Network ID
    Resolution int
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    T0 string
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    T1 string
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    Timespan float64
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    applicationId String
    applicationId path parameter. Application ID
    networkId String
    networkId path parameter. Network ID
    resolution Integer
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 String
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 String
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan Double
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    applicationId string
    applicationId path parameter. Application ID
    networkId string
    networkId path parameter. Network ID
    resolution number
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 string
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 string
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan number
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    application_id str
    applicationId path parameter. Application ID
    network_id str
    networkId path parameter. Network ID
    resolution int
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 str
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 str
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan float
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    applicationId String
    applicationId path parameter. Application ID
    networkId String
    networkId path parameter. Network ID
    resolution Number
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 String
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 String
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan Number
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.

    getInsightApplicationsHealthByTime Result

    The following output properties are available:

    ApplicationId string
    applicationId path parameter. Application ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetInsightApplicationsHealthByTimeItem>
    Array of ResponseInsightGetNetworkInsightApplicationHealthByTime
    NetworkId string
    networkId path parameter. Network ID
    Resolution int
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    T0 string
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    T1 string
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    Timespan double
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    ApplicationId string
    applicationId path parameter. Application ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetInsightApplicationsHealthByTimeItem
    Array of ResponseInsightGetNetworkInsightApplicationHealthByTime
    NetworkId string
    networkId path parameter. Network ID
    Resolution int
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    T0 string
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    T1 string
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    Timespan float64
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    applicationId String
    applicationId path parameter. Application ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetInsightApplicationsHealthByTimeItem>
    Array of ResponseInsightGetNetworkInsightApplicationHealthByTime
    networkId String
    networkId path parameter. Network ID
    resolution Integer
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 String
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 String
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan Double
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    applicationId string
    applicationId path parameter. Application ID
    id string
    The provider-assigned unique ID for this managed resource.
    items GetInsightApplicationsHealthByTimeItem[]
    Array of ResponseInsightGetNetworkInsightApplicationHealthByTime
    networkId string
    networkId path parameter. Network ID
    resolution number
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 string
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 string
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan number
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    application_id str
    applicationId path parameter. Application ID
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetInsightApplicationsHealthByTimeItem]
    Array of ResponseInsightGetNetworkInsightApplicationHealthByTime
    network_id str
    networkId path parameter. Network ID
    resolution int
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 str
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 str
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan float
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.
    applicationId String
    applicationId path parameter. Application ID
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseInsightGetNetworkInsightApplicationHealthByTime
    networkId String
    networkId path parameter. Network ID
    resolution Number
    resolution query parameter. The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
    t0 String
    t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
    t1 String
    t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
    timespan Number
    timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.

    Supporting Types

    GetInsightApplicationsHealthByTimeItem

    EndTs string
    The end time of the query range
    LanGoodput int
    LAN goodput (Number of useful information bits delivered over a LAN per unit of time)
    LanLatencyMs double
    LAN latency in milliseconds
    LanLossPercent double
    LAN loss percentage
    NumClients int
    Number of clients
    Recv int
    Received kilobytes-per-second
    ResponseDuration int
    Duration of the response, in milliseconds
    Sent int
    Sent kilobytes-per-second
    StartTs string
    The start time of the query range
    WanGoodput int
    WAN goodput (Number of useful information bits delivered over a WAN per unit of time)
    WanLatencyMs double
    WAN latency in milliseconds
    WanLossPercent double
    WAN loss percentage
    EndTs string
    The end time of the query range
    LanGoodput int
    LAN goodput (Number of useful information bits delivered over a LAN per unit of time)
    LanLatencyMs float64
    LAN latency in milliseconds
    LanLossPercent float64
    LAN loss percentage
    NumClients int
    Number of clients
    Recv int
    Received kilobytes-per-second
    ResponseDuration int
    Duration of the response, in milliseconds
    Sent int
    Sent kilobytes-per-second
    StartTs string
    The start time of the query range
    WanGoodput int
    WAN goodput (Number of useful information bits delivered over a WAN per unit of time)
    WanLatencyMs float64
    WAN latency in milliseconds
    WanLossPercent float64
    WAN loss percentage
    endTs String
    The end time of the query range
    lanGoodput Integer
    LAN goodput (Number of useful information bits delivered over a LAN per unit of time)
    lanLatencyMs Double
    LAN latency in milliseconds
    lanLossPercent Double
    LAN loss percentage
    numClients Integer
    Number of clients
    recv Integer
    Received kilobytes-per-second
    responseDuration Integer
    Duration of the response, in milliseconds
    sent Integer
    Sent kilobytes-per-second
    startTs String
    The start time of the query range
    wanGoodput Integer
    WAN goodput (Number of useful information bits delivered over a WAN per unit of time)
    wanLatencyMs Double
    WAN latency in milliseconds
    wanLossPercent Double
    WAN loss percentage
    endTs string
    The end time of the query range
    lanGoodput number
    LAN goodput (Number of useful information bits delivered over a LAN per unit of time)
    lanLatencyMs number
    LAN latency in milliseconds
    lanLossPercent number
    LAN loss percentage
    numClients number
    Number of clients
    recv number
    Received kilobytes-per-second
    responseDuration number
    Duration of the response, in milliseconds
    sent number
    Sent kilobytes-per-second
    startTs string
    The start time of the query range
    wanGoodput number
    WAN goodput (Number of useful information bits delivered over a WAN per unit of time)
    wanLatencyMs number
    WAN latency in milliseconds
    wanLossPercent number
    WAN loss percentage
    end_ts str
    The end time of the query range
    lan_goodput int
    LAN goodput (Number of useful information bits delivered over a LAN per unit of time)
    lan_latency_ms float
    LAN latency in milliseconds
    lan_loss_percent float
    LAN loss percentage
    num_clients int
    Number of clients
    recv int
    Received kilobytes-per-second
    response_duration int
    Duration of the response, in milliseconds
    sent int
    Sent kilobytes-per-second
    start_ts str
    The start time of the query range
    wan_goodput int
    WAN goodput (Number of useful information bits delivered over a WAN per unit of time)
    wan_latency_ms float
    WAN latency in milliseconds
    wan_loss_percent float
    WAN loss percentage
    endTs String
    The end time of the query range
    lanGoodput Number
    LAN goodput (Number of useful information bits delivered over a LAN per unit of time)
    lanLatencyMs Number
    LAN latency in milliseconds
    lanLossPercent Number
    LAN loss percentage
    numClients Number
    Number of clients
    recv Number
    Received kilobytes-per-second
    responseDuration Number
    Duration of the response, in milliseconds
    sent Number
    Sent kilobytes-per-second
    startTs String
    The start time of the query range
    wanGoodput Number
    WAN goodput (Number of useful information bits delivered over a WAN per unit of time)
    wanLatencyMs Number
    WAN latency in milliseconds
    wanLossPercent Number
    WAN loss percentage

    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.1 published on Friday, May 31, 2024 by Pulumi