1. Packages
  2. Cisco Meraki
  3. API Docs
  4. devices
  5. getCameraCustomAnalytics
Cisco Meraki v0.2.9 published on Tuesday, Jul 16, 2024 by Pulumi

meraki.devices.getCameraCustomAnalytics

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.9 published on Tuesday, Jul 16, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.devices.getCameraCustomAnalytics({
        serial: "string",
    });
    export const merakiDevicesCameraCustomAnalyticsExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.devices.get_camera_custom_analytics(serial="string")
    pulumi.export("merakiDevicesCameraCustomAnalyticsExample", 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.LookupCameraCustomAnalytics(ctx, &devices.LookupCameraCustomAnalyticsArgs{
    			Serial: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiDevicesCameraCustomAnalyticsExample", 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.GetCameraCustomAnalytics.Invoke(new()
        {
            Serial = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiDevicesCameraCustomAnalyticsExample"] = example.Apply(getCameraCustomAnalyticsResult => getCameraCustomAnalyticsResult.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.GetCameraCustomAnalyticsArgs;
    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.getCameraCustomAnalytics(GetCameraCustomAnalyticsArgs.builder()
                .serial("string")
                .build());
    
            ctx.export("merakiDevicesCameraCustomAnalyticsExample", example.applyValue(getCameraCustomAnalyticsResult -> getCameraCustomAnalyticsResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:devices:getCameraCustomAnalytics
          Arguments:
            serial: string
    outputs:
      merakiDevicesCameraCustomAnalyticsExample: ${example.item}
    

    Using getCameraCustomAnalytics

    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 getCameraCustomAnalytics(args: GetCameraCustomAnalyticsArgs, opts?: InvokeOptions): Promise<GetCameraCustomAnalyticsResult>
    function getCameraCustomAnalyticsOutput(args: GetCameraCustomAnalyticsOutputArgs, opts?: InvokeOptions): Output<GetCameraCustomAnalyticsResult>
    def get_camera_custom_analytics(serial: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetCameraCustomAnalyticsResult
    def get_camera_custom_analytics_output(serial: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetCameraCustomAnalyticsResult]
    func LookupCameraCustomAnalytics(ctx *Context, args *LookupCameraCustomAnalyticsArgs, opts ...InvokeOption) (*LookupCameraCustomAnalyticsResult, error)
    func LookupCameraCustomAnalyticsOutput(ctx *Context, args *LookupCameraCustomAnalyticsOutputArgs, opts ...InvokeOption) LookupCameraCustomAnalyticsResultOutput

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

    public static class GetCameraCustomAnalytics 
    {
        public static Task<GetCameraCustomAnalyticsResult> InvokeAsync(GetCameraCustomAnalyticsArgs args, InvokeOptions? opts = null)
        public static Output<GetCameraCustomAnalyticsResult> Invoke(GetCameraCustomAnalyticsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCameraCustomAnalyticsResult> getCameraCustomAnalytics(GetCameraCustomAnalyticsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:devices/getCameraCustomAnalytics:getCameraCustomAnalytics
      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.

    getCameraCustomAnalytics Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCameraCustomAnalyticsItem
    Serial string
    serial path parameter.
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetCameraCustomAnalyticsItem
    Serial string
    serial path parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    item GetCameraCustomAnalyticsItem
    serial String
    serial path parameter.
    id string
    The provider-assigned unique ID for this managed resource.
    item GetCameraCustomAnalyticsItem
    serial string
    serial path parameter.
    id str
    The provider-assigned unique ID for this managed resource.
    item GetCameraCustomAnalyticsItem
    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

    GetCameraCustomAnalyticsItem

    ArtifactId string
    Custom analytics artifact ID
    Enabled bool
    Whether custom analytics is enabled
    Parameters List<GetCameraCustomAnalyticsItemParameter>
    Parameters for the custom analytics workload
    ArtifactId string
    Custom analytics artifact ID
    Enabled bool
    Whether custom analytics is enabled
    Parameters []GetCameraCustomAnalyticsItemParameter
    Parameters for the custom analytics workload
    artifactId String
    Custom analytics artifact ID
    enabled Boolean
    Whether custom analytics is enabled
    parameters List<GetCameraCustomAnalyticsItemParameter>
    Parameters for the custom analytics workload
    artifactId string
    Custom analytics artifact ID
    enabled boolean
    Whether custom analytics is enabled
    parameters GetCameraCustomAnalyticsItemParameter[]
    Parameters for the custom analytics workload
    artifact_id str
    Custom analytics artifact ID
    enabled bool
    Whether custom analytics is enabled
    parameters Sequence[GetCameraCustomAnalyticsItemParameter]
    Parameters for the custom analytics workload
    artifactId String
    Custom analytics artifact ID
    enabled Boolean
    Whether custom analytics is enabled
    parameters List<Property Map>
    Parameters for the custom analytics workload

    GetCameraCustomAnalyticsItemParameter

    Name string
    Name of the parameter
    Value double
    Value of the parameter
    Name string
    Name of the parameter
    Value float64
    Value of the parameter
    name String
    Name of the parameter
    value Double
    Value of the parameter
    name string
    Name of the parameter
    value number
    Value of the parameter
    name str
    Name of the parameter
    value float
    Value of the parameter
    name String
    Name of the parameter
    value Number
    Value of the parameter

    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.9 published on Tuesday, Jul 16, 2024 by Pulumi