@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
85 lines (84 loc) • 2.46 kB
TypeScript
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 UUID of the RADIUS server profile
*/
id: string;
/**
* The name of the RADIUS server profile
*/
name?: string;
}
/**
* A collection of values returned by getRadiusServerProfile.
*/
export interface GetRadiusServerProfileResult {
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly folder: string;
/**
* The UUID of the RADIUS server profile
*/
readonly id: string;
/**
* The name of the RADIUS server profile
*/
readonly name: string;
readonly protocol: outputs.GetRadiusServerProfileProtocol;
readonly retries: number;
readonly servers: outputs.GetRadiusServerProfileServer[];
readonly snippet: string;
readonly tfid: string;
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 UUID of the RADIUS server profile
*/
id: pulumi.Input<string>;
/**
* The name of the RADIUS server profile
*/
name?: pulumi.Input<string>;
}