UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

81 lines (80 loc) 3.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides the list Org Psks. * * A multi PSK (Pre-Shared Key) is a feature that allows the use of multiple PSKs for securing network connections.\ * It provides a simple and comprehensive way to onboard client devices without relying on client mac addresses.\ * Each psk has its own key name, which can be used for user-level accountability, key rotation, and visibility in the management platform. It supports the creation, rotation, and auto-expiration of psks, and allows vlan assignment and role assignment for dynamic per-user policies.\ * Multi PSKs create virtual broadcast domains and can be used for end-user onboarding via authenticated sso login. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const psksVip = junipermist.org.getPsks({ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550", * name: "psk_one", * role: "vip", * ssid: "psk_ssid", * }); * ``` */ export declare function getPsks(args: GetPsksArgs, opts?: pulumi.InvokeOptions): Promise<GetPsksResult>; /** * A collection of arguments for invoking getPsks. */ export interface GetPsksArgs { name?: string; orgId: string; role?: string; ssid?: string; } /** * A collection of values returned by getPsks. */ export interface GetPsksResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name?: string; readonly orgId: string; readonly orgPsks: outputs.org.GetPsksOrgPsk[]; readonly role?: string; readonly ssid?: string; } /** * This data source provides the list Org Psks. * * A multi PSK (Pre-Shared Key) is a feature that allows the use of multiple PSKs for securing network connections.\ * It provides a simple and comprehensive way to onboard client devices without relying on client mac addresses.\ * Each psk has its own key name, which can be used for user-level accountability, key rotation, and visibility in the management platform. It supports the creation, rotation, and auto-expiration of psks, and allows vlan assignment and role assignment for dynamic per-user policies.\ * Multi PSKs create virtual broadcast domains and can be used for end-user onboarding via authenticated sso login. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const psksVip = junipermist.org.getPsks({ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550", * name: "psk_one", * role: "vip", * ssid: "psk_ssid", * }); * ``` */ export declare function getPsksOutput(args: GetPsksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPsksResult>; /** * A collection of arguments for invoking getPsks. */ export interface GetPsksOutputArgs { name?: pulumi.Input<string>; orgId: pulumi.Input<string>; role?: pulumi.Input<string>; ssid?: pulumi.Input<string>; }