@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
77 lines (76 loc) • 1.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Retrieves a config item.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const example = scm.getTacacsServerProfile({
* id: "1234-56-789",
* });
* ```
*/
export declare function getTacacsServerProfile(args: GetTacacsServerProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetTacacsServerProfileResult>;
/**
* A collection of arguments for invoking getTacacsServerProfile.
*/
export interface GetTacacsServerProfileArgs {
/**
* The Id param.
*/
id: string;
}
/**
* A collection of values returned by getTacacsServerProfile.
*/
export interface GetTacacsServerProfileResult {
/**
* The Id param.
*/
readonly id: string;
/**
* The Protocol param. String must be one of these: `"CHAP"`, `"PAP"`.
*/
readonly protocol: string;
/**
* The Servers param.
*/
readonly servers: outputs.GetTacacsServerProfileServer[];
readonly tfid: string;
/**
* The Timeout param. Value must be between 1 and 30.
*/
readonly timeout: number;
/**
* The UseSingleConnection param.
*/
readonly useSingleConnection: boolean;
}
/**
* Retrieves a config item.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const example = scm.getTacacsServerProfile({
* id: "1234-56-789",
* });
* ```
*/
export declare function getTacacsServerProfileOutput(args: GetTacacsServerProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTacacsServerProfileResult>;
/**
* A collection of arguments for invoking getTacacsServerProfile.
*/
export interface GetTacacsServerProfileOutputArgs {
/**
* The Id param.
*/
id: pulumi.Input<string>;
}