1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. getCameraDetectionsHistoryByBoundaryByInterval
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

meraki.organizations.getCameraDetectionsHistoryByBoundaryByInterval

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

    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);
    
    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)
    
    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
    	})
    }
    
    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),
        };
    });
    
    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()));
        }
    }
    
    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}
    

    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>
    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]
    func GetCameraDetectionsHistoryByBoundaryByInterval(ctx *Context, args *GetCameraDetectionsHistoryByBoundaryByIntervalArgs, opts ...InvokeOption) (*GetCameraDetectionsHistoryByBoundaryByIntervalResult, error)
    func GetCameraDetectionsHistoryByBoundaryByIntervalOutput(ctx *Context, args *GetCameraDetectionsHistoryByBoundaryByIntervalOutputArgs, opts ...InvokeOption) GetCameraDetectionsHistoryByBoundaryByIntervalResultOutput

    > 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)
    }
    public static CompletableFuture<GetCameraDetectionsHistoryByBoundaryByIntervalResult> getCameraDetectionsHistoryByBoundaryByInterval(GetCameraDetectionsHistoryByBoundaryByIntervalArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:organizations/getCameraDetectionsHistoryByBoundaryByInterval:getCameraDetectionsHistoryByBoundaryByInterval
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BoundaryIds List<string>
    boundaryIds query parameter. A list of boundary ids. The returned cameras will be filtered to only include these ids.
    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.
    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.
    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.
    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.
    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.
    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.

    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 string
    The boundary id
    Results GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
    The analytics data
    Type string
    The boundary type
    BoundaryId string
    The boundary id
    Results GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
    The analytics data
    Type string
    The boundary type
    boundaryId String
    The boundary id
    results GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
    The analytics data
    type String
    The boundary type
    boundaryId string
    The boundary id
    results GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
    The analytics data
    type string
    The boundary type
    boundary_id str
    The boundary id
    results GetCameraDetectionsHistoryByBoundaryByIntervalItemResults
    The analytics data
    type str
    The boundary type
    boundaryId String
    The boundary id
    results Property Map
    The analytics data
    type String
    The boundary type

    GetCameraDetectionsHistoryByBoundaryByIntervalItemResults

    EndTime string
    The period end time
    In int
    The number of detections entered
    ObjectType string
    The detection type
    Out int
    The number of detections exited
    StartTime string
    The period start time
    EndTime string
    The period end time
    In int
    The number of detections entered
    ObjectType string
    The detection type
    Out int
    The number of detections exited
    StartTime string
    The period start time
    endTime String
    The period end time
    in Integer
    The number of detections entered
    objectType String
    The detection type
    out Integer
    The number of detections exited
    startTime String
    The period start time
    endTime string
    The period end time
    in number
    The number of detections entered
    objectType string
    The detection type
    out number
    The number of detections exited
    startTime string
    The period start time
    end_time str
    The period end time
    in_ int
    The number of detections entered
    object_type str
    The detection type
    out int
    The number of detections exited
    start_time str
    The period start time
    endTime String
    The period end time
    in Number
    The number of detections entered
    objectType String
    The detection type
    out Number
    The number of detections exited
    startTime 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.
    meraki logo
    Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi