@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
93 lines (92 loc) • 2.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* AuthenticationProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const profileData = scm.getAuthenticationProfile({
* id: "de491856-1987-4b53-a3f7-e4f4a52067e3",
* });
* export const scmAuthenticationProfile = profileData.then(profileData => profileData.id);
* export const fetchedProfile = profileData;
* ```
*/
export declare function getAuthenticationProfile(args: GetAuthenticationProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthenticationProfileResult>;
/**
* A collection of arguments for invoking getAuthenticationProfile.
*/
export interface GetAuthenticationProfileArgs {
/**
* The UUID of the authentication profile
*/
id: string;
/**
* The name of the authentication profile
*/
name?: string;
}
/**
* A collection of values returned by getAuthenticationProfile.
*/
export interface GetAuthenticationProfileResult {
/**
* The allowList of the authentication profile
*/
readonly allowLists: string[];
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly folder: string;
/**
* The UUID of the authentication profile
*/
readonly id: string;
readonly lockout: outputs.GetAuthenticationProfileLockout;
readonly method: outputs.GetAuthenticationProfileMethod;
readonly multiFactorAuth: outputs.GetAuthenticationProfileMultiFactorAuth;
/**
* The name of the authentication profile
*/
readonly name: string;
readonly singleSignOn: outputs.GetAuthenticationProfileSingleSignOn;
readonly snippet: string;
readonly tfid: string;
readonly userDomain: string;
readonly usernameModifier: string;
}
/**
* AuthenticationProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const profileData = scm.getAuthenticationProfile({
* id: "de491856-1987-4b53-a3f7-e4f4a52067e3",
* });
* export const scmAuthenticationProfile = profileData.then(profileData => profileData.id);
* export const fetchedProfile = profileData;
* ```
*/
export declare function getAuthenticationProfileOutput(args: GetAuthenticationProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAuthenticationProfileResult>;
/**
* A collection of arguments for invoking getAuthenticationProfile.
*/
export interface GetAuthenticationProfileOutputArgs {
/**
* The UUID of the authentication profile
*/
id: pulumi.Input<string>;
/**
* The name of the authentication profile
*/
name?: pulumi.Input<string>;
}