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

meraki.organizations.getCameraDetectionsHistoryByBoundaryByInterval

Explore with Pulumi AI

Example Usage

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

const example = meraki.organizations.getCameraDetectionsHistoryByBoundaryByInterval({
    boundaryIds: ["string"],
    boundaryTypes: ["string"],
    duration: 1,
    organizationId: "string",
    perPage: 1,
    ranges: ["string"],
});
export const merakiOrganizationsCameraDetectionsHistoryByBoundaryByIntervalExample = example.then(example => example.items);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.organizations.get_camera_detections_history_by_boundary_by_interval(boundary_ids=["string"],
    boundary_types=["string"],
    duration=1,
    organization_id="string",
    per_page=1,
    ranges=["string"])
pulumi.export("merakiOrganizationsCameraDetectionsHistoryByBoundaryByIntervalExample", 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.GetCameraDetectionsHistoryByBoundaryByInterval(ctx, &organizations.GetCameraDetectionsHistoryByBoundaryByIntervalArgs{
			BoundaryIds: []string{
				"string",
			},
			BoundaryTypes: []string{
				"string",
			},
			Duration:       pulumi.IntRef(1),
			OrganizationId: "string",
			PerPage:        pulumi.IntRef(1),
			Ranges: []string{
				"string",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiOrganizationsCameraDetectionsHistoryByBoundaryByIntervalExample", 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.GetCameraDetectionsHistoryByBoundaryByInterval.Invoke(new()
    {
        BoundaryIds = new[]
        {
            "string",
        },
        BoundaryTypes = new[]
        {
            "string",
        },
        Duration = 1,
        OrganizationId = "string",
        PerPage = 1,
        Ranges = new[]
        {
            "string",
        },
    });

    return new Dictionary<string, object?>
    {
        ["merakiOrganizationsCameraDetectionsHistoryByBoundaryByIntervalExample"] = example.Apply(getCameraDetectionsHistoryByBoundaryByIntervalResult => getCameraDetectionsHistoryByBoundaryByIntervalResult.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.GetCameraDetectionsHistoryByBoundaryByIntervalArgs;
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.getCameraDetectionsHistoryByBoundaryByInterval(GetCameraDetectionsHistoryByBoundaryByIntervalArgs.builder()
            .boundaryIds("string")
            .boundaryTypes("string")
            .duration(1)
            .organizationId("string")
            .perPage(1)
            .ranges("string")
            .build());

        ctx.export("merakiOrganizationsCameraDetectionsHistoryByBoundaryByIntervalExample", example.applyValue(getCameraDetectionsHistoryByBoundaryByIntervalResult -> getCameraDetectionsHistoryByBoundaryByIntervalResult.items()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:organizations:getCameraDetectionsHistoryByBoundaryByInterval
      arguments:
        boundaryIds:
          - string
        boundaryTypes:
          - string
        duration: 1
        organizationId: string
        perPage: 1
        ranges:
          - string
outputs:
  merakiOrganizationsCameraDetectionsHistoryByBoundaryByIntervalExample: ${example.items}
Copy

Using getCameraDetectionsHistoryByBoundaryByInterval

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 getCameraDetectionsHistoryByBoundaryByInterval(args: GetCameraDetectionsHistoryByBoundaryByIntervalArgs, opts?: InvokeOptions): Promise<GetCameraDetectionsHistoryByBoundaryByIntervalResult>
function getCameraDetectionsHistoryByBoundaryByIntervalOutput(args: GetCameraDetectionsHistoryByBoundaryByIntervalOutputArgs, opts?: InvokeOptions): Output<GetCameraDetectionsHistoryByBoundaryByIntervalResult>
Copy
def get_camera_detections_history_by_boundary_by_interval(boundary_ids: Optional[Sequence[str]] = None,
                                                          boundary_types: Optional[Sequence[str]] = None,
                                                          duration: Optional[int] = None,
                                                          organization_id: Optional[str] = None,
                                                          per_page: Optional[int] = None,
                                                          ranges: Optional[Sequence[str]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetCameraDetectionsHistoryByBoundaryByIntervalResult
def get_camera_detections_history_by_boundary_by_interval_output(boundary_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                          boundary_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                          duration: Optional[pulumi.Input[int]] = None,
                                                          organization_id: Optional[pulumi.Input[str]] = None,
                                                          per_page: Optional[pulumi.Input[int]] = None,
                                                          ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> Output[GetCameraDetectionsHistoryByBoundaryByIntervalResult]
Copy
func GetCameraDetectionsHistoryByBoundaryByInterval(ctx *Context, args *GetCameraDetectionsHistoryByBoundaryByIntervalArgs, opts ...InvokeOption) (*GetCameraDetectionsHistoryByBoundaryByIntervalResult, error)
func GetCameraDetectionsHistoryByBoundaryByIntervalOutput(ctx *Context, args *GetCameraDetectionsHistoryByBoundaryByIntervalOutputArgs, opts ...InvokeOption) GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput
Copy

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

public static class GetCameraDetectionsHistoryByBoundaryByInterval 
{
    public static Task<GetCameraDetectionsHistoryByBoundaryByIntervalResult> InvokeAsync(GetCameraDetectionsHistoryByBoundaryByIntervalArgs args, InvokeOptions? opts = null)
    public static Output<GetCameraDetectionsHistoryByBoundaryByIntervalResult> Invoke(GetCameraDetectionsHistoryByBoundaryByIntervalInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCameraDetectionsHistoryByBoundaryByIntervalResult> getCameraDetectionsHistoryByBoundaryByInterval(GetCameraDetectionsHistoryByBoundaryByIntervalArgs args, InvokeOptions options)
public static Output<GetCameraDetectionsHistoryByBoundaryByIntervalResult> getCameraDetectionsHistoryByBoundaryByInterval(GetCameraDetectionsHistoryByBoundaryByIntervalArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:organizations/getCameraDetectionsHistoryByBoundaryByInterval:getCameraDetectionsHistoryByBoundaryByInterval
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BoundaryIds This property is required. List<string>
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
OrganizationId This property is required. string
organizationId path parameter. Organization ID
Ranges This property is required. List<string>
ranges query parameter. A list of time ranges with intervals
BoundaryTypes List<string>
boundaryTypes query parameter. The detection types. Defaults to 'person'.
Duration int
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
PerPage int
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
BoundaryIds This property is required. []string
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
OrganizationId This property is required. string
organizationId path parameter. Organization ID
Ranges This property is required. []string
ranges query parameter. A list of time ranges with intervals
BoundaryTypes []string
boundaryTypes query parameter. The detection types. Defaults to 'person'.
Duration int
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
PerPage int
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundaryIds This property is required. List<String>
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
organizationId This property is required. String
organizationId path parameter. Organization ID
ranges This property is required. List<String>
ranges query parameter. A list of time ranges with intervals
boundaryTypes List<String>
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration Integer
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
perPage Integer
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundaryIds This property is required. string[]
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
organizationId This property is required. string
organizationId path parameter. Organization ID
ranges This property is required. string[]
ranges query parameter. A list of time ranges with intervals
boundaryTypes string[]
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration number
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
perPage number
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundary_ids This property is required. Sequence[str]
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
organization_id This property is required. str
organizationId path parameter. Organization ID
ranges This property is required. Sequence[str]
ranges query parameter. A list of time ranges with intervals
boundary_types Sequence[str]
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration int
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
per_page int
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundaryIds This property is required. List<String>
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
organizationId This property is required. String
organizationId path parameter. Organization ID
ranges This property is required. List<String>
ranges query parameter. A list of time ranges with intervals
boundaryTypes List<String>
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration Number
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
perPage Number
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.

getCameraDetectionsHistoryByBoundaryByInterval Result

The following output properties are available:

BoundaryIds List<string>
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
Id string
The provider-assigned unique ID for this managed resource.
Items List<GetCameraDetectionsHistoryByBoundaryByIntervalItem>
Array of ResponseCameraGetOrganizationCameraDetectionsHistoryByBoundaryByInterval
OrganizationId string
organizationId path parameter. Organization ID
Ranges List<string>
ranges query parameter. A list of time ranges with intervals
BoundaryTypes List<string>
boundaryTypes query parameter. The detection types. Defaults to 'person'.
Duration int
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
PerPage int
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
BoundaryIds []string
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
Id string
The provider-assigned unique ID for this managed resource.
Items []GetCameraDetectionsHistoryByBoundaryByIntervalItem
Array of ResponseCameraGetOrganizationCameraDetectionsHistoryByBoundaryByInterval
OrganizationId string
organizationId path parameter. Organization ID
Ranges []string
ranges query parameter. A list of time ranges with intervals
BoundaryTypes []string
boundaryTypes query parameter. The detection types. Defaults to 'person'.
Duration int
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
PerPage int
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundaryIds List<String>
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
id String
The provider-assigned unique ID for this managed resource.
items List<GetCameraDetectionsHistoryByBoundaryByIntervalItem>
Array of ResponseCameraGetOrganizationCameraDetectionsHistoryByBoundaryByInterval
organizationId String
organizationId path parameter. Organization ID
ranges List<String>
ranges query parameter. A list of time ranges with intervals
boundaryTypes List<String>
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration Integer
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
perPage Integer
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundaryIds string[]
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
id string
The provider-assigned unique ID for this managed resource.
items GetCameraDetectionsHistoryByBoundaryByIntervalItem[]
Array of ResponseCameraGetOrganizationCameraDetectionsHistoryByBoundaryByInterval
organizationId string
organizationId path parameter. Organization ID
ranges string[]
ranges query parameter. A list of time ranges with intervals
boundaryTypes string[]
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration number
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
perPage number
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundary_ids Sequence[str]
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
id str
The provider-assigned unique ID for this managed resource.
items Sequence[GetCameraDetectionsHistoryByBoundaryByIntervalItem]
Array of ResponseCameraGetOrganizationCameraDetectionsHistoryByBoundaryByInterval
organization_id str
organizationId path parameter. Organization ID
ranges Sequence[str]
ranges query parameter. A list of time ranges with intervals
boundary_types Sequence[str]
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration int
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
per_page int
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.
boundaryIds List<String>
boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
id String
The provider-assigned unique ID for this managed resource.
items List<Property Map>
Array of ResponseCameraGetOrganizationCameraDetectionsHistoryByBoundaryByInterval
organizationId String
organizationId path parameter. Organization ID
ranges List<String>
ranges query parameter. A list of time ranges with intervals
boundaryTypes List<String>
boundaryTypes query parameter. The detection types. Defaults to 'person'.
duration Number
duration query parameter. The minimum time, in seconds, that the person or car remains in the area to be counted. Defaults to boundary configuration or 60.
perPage Number
perPage query parameter. The number of entries per page returned. Acceptable range is 1 1000. Defaults to 1000.

Supporting Types

GetCameraDetectionsHistoryByBoundaryByIntervalItem

BoundaryId This property is required. string
The boundary id
Results This property is required. GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
The analytics data
Type This property is required. string
The boundary type
BoundaryId This property is required. string
The boundary id
Results This property is required. GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
The analytics data
Type This property is required. string
The boundary type
boundaryId This property is required. String
The boundary id
results This property is required. GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
The analytics data
type This property is required. String
The boundary type
boundaryId This property is required. string
The boundary id
results This property is required. GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
The analytics data
type This property is required. string
The boundary type
boundary_id This property is required. str
The boundary id
results This property is required. GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
The analytics data
type This property is required. str
The boundary type
boundaryId This property is required. String
The boundary id
results This property is required. Property Map
The analytics data
type This property is required. String
The boundary type

GetCameraDetectionsHistoryByBoundaryByIntervalItemResults

EndTime This property is required. string
The period end time
In This property is required. int
The number of detections entered
ObjectType This property is required. string
The detection type
Out This property is required. int
The number of detections exited
StartTime This property is required. string
The period start time
EndTime This property is required. string
The period end time
In This property is required. int
The number of detections entered
ObjectType This property is required. string
The detection type
Out This property is required. int
The number of detections exited
StartTime This property is required. string
The period start time
endTime This property is required. String
The period end time
in This property is required. Integer
The number of detections entered
objectType This property is required. String
The detection type
out This property is required. Integer
The number of detections exited
startTime This property is required. String
The period start time
endTime This property is required. string
The period end time
in This property is required. number
The number of detections entered
objectType This property is required. string
The detection type
out This property is required. number
The number of detections exited
startTime This property is required. string
The period start time
end_time This property is required. str
The period end time
in_ This property is required. int
The number of detections entered
object_type This property is required. str
The detection type
out This property is required. int
The number of detections exited
start_time This property is required. str
The period start time
endTime This property is required. String
The period end time
in This property is required. Number
The number of detections entered
objectType This property is required. String
The detection type
out This property is required. Number
The number of detections exited
startTime This property is required. String
The period start time

Package Details

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