UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

125 lines (124 loc) 4.3 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = new meraki.devices.CameraSense("example", { * audioDetection: { * enabled: false, * }, * mqttBrokerId: "1234", * senseEnabled: true, * serial: "string", * }); * export const merakiDevicesCameraSenseExample = example; * ``` * * ## Import * * ```sh * $ pulumi import meraki:devices/cameraSense:CameraSense example "serial" * ``` */ export declare class CameraSense extends pulumi.CustomResource { /** * Get an existing CameraSense resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CameraSenseState, opts?: pulumi.CustomResourceOptions): CameraSense; /** * Returns true if the given object is an instance of CameraSense. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CameraSense; /** * The details of the audio detection config. */ readonly audioDetection: pulumi.Output<outputs.devices.CameraSenseAudioDetection>; /** * The ID of the object detection model */ readonly detectionModelId: pulumi.Output<string>; /** * The ID of the MQTT broker to be enabled on the camera. A value of null will disable MQTT on the camera */ readonly mqttBrokerId: pulumi.Output<string>; readonly mqttTopics: pulumi.Output<string[]>; /** * Boolean indicating if sense(license) is enabled(true) or disabled(false) on the camera */ readonly senseEnabled: pulumi.Output<boolean>; /** * serial path parameter. */ readonly serial: pulumi.Output<string>; /** * Create a CameraSense resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CameraSenseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CameraSense resources. */ export interface CameraSenseState { /** * The details of the audio detection config. */ audioDetection?: pulumi.Input<inputs.devices.CameraSenseAudioDetection>; /** * The ID of the object detection model */ detectionModelId?: pulumi.Input<string>; /** * The ID of the MQTT broker to be enabled on the camera. A value of null will disable MQTT on the camera */ mqttBrokerId?: pulumi.Input<string>; mqttTopics?: pulumi.Input<pulumi.Input<string>[]>; /** * Boolean indicating if sense(license) is enabled(true) or disabled(false) on the camera */ senseEnabled?: pulumi.Input<boolean>; /** * serial path parameter. */ serial?: pulumi.Input<string>; } /** * The set of arguments for constructing a CameraSense resource. */ export interface CameraSenseArgs { /** * The details of the audio detection config. */ audioDetection?: pulumi.Input<inputs.devices.CameraSenseAudioDetection>; /** * The ID of the object detection model */ detectionModelId?: pulumi.Input<string>; /** * The ID of the MQTT broker to be enabled on the camera. A value of null will disable MQTT on the camera */ mqttBrokerId?: pulumi.Input<string>; /** * Boolean indicating if sense(license) is enabled(true) or disabled(false) on the camera */ senseEnabled?: pulumi.Input<boolean>; /** * serial path parameter. */ serial: pulumi.Input<string>; }