@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
150 lines (149 loc) • 4.65 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 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 authentication profile
*/
id: string;
/**
* The name of the authentication 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 getAuthenticationProfile.
*/
export interface GetAuthenticationProfileResult {
/**
* The allowList of the authentication profile
*/
readonly allowLists: string[];
/**
* 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 authentication profile
*/
readonly id: string;
/**
* Lockout object of the authentication profile
*/
readonly lockout: outputs.GetAuthenticationProfileLockout;
/**
* method object of authentication profile
*/
readonly method: outputs.GetAuthenticationProfileMethod;
/**
* Multi factor auth
*/
readonly multiFactorAuth: outputs.GetAuthenticationProfileMultiFactorAuth;
/**
* The name of the authentication profile
*/
readonly name: string;
/**
* Single sign on
*/
readonly singleSignOn: outputs.GetAuthenticationProfileSingleSignOn;
/**
* 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;
/**
* User domain
*/
readonly userDomain: string;
/**
* Username modifier
*/
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 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 authentication profile
*/
id: pulumi.Input<string>;
/**
* The name of the authentication 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>;
}