UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

88 lines 3.28 kB
import * as pulumi from "@pulumi/pulumi"; /** * This resource managed the Org Site Groups (sitegroups). * * A site group is a feature that allows admins to group multiple sites together based on regions, functions, or other parameters for efficient management of devices.\ * Sites can exist in multiple groups simultaneously, and site groups can be used to ensure consistent settings, manage administrator access, and apply specific templates to groups of sites. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const sitegroupOne = new junipermist.org.Sitegroup("sitegroup_one", { * orgId: terraformTest.id, * name: "sitegroup_one", * }); * ``` * * ## Import * * Using `pulumi import`, import `junipermist.org.Sitegroup` with: * Org Site Group can be imported by specifying the orgId and the sitegroupId * * ```sh * $ pulumi import junipermist:org/sitegroup:Sitegroup sitegroup_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309 * ``` */ export declare class Sitegroup extends pulumi.CustomResource { /** * Get an existing Sitegroup 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?: SitegroupState, opts?: pulumi.CustomResourceOptions): Sitegroup; /** * Returns true if the given object is an instance of Sitegroup. 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 Sitegroup; /** * Display name of the site group */ readonly name: pulumi.Output<string>; /** * Identifier of the org that owns the site group */ readonly orgId: pulumi.Output<string>; /** * Create a Sitegroup 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: SitegroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Sitegroup resources. */ export interface SitegroupState { /** * Display name of the site group */ name?: pulumi.Input<string | undefined>; /** * Identifier of the org that owns the site group */ orgId?: pulumi.Input<string | undefined>; } /** * The set of arguments for constructing a Sitegroup resource. */ export interface SitegroupArgs { /** * Display name of the site group */ name?: pulumi.Input<string | undefined>; /** * Identifier of the org that owns the site group */ orgId: pulumi.Input<string>; } //# sourceMappingURL=sitegroup.d.ts.map