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

meraki.organizations.getSummaryTopDevicesModelsByUsage

Explore with Pulumi AI

Example Usage

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

const example = meraki.organizations.getSummaryTopDevicesModelsByUsage({
    organizationId: "string",
    t0: "string",
    t1: "string",
    timespan: 1,
});
export const merakiOrganizationsSummaryTopDevicesModelsByUsageExample = example.then(example => example.items);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.organizations.get_summary_top_devices_models_by_usage(organization_id="string",
    t0="string",
    t1="string",
    timespan=1)
pulumi.export("merakiOrganizationsSummaryTopDevicesModelsByUsageExample", 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.GetSummaryTopDevicesModelsByUsage(ctx, &organizations.GetSummaryTopDevicesModelsByUsageArgs{
			OrganizationId: "string",
			T0:             pulumi.StringRef("string"),
			T1:             pulumi.StringRef("string"),
			Timespan:       pulumi.Float64Ref(1),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiOrganizationsSummaryTopDevicesModelsByUsageExample", 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.GetSummaryTopDevicesModelsByUsage.Invoke(new()
    {
        OrganizationId = "string",
        T0 = "string",
        T1 = "string",
        Timespan = 1,
    });

    return new Dictionary<string, object?>
    {
        ["merakiOrganizationsSummaryTopDevicesModelsByUsageExample"] = example.Apply(getSummaryTopDevicesModelsByUsageResult => getSummaryTopDevicesModelsByUsageResult.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.GetSummaryTopDevicesModelsByUsageArgs;
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.getSummaryTopDevicesModelsByUsage(GetSummaryTopDevicesModelsByUsageArgs.builder()
            .organizationId("string")
            .t0("string")
            .t1("string")
            .timespan(1)
            .build());

        ctx.export("merakiOrganizationsSummaryTopDevicesModelsByUsageExample", example.applyValue(getSummaryTopDevicesModelsByUsageResult -> getSummaryTopDevicesModelsByUsageResult.items()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:organizations:getSummaryTopDevicesModelsByUsage
      arguments:
        organizationId: string
        t0: string
        t1: string
        timespan: 1
outputs:
  merakiOrganizationsSummaryTopDevicesModelsByUsageExample: ${example.items}
Copy

Using getSummaryTopDevicesModelsByUsage

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 getSummaryTopDevicesModelsByUsage(args: GetSummaryTopDevicesModelsByUsageArgs, opts?: InvokeOptions): Promise<GetSummaryTopDevicesModelsByUsageResult>
function getSummaryTopDevicesModelsByUsageOutput(args: GetSummaryTopDevicesModelsByUsageOutputArgs, opts?: InvokeOptions): Output<GetSummaryTopDevicesModelsByUsageResult>
Copy
def get_summary_top_devices_models_by_usage(organization_id: Optional[str] = None,
                                            t0: Optional[str] = None,
                                            t1: Optional[str] = None,
                                            timespan: Optional[float] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetSummaryTopDevicesModelsByUsageResult
def get_summary_top_devices_models_by_usage_output(organization_id: Optional[pulumi.Input[str]] = None,
                                            t0: Optional[pulumi.Input[str]] = None,
                                            t1: Optional[pulumi.Input[str]] = None,
                                            timespan: Optional[pulumi.Input[float]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetSummaryTopDevicesModelsByUsageResult]
Copy
func GetSummaryTopDevicesModelsByUsage(ctx *Context, args *GetSummaryTopDevicesModelsByUsageArgs, opts ...InvokeOption) (*GetSummaryTopDevicesModelsByUsageResult, error)
func GetSummaryTopDevicesModelsByUsageOutput(ctx *Context, args *GetSummaryTopDevicesModelsByUsageOutputArgs, opts ...InvokeOption) GetSummaryTopDevicesModelsByUsageResultOutput
Copy

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

public static class GetSummaryTopDevicesModelsByUsage 
{
    public static Task<GetSummaryTopDevicesModelsByUsageResult> InvokeAsync(GetSummaryTopDevicesModelsByUsageArgs args, InvokeOptions? opts = null)
    public static Output<GetSummaryTopDevicesModelsByUsageResult> Invoke(GetSummaryTopDevicesModelsByUsageInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSummaryTopDevicesModelsByUsageResult> getSummaryTopDevicesModelsByUsage(GetSummaryTopDevicesModelsByUsageArgs args, InvokeOptions options)
public static Output<GetSummaryTopDevicesModelsByUsageResult> getSummaryTopDevicesModelsByUsage(GetSummaryTopDevicesModelsByUsageArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:organizations/getSummaryTopDevicesModelsByUsage:getSummaryTopDevicesModelsByUsage
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OrganizationId This property is required. string
organizationId path parameter. Organization ID
T0 string
t0 query parameter. The beginning of the timespan for the data.
T1 string
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
OrganizationId This property is required. string
organizationId path parameter. Organization ID
T0 string
t0 query parameter. The beginning of the timespan for the data.
T1 string
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
organizationId This property is required. String
organizationId path parameter. Organization ID
t0 String
t0 query parameter. The beginning of the timespan for the data.
t1 String
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
organizationId This property is required. string
organizationId path parameter. Organization ID
t0 string
t0 query parameter. The beginning of the timespan for the data.
t1 string
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
organization_id This property is required. str
organizationId path parameter. Organization ID
t0 str
t0 query parameter. The beginning of the timespan for the data.
t1 str
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
organizationId This property is required. String
organizationId path parameter. Organization ID
t0 String
t0 query parameter. The beginning of the timespan for the data.
t1 String
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.

getSummaryTopDevicesModelsByUsage Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Items List<GetSummaryTopDevicesModelsByUsageItem>
Array of ResponseOrganizationsGetOrganizationSummaryTopDevicesModelsByUsage
OrganizationId string
organizationId path parameter. Organization ID
T0 string
t0 query parameter. The beginning of the timespan for the data.
T1 string
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
Id string
The provider-assigned unique ID for this managed resource.
Items []GetSummaryTopDevicesModelsByUsageItem
Array of ResponseOrganizationsGetOrganizationSummaryTopDevicesModelsByUsage
OrganizationId string
organizationId path parameter. Organization ID
T0 string
t0 query parameter. The beginning of the timespan for the data.
T1 string
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
id String
The provider-assigned unique ID for this managed resource.
items List<GetSummaryTopDevicesModelsByUsageItem>
Array of ResponseOrganizationsGetOrganizationSummaryTopDevicesModelsByUsage
organizationId String
organizationId path parameter. Organization ID
t0 String
t0 query parameter. The beginning of the timespan for the data.
t1 String
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
id string
The provider-assigned unique ID for this managed resource.
items GetSummaryTopDevicesModelsByUsageItem[]
Array of ResponseOrganizationsGetOrganizationSummaryTopDevicesModelsByUsage
organizationId string
organizationId path parameter. Organization ID
t0 string
t0 query parameter. The beginning of the timespan for the data.
t1 string
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
id str
The provider-assigned unique ID for this managed resource.
items Sequence[GetSummaryTopDevicesModelsByUsageItem]
Array of ResponseOrganizationsGetOrganizationSummaryTopDevicesModelsByUsage
organization_id str
organizationId path parameter. Organization ID
t0 str
t0 query parameter. The beginning of the timespan for the data.
t1 str
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.
id String
The provider-assigned unique ID for this managed resource.
items List<Property Map>
Array of ResponseOrganizationsGetOrganizationSummaryTopDevicesModelsByUsage
organizationId String
organizationId path parameter. Organization ID
t0 String
t0 query parameter. The beginning of the timespan for the data.
t1 String
t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 31 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 greater than or equal to 8 hours and be less than or equal to 31 days. The default is 1 day.

Supporting Types

GetSummaryTopDevicesModelsByUsageItem

Count This property is required. int
Total number of devices per model
Model This property is required. string
The device model
Usage This property is required. GetSummaryTopDevicesModelsByUsageItemUsage
Usage info in megabytes
Count This property is required. int
Total number of devices per model
Model This property is required. string
The device model
Usage This property is required. GetSummaryTopDevicesModelsByUsageItemUsage
Usage info in megabytes
count This property is required. Integer
Total number of devices per model
model This property is required. String
The device model
usage This property is required. GetSummaryTopDevicesModelsByUsageItemUsage
Usage info in megabytes
count This property is required. number
Total number of devices per model
model This property is required. string
The device model
usage This property is required. GetSummaryTopDevicesModelsByUsageItemUsage
Usage info in megabytes
count This property is required. int
Total number of devices per model
model This property is required. str
The device model
usage This property is required. GetSummaryTopDevicesModelsByUsageItemUsage
Usage info in megabytes
count This property is required. Number
Total number of devices per model
model This property is required. String
The device model
usage This property is required. Property Map
Usage info in megabytes

GetSummaryTopDevicesModelsByUsageItemUsage

Average This property is required. double
Average usage in megabytes
Total This property is required. double
Total usage in megabytes
Average This property is required. float64
Average usage in megabytes
Total This property is required. float64
Total usage in megabytes
average This property is required. Double
Average usage in megabytes
total This property is required. Double
Total usage in megabytes
average This property is required. number
Average usage in megabytes
total This property is required. number
Total usage in megabytes
average This property is required. float
Average usage in megabytes
total This property is required. float
Total usage in megabytes
average This property is required. Number
Average usage in megabytes
total This property is required. Number
Total usage in megabytes

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.