1. Packages
  2. Cisco Meraki
  3. API Docs
  4. devices
  5. getCameraSense
Cisco Meraki v0.2.0 published on Friday, May 24, 2024 by Pulumi

meraki.devices.getCameraSense

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.0 published on Friday, May 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.devices.getCameraSense({
        serial: "string",
    });
    export const merakiDevicesCameraSenseExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.devices.get_camera_sense(serial="string")
    pulumi.export("merakiDevicesCameraSenseExample", example.item)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/devices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := devices.LookupCameraSense(ctx, &devices.LookupCameraSenseArgs{
    			Serial: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiDevicesCameraSenseExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Devices.GetCameraSense.Invoke(new()
        {
            Serial = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiDevicesCameraSenseExample"] = example.Apply(getCameraSenseResult => getCameraSenseResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.devices.DevicesFunctions;
    import com.pulumi.meraki.devices.inputs.GetCameraSenseArgs;
    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 = DevicesFunctions.getCameraSense(GetCameraSenseArgs.builder()
                .serial("string")
                .build());
    
            ctx.export("merakiDevicesCameraSenseExample", example.applyValue(getCameraSenseResult -> getCameraSenseResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:devices:getCameraSense
          Arguments:
            serial: string
    outputs:
      merakiDevicesCameraSenseExample: ${example.item}
    

    Using getCameraSense

    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 getCameraSense(args: GetCameraSenseArgs, opts?: InvokeOptions): Promise<GetCameraSenseResult>
    function getCameraSenseOutput(args: GetCameraSenseOutputArgs, opts?: InvokeOptions): Output<GetCameraSenseResult>
    def get_camera_sense(serial: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCameraSenseResult
    def get_camera_sense_output(serial: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCameraSenseResult]
    func LookupCameraSense(ctx *Context, args *LookupCameraSenseArgs, opts ...InvokeOption) (*LookupCameraSenseResult, error)
    func LookupCameraSenseOutput(ctx *Context, args *LookupCameraSenseOutputArgs, opts ...InvokeOption) LookupCameraSenseResultOutput

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

    public static class GetCameraSense 
    {
        public static Task<GetCameraSenseResult> InvokeAsync(GetCameraSenseArgs args, InvokeOptions? opts = null)
        public static Output<GetCameraSenseResult> Invoke(GetCameraSenseInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCameraSenseResult> getCameraSense(GetCameraSenseArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:devices/getCameraSense:getCameraSense
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Serial string
    serial path parameter.
    Serial string
    serial path parameter.
    serial String
    serial path parameter.
    serial string
    serial path parameter.
    serial str
    serial path parameter.
    serial String
    serial path parameter.

    getCameraSense Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCameraSenseItem
    Serial string
    serial path parameter.
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCameraSenseItem
    Serial string
    serial path parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    item GetCameraSenseItem
    serial String
    serial path parameter.
    id string
    The provider-assigned unique ID for this managed resource.
    item GetCameraSenseItem
    serial string
    serial path parameter.
    id str
    The provider-assigned unique ID for this managed resource.
    item GetCameraSenseItem
    serial str
    serial path parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    serial String
    serial path parameter.

    Supporting Types

    GetCameraSenseItem

    GetCameraSenseItemAudioDetection

    Enabled bool
    Enabled bool
    enabled Boolean
    enabled boolean
    enabled bool
    enabled Boolean

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