@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
112 lines (111 loc) • 3.7 kB
TypeScript
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.CameraCustomAnalytics("example", {
* artifactId: "1",
* enabled: true,
* parameters: [{
* name: "detection_threshold",
* value: 0.5,
* }],
* serial: "string",
* });
* export const merakiDevicesCameraCustomAnalyticsExample = example;
* ```
*
* ## Import
*
* ```sh
* $ pulumi import meraki:devices/cameraCustomAnalytics:CameraCustomAnalytics example "serial"
* ```
*/
export declare class CameraCustomAnalytics extends pulumi.CustomResource {
/**
* Get an existing CameraCustomAnalytics 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?: CameraCustomAnalyticsState, opts?: pulumi.CustomResourceOptions): CameraCustomAnalytics;
/**
* Returns true if the given object is an instance of CameraCustomAnalytics. 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 CameraCustomAnalytics;
/**
* Custom analytics artifact ID
*/
readonly artifactId: pulumi.Output<string>;
/**
* Whether custom analytics is enabled
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Parameters for the custom analytics workload
*/
readonly parameters: pulumi.Output<outputs.devices.CameraCustomAnalyticsParameter[]>;
/**
* serial path parameter.
*/
readonly serial: pulumi.Output<string>;
/**
* Create a CameraCustomAnalytics 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: CameraCustomAnalyticsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CameraCustomAnalytics resources.
*/
export interface CameraCustomAnalyticsState {
/**
* Custom analytics artifact ID
*/
artifactId?: pulumi.Input<string>;
/**
* Whether custom analytics is enabled
*/
enabled?: pulumi.Input<boolean>;
/**
* Parameters for the custom analytics workload
*/
parameters?: pulumi.Input<pulumi.Input<inputs.devices.CameraCustomAnalyticsParameter>[]>;
/**
* serial path parameter.
*/
serial?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CameraCustomAnalytics resource.
*/
export interface CameraCustomAnalyticsArgs {
/**
* Custom analytics artifact ID
*/
artifactId?: pulumi.Input<string>;
/**
* Whether custom analytics is enabled
*/
enabled?: pulumi.Input<boolean>;
/**
* Parameters for the custom analytics workload
*/
parameters?: pulumi.Input<pulumi.Input<inputs.devices.CameraCustomAnalyticsParameter>[]>;
/**
* serial path parameter.
*/
serial: pulumi.Input<string>;
}