UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

112 lines (111 loc) 3.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * SessionSetting data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const settingsData = scm.getSessionSetting({ * id: "e869d51d-0d34-4c89-a674-1824cec0eeae", * }); * export const fetchedSettings = settingsData; * ``` */ export declare function getSessionSetting(args: GetSessionSettingArgs, opts?: pulumi.InvokeOptions): Promise<GetSessionSettingResult>; /** * A collection of arguments for invoking getSessionSetting. */ export interface GetSessionSettingArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * UUID of the resource */ id: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: string; } /** * A collection of values returned by getSessionSetting. */ export interface GetSessionSettingResult { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Session settings */ readonly sessionSettings: outputs.GetSessionSettingSessionSettings; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; readonly tfid: string; } /** * SessionSetting data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const settingsData = scm.getSessionSetting({ * id: "e869d51d-0d34-4c89-a674-1824cec0eeae", * }); * export const fetchedSettings = settingsData; * ``` */ export declare function getSessionSettingOutput(args: GetSessionSettingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSessionSettingResult>; /** * A collection of arguments for invoking getSessionSetting. */ export interface GetSessionSettingOutputArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * UUID of the resource */ id: pulumi.Input<string>; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; }