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

meraki.organizations.getCameraBoundariesAreasByDevice

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.getCameraBoundariesAreasByDevice({
        organizationId: "string",
        serials: ["string"],
    });
    export const merakiOrganizationsCameraBoundariesAreasByDeviceExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.get_camera_boundaries_areas_by_device(organization_id="string",
        serials=["string"])
    pulumi.export("merakiOrganizationsCameraBoundariesAreasByDeviceExample", 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.GetCameraBoundariesAreasByDevice(ctx, &organizations.GetCameraBoundariesAreasByDeviceArgs{
    			OrganizationId: "string",
    			Serials: []string{
    				"string",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsCameraBoundariesAreasByDeviceExample", 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.GetCameraBoundariesAreasByDevice.Invoke(new()
        {
            OrganizationId = "string",
            Serials = new[]
            {
                "string",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsCameraBoundariesAreasByDeviceExample"] = example.Apply(getCameraBoundariesAreasByDeviceResult => getCameraBoundariesAreasByDeviceResult.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.GetCameraBoundariesAreasByDeviceArgs;
    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.getCameraBoundariesAreasByDevice(GetCameraBoundariesAreasByDeviceArgs.builder()
                .organizationId("string")
                .serials("string")
                .build());
    
            ctx.export("merakiOrganizationsCameraBoundariesAreasByDeviceExample", example.applyValue(getCameraBoundariesAreasByDeviceResult -> getCameraBoundariesAreasByDeviceResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:organizations:getCameraBoundariesAreasByDevice
          Arguments:
            organizationId: string
            serials:
              - string
    outputs:
      merakiOrganizationsCameraBoundariesAreasByDeviceExample: ${example.items}
    

    Using getCameraBoundariesAreasByDevice

    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 getCameraBoundariesAreasByDevice(args: GetCameraBoundariesAreasByDeviceArgs, opts?: InvokeOptions): Promise<GetCameraBoundariesAreasByDeviceResult>
    function getCameraBoundariesAreasByDeviceOutput(args: GetCameraBoundariesAreasByDeviceOutputArgs, opts?: InvokeOptions): Output<GetCameraBoundariesAreasByDeviceResult>
    def get_camera_boundaries_areas_by_device(organization_id: Optional[str] = None,
                                              serials: Optional[Sequence[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetCameraBoundariesAreasByDeviceResult
    def get_camera_boundaries_areas_by_device_output(organization_id: Optional[pulumi.Input[str]] = None,
                                              serials: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetCameraBoundariesAreasByDeviceResult]
    func GetCameraBoundariesAreasByDevice(ctx *Context, args *GetCameraBoundariesAreasByDeviceArgs, opts ...InvokeOption) (*GetCameraBoundariesAreasByDeviceResult, error)
    func GetCameraBoundariesAreasByDeviceOutput(ctx *Context, args *GetCameraBoundariesAreasByDeviceOutputArgs, opts ...InvokeOption) GetCameraBoundariesAreasByDeviceResultOutput

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

    public static class GetCameraBoundariesAreasByDevice 
    {
        public static Task<GetCameraBoundariesAreasByDeviceResult> InvokeAsync(GetCameraBoundariesAreasByDeviceArgs args, InvokeOptions? opts = null)
        public static Output<GetCameraBoundariesAreasByDeviceResult> Invoke(GetCameraBoundariesAreasByDeviceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCameraBoundariesAreasByDeviceResult> getCameraBoundariesAreasByDevice(GetCameraBoundariesAreasByDeviceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:organizations/getCameraBoundariesAreasByDevice:getCameraBoundariesAreasByDevice
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrganizationId string
    organizationId path parameter. Organization ID
    Serials List<string>
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    OrganizationId string
    organizationId path parameter. Organization ID
    Serials []string
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    organizationId String
    organizationId path parameter. Organization ID
    serials List<String>
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    organizationId string
    organizationId path parameter. Organization ID
    serials string[]
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    organization_id str
    organizationId path parameter. Organization ID
    serials Sequence[str]
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    organizationId String
    organizationId path parameter. Organization ID
    serials List<String>
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.

    getCameraBoundariesAreasByDevice Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetCameraBoundariesAreasByDeviceItem>
    Array of ResponseCameraGetOrganizationCameraBoundariesAreasByDevice
    OrganizationId string
    organizationId path parameter. Organization ID
    Serials List<string>
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetCameraBoundariesAreasByDeviceItem
    Array of ResponseCameraGetOrganizationCameraBoundariesAreasByDevice
    OrganizationId string
    organizationId path parameter. Organization ID
    Serials []string
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetCameraBoundariesAreasByDeviceItem>
    Array of ResponseCameraGetOrganizationCameraBoundariesAreasByDevice
    organizationId String
    organizationId path parameter. Organization ID
    serials List<String>
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    id string
    The provider-assigned unique ID for this managed resource.
    items GetCameraBoundariesAreasByDeviceItem[]
    Array of ResponseCameraGetOrganizationCameraBoundariesAreasByDevice
    organizationId string
    organizationId path parameter. Organization ID
    serials string[]
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetCameraBoundariesAreasByDeviceItem]
    Array of ResponseCameraGetOrganizationCameraBoundariesAreasByDevice
    organization_id str
    organizationId path parameter. Organization ID
    serials Sequence[str]
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseCameraGetOrganizationCameraBoundariesAreasByDevice
    organizationId String
    organizationId path parameter. Organization ID
    serials List<String>
    serials query parameter. A list of serial numbers. The returned cameras will be filtered to only include these serials.

    Supporting Types

    GetCameraBoundariesAreasByDeviceItem

    Boundaries GetCameraBoundariesAreasByDeviceItemBoundaries
    Configured area boundaries of the camera
    NetworkId string
    The network id of the camera
    Serial string
    The serial number of the camera
    Boundaries GetCameraBoundariesAreasByDeviceItemBoundaries
    Configured area boundaries of the camera
    NetworkId string
    The network id of the camera
    Serial string
    The serial number of the camera
    boundaries GetCameraBoundariesAreasByDeviceItemBoundaries
    Configured area boundaries of the camera
    networkId String
    The network id of the camera
    serial String
    The serial number of the camera
    boundaries GetCameraBoundariesAreasByDeviceItemBoundaries
    Configured area boundaries of the camera
    networkId string
    The network id of the camera
    serial string
    The serial number of the camera
    boundaries GetCameraBoundariesAreasByDeviceItemBoundaries
    Configured area boundaries of the camera
    network_id str
    The network id of the camera
    serial str
    The serial number of the camera
    boundaries Property Map
    Configured area boundaries of the camera
    networkId String
    The network id of the camera
    serial String
    The serial number of the camera

    GetCameraBoundariesAreasByDeviceItemBoundaries

    Id string
    The area boundary id
    Name string
    The area boundary name
    Type string
    The area boundary type
    Vertices List<GetCameraBoundariesAreasByDeviceItemBoundariesVertex>
    The area boundary vertices
    Id string
    The area boundary id
    Name string
    The area boundary name
    Type string
    The area boundary type
    Vertices []GetCameraBoundariesAreasByDeviceItemBoundariesVertex
    The area boundary vertices
    id String
    The area boundary id
    name String
    The area boundary name
    type String
    The area boundary type
    vertices List<GetCameraBoundariesAreasByDeviceItemBoundariesVertex>
    The area boundary vertices
    id string
    The area boundary id
    name string
    The area boundary name
    type string
    The area boundary type
    vertices GetCameraBoundariesAreasByDeviceItemBoundariesVertex[]
    The area boundary vertices
    id str
    The area boundary id
    name str
    The area boundary name
    type str
    The area boundary type
    vertices Sequence[GetCameraBoundariesAreasByDeviceItemBoundariesVertex]
    The area boundary vertices
    id String
    The area boundary id
    name String
    The area boundary name
    type String
    The area boundary type
    vertices List<Property Map>
    The area boundary vertices

    GetCameraBoundariesAreasByDeviceItemBoundariesVertex

    X double
    The vertex x coordinate
    Y double
    The vertex y coordinate
    X float64
    The vertex x coordinate
    Y float64
    The vertex y coordinate
    x Double
    The vertex x coordinate
    y Double
    The vertex y coordinate
    x number
    The vertex x coordinate
    y number
    The vertex y coordinate
    x float
    The vertex x coordinate
    y float
    The vertex y coordinate
    x Number
    The vertex x coordinate
    y Number
    The vertex y coordinate

    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