UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

151 lines (150 loc) 5.58 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to configure administrator accounts of FortiOS. * * !> **Warning:** The resource will be deprecated and replaced by new resource `fortios.system.Admin`, we recommend that you use the new resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const admintest = new fortios.system.AdminAdministrator("admintest", { * accprofile: "3d3", * comments: "comments", * password: "cc37331AC1", * trusthost1: "1.1.1.0 255.255.255.0", * trusthost2: "2.2.2.0 255.255.255.0", * vdoms: ["root"], * }); * ``` */ export declare class AdminAdministrator extends pulumi.CustomResource { /** * Get an existing AdminAdministrator 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?: AdminAdministratorState, opts?: pulumi.CustomResourceOptions): AdminAdministrator; /** * Returns true if the given object is an instance of AdminAdministrator. 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 AdminAdministrator; /** * Access profile for this administrator. Access profiles control administrator access to FortiGate features. */ readonly accprofile: pulumi.Output<string>; /** * Comment. */ readonly comments: pulumi.Output<string | undefined>; /** * User name. */ readonly name: pulumi.Output<string>; /** * Admin user password. * * `trusthostN` - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. */ readonly password: pulumi.Output<string>; readonly trusthost1: pulumi.Output<string>; readonly trusthost10: pulumi.Output<string>; readonly trusthost2: pulumi.Output<string>; readonly trusthost3: pulumi.Output<string>; readonly trusthost4: pulumi.Output<string>; readonly trusthost5: pulumi.Output<string>; readonly trusthost6: pulumi.Output<string>; readonly trusthost7: pulumi.Output<string>; readonly trusthost8: pulumi.Output<string>; readonly trusthost9: pulumi.Output<string>; /** * Virtual domain(s) that the administrator can access. */ readonly vdoms: pulumi.Output<string[]>; /** * Create a AdminAdministrator 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: AdminAdministratorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AdminAdministrator resources. */ export interface AdminAdministratorState { /** * Access profile for this administrator. Access profiles control administrator access to FortiGate features. */ accprofile?: pulumi.Input<string>; /** * Comment. */ comments?: pulumi.Input<string>; /** * User name. */ name?: pulumi.Input<string>; /** * Admin user password. * * `trusthostN` - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. */ password?: pulumi.Input<string>; trusthost1?: pulumi.Input<string>; trusthost10?: pulumi.Input<string>; trusthost2?: pulumi.Input<string>; trusthost3?: pulumi.Input<string>; trusthost4?: pulumi.Input<string>; trusthost5?: pulumi.Input<string>; trusthost6?: pulumi.Input<string>; trusthost7?: pulumi.Input<string>; trusthost8?: pulumi.Input<string>; trusthost9?: pulumi.Input<string>; /** * Virtual domain(s) that the administrator can access. */ vdoms?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a AdminAdministrator resource. */ export interface AdminAdministratorArgs { /** * Access profile for this administrator. Access profiles control administrator access to FortiGate features. */ accprofile: pulumi.Input<string>; /** * Comment. */ comments?: pulumi.Input<string>; /** * User name. */ name?: pulumi.Input<string>; /** * Admin user password. * * `trusthostN` - Any IPv4 address or subnet address and netmask from which the administrator can connect to the FortiGate unit. */ password: pulumi.Input<string>; trusthost1?: pulumi.Input<string>; trusthost10?: pulumi.Input<string>; trusthost2?: pulumi.Input<string>; trusthost3?: pulumi.Input<string>; trusthost4?: pulumi.Input<string>; trusthost5?: pulumi.Input<string>; trusthost6?: pulumi.Input<string>; trusthost7?: pulumi.Input<string>; trusthost8?: pulumi.Input<string>; trusthost9?: pulumi.Input<string>; /** * Virtual domain(s) that the administrator can access. */ vdoms?: pulumi.Input<pulumi.Input<string>[]>; }