@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
233 lines (232 loc) • 7.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* AuthenticationProfile resource
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const globalRadiusAccess = new scm.AuthenticationProfile("global_radius_access", {
* name: "test_auth_profile_radius_1",
* folder: "All",
* userDomain: "default",
* usernameModifier: "%USERINPUT%",
* allowLists: ["all"],
* lockout: {
* failedAttempts: 1,
* lockoutTime: 3,
* },
* method: {
* radius: {
* checkgroup: true,
* serverProfile: "CHAP_only_rsp_1",
* },
* },
* singleSignOn: {
* realm: "EXAMPLE.COM",
* },
* });
* const globalDbAccess = new scm.AuthenticationProfile("global_db_access", {
* name: "test_auth_profile_db_1",
* folder: "All",
* userDomain: "default",
* usernameModifier: "%USERINPUT%",
* allowLists: ["all"],
* lockout: {
* failedAttempts: 3,
* lockoutTime: 1,
* },
* method: {
* localDatabase: {},
* },
* singleSignOn: {
* realm: "EXAMPLE.COM",
* },
* });
* ```
*/
export declare class AuthenticationProfile extends pulumi.CustomResource {
/**
* Get an existing AuthenticationProfile resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthenticationProfileState, opts?: pulumi.CustomResourceOptions): AuthenticationProfile;
/**
* Returns true if the given object is an instance of AuthenticationProfile. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AuthenticationProfile;
/**
* The allowList of the authentication profile
*/
readonly allowLists: pulumi.Output<string[]>;
/**
* The device in which the resource is defined
*/
readonly device: pulumi.Output<string | undefined>;
/**
* The folder in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly folder: pulumi.Output<string | undefined>;
/**
* Lockout object of the authentication profile
*/
readonly lockout: pulumi.Output<outputs.AuthenticationProfileLockout | undefined>;
/**
* method object of authentication profile
*/
readonly method: pulumi.Output<outputs.AuthenticationProfileMethod | undefined>;
/**
* Multi factor auth
*/
readonly multiFactorAuth: pulumi.Output<outputs.AuthenticationProfileMultiFactorAuth | undefined>;
/**
* The name of the authentication profile
*/
readonly name: pulumi.Output<string>;
/**
* Single sign on
*/
readonly singleSignOn: pulumi.Output<outputs.AuthenticationProfileSingleSignOn | undefined>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: pulumi.Output<string | undefined>;
readonly tfid: pulumi.Output<string>;
/**
* User domain
*/
readonly userDomain: pulumi.Output<string | undefined>;
/**
* Username modifier
*/
readonly usernameModifier: pulumi.Output<string | undefined>;
/**
* Create a AuthenticationProfile resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: AuthenticationProfileArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AuthenticationProfile resources.
*/
export interface AuthenticationProfileState {
/**
* The allowList of the authentication profile
*/
allowLists?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The device in which the resource is defined
*/
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>;
/**
* Lockout object of the authentication profile
*/
lockout?: pulumi.Input<inputs.AuthenticationProfileLockout>;
/**
* method object of authentication profile
*/
method?: pulumi.Input<inputs.AuthenticationProfileMethod>;
/**
* Multi factor auth
*/
multiFactorAuth?: pulumi.Input<inputs.AuthenticationProfileMultiFactorAuth>;
/**
* The name of the authentication profile
*/
name?: pulumi.Input<string>;
/**
* Single sign on
*/
singleSignOn?: pulumi.Input<inputs.AuthenticationProfileSingleSignOn>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
tfid?: pulumi.Input<string>;
/**
* User domain
*/
userDomain?: pulumi.Input<string>;
/**
* Username modifier
*/
usernameModifier?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a AuthenticationProfile resource.
*/
export interface AuthenticationProfileArgs {
/**
* The allowList of the authentication profile
*/
allowLists?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The device in which the resource is defined
*/
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>;
/**
* Lockout object of the authentication profile
*/
lockout?: pulumi.Input<inputs.AuthenticationProfileLockout>;
/**
* method object of authentication profile
*/
method?: pulumi.Input<inputs.AuthenticationProfileMethod>;
/**
* Multi factor auth
*/
multiFactorAuth?: pulumi.Input<inputs.AuthenticationProfileMultiFactorAuth>;
/**
* The name of the authentication profile
*/
name?: pulumi.Input<string>;
/**
* Single sign on
*/
singleSignOn?: pulumi.Input<inputs.AuthenticationProfileSingleSignOn>;
/**
* The snippet in which the resource is defined
*
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
/**
* User domain
*/
userDomain?: pulumi.Input<string>;
/**
* Username modifier
*/
usernameModifier?: pulumi.Input<string>;
}