UNPKG

@pulumi/scm

Version:

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

136 lines (135 loc) 4.22 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * RadiusServerProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleProfileById = scm.getRadiusServerProfile({ * id: "50e5f694-19a2-467b-90a8-9db168600327", * }); * export const singleRspDump = singleProfileById.then(singleProfileById => singleProfileById.name); * ``` */ export declare function getRadiusServerProfile(args: GetRadiusServerProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetRadiusServerProfileResult>; /** * A collection of arguments for invoking getRadiusServerProfile. */ export interface GetRadiusServerProfileArgs { /** * 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; /** * The UUID of the RADIUS server profile */ id: string; /** * The name of the RADIUS server profile */ name?: 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 getRadiusServerProfile. */ export interface GetRadiusServerProfileResult { /** * 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; /** * The UUID of the RADIUS server profile */ readonly id: string; /** * The name of the RADIUS server profile */ readonly name: string; /** * The RADIUS authentication protocol */ readonly protocol: outputs.GetRadiusServerProfileProtocol; /** * The number of RADIUS server retries */ readonly retries: number; /** * Server */ readonly servers: outputs.GetRadiusServerProfileServer[]; /** * 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; /** * The RADIUS server authentication timeout (seconds) */ readonly timeout: number; } /** * RadiusServerProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleProfileById = scm.getRadiusServerProfile({ * id: "50e5f694-19a2-467b-90a8-9db168600327", * }); * export const singleRspDump = singleProfileById.then(singleProfileById => singleProfileById.name); * ``` */ export declare function getRadiusServerProfileOutput(args: GetRadiusServerProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRadiusServerProfileResult>; /** * A collection of arguments for invoking getRadiusServerProfile. */ export interface GetRadiusServerProfileOutputArgs { /** * 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>; /** * The UUID of the RADIUS server profile */ id: pulumi.Input<string>; /** * The name of the RADIUS server profile */ name?: 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>; }