UNPKG

@pulumi/meraki

Version:

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

120 lines (119 loc) 4.43 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import meraki:organizations/cameraRoles:CameraRoles example "organization_id,role_id" * ``` */ export declare class CameraRoles extends pulumi.CustomResource { /** * Get an existing CameraRoles 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?: CameraRolesState, opts?: pulumi.CustomResourceOptions): CameraRoles; /** * Returns true if the given object is an instance of CameraRoles. 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 CameraRoles; /** * Device tag on which this specified permission is applied. */ readonly appliedOnDevices: pulumi.Output<outputs.organizations.CameraRolesAppliedOnDevice[]>; /** * Network tag on which this specified permission is applied. */ readonly appliedOnNetworks: pulumi.Output<outputs.organizations.CameraRolesAppliedOnNetwork[]>; /** * Permissions to be applied org wide. */ readonly appliedOrgWides: pulumi.Output<outputs.organizations.CameraRolesAppliedOrgWide[]>; /** * The name of the new role. Must be unique. This parameter is required. */ readonly name: pulumi.Output<string>; /** * organizationId path parameter. Organization ID */ readonly organizationId: pulumi.Output<string>; /** * roleId path parameter. Role ID */ readonly roleId: pulumi.Output<string | undefined>; /** * Create a CameraRoles 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: CameraRolesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CameraRoles resources. */ export interface CameraRolesState { /** * Device tag on which this specified permission is applied. */ appliedOnDevices?: pulumi.Input<pulumi.Input<inputs.organizations.CameraRolesAppliedOnDevice>[]>; /** * Network tag on which this specified permission is applied. */ appliedOnNetworks?: pulumi.Input<pulumi.Input<inputs.organizations.CameraRolesAppliedOnNetwork>[]>; /** * Permissions to be applied org wide. */ appliedOrgWides?: pulumi.Input<pulumi.Input<inputs.organizations.CameraRolesAppliedOrgWide>[]>; /** * The name of the new role. Must be unique. This parameter is required. */ name?: pulumi.Input<string>; /** * organizationId path parameter. Organization ID */ organizationId?: pulumi.Input<string>; /** * roleId path parameter. Role ID */ roleId?: pulumi.Input<string>; } /** * The set of arguments for constructing a CameraRoles resource. */ export interface CameraRolesArgs { /** * Device tag on which this specified permission is applied. */ appliedOnDevices?: pulumi.Input<pulumi.Input<inputs.organizations.CameraRolesAppliedOnDevice>[]>; /** * Network tag on which this specified permission is applied. */ appliedOnNetworks?: pulumi.Input<pulumi.Input<inputs.organizations.CameraRolesAppliedOnNetwork>[]>; /** * Permissions to be applied org wide. */ appliedOrgWides?: pulumi.Input<pulumi.Input<inputs.organizations.CameraRolesAppliedOrgWide>[]>; /** * The name of the new role. Must be unique. This parameter is required. */ name?: pulumi.Input<string>; /** * organizationId path parameter. Organization ID */ organizationId: pulumi.Input<string>; /** * roleId path parameter. Role ID */ roleId?: pulumi.Input<string>; }