UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

74 lines (73 loc) 2.9 kB
import * as pulumi from "@pulumi/pulumi"; /** * This resource is used to upload a Device picture. * * This resource can be used to add a picture to a Wireless Access point, a Switch or a Gateway. A Maximum of 3 pictures can be uploaded. * * !> There is no validation on the Image currently uploaded to the Mist Cloud. Defining the same image twice (e.g. `image = 1`) for the same device will override the first image any warning or error. */ export declare class Image extends pulumi.CustomResource { /** * Get an existing Image 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?: ImageState, opts?: pulumi.CustomResourceOptions): Image; /** * Returns true if the given object is an instance of Image. 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 Image; readonly deviceId: pulumi.Output<string>; /** * path to the device image file to upload. File must be a `jpeg`, `jpg` or `png` image` */ readonly file: pulumi.Output<string>; /** * number of the image, between 1 and 3 */ readonly imageNumber: pulumi.Output<number>; readonly siteId: pulumi.Output<string>; /** * Create a Image 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: ImageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Image resources. */ export interface ImageState { deviceId?: pulumi.Input<string>; /** * path to the device image file to upload. File must be a `jpeg`, `jpg` or `png` image` */ file?: pulumi.Input<string>; /** * number of the image, between 1 and 3 */ imageNumber?: pulumi.Input<number>; siteId?: pulumi.Input<string>; } /** * The set of arguments for constructing a Image resource. */ export interface ImageArgs { deviceId: pulumi.Input<string>; /** * path to the device image file to upload. File must be a `jpeg`, `jpg` or `png` image` */ file: pulumi.Input<string>; /** * number of the image, between 1 and 3 */ imageNumber: pulumi.Input<number>; siteId: pulumi.Input<string>; }