@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
87 lines (86 loc) • 2.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to get information on an fortios system apiuser
*/
export declare function getApiuser(args: GetApiuserArgs, opts?: pulumi.InvokeOptions): Promise<GetApiuserResult>;
/**
* A collection of arguments for invoking getApiuser.
*/
export interface GetApiuserArgs {
/**
* Specify the name of the desired system apiuser.
*/
name: string;
/**
* Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
*/
vdomparam?: string;
}
/**
* A collection of values returned by getApiuser.
*/
export interface GetApiuserResult {
/**
* Admin user access profile.
*/
readonly accprofile: string;
/**
* Admin user password.
*/
readonly apiKey: string;
/**
* Comment.
*/
readonly comments: string;
/**
* Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible.
*/
readonly corsAllowOrigin: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Virtual domain name.
*/
readonly name: string;
/**
* Enable/disable peer authentication.
*/
readonly peerAuth: string;
/**
* Peer group name.
*/
readonly peerGroup: string;
/**
* Schedule name.
*/
readonly schedule: string;
/**
* Trusthost. The structure of `trusthost` block is documented below.
*/
readonly trusthosts: outputs.system.GetApiuserTrusthost[];
readonly vdomparam?: string;
/**
* Virtual domains. The structure of `vdom` block is documented below.
*/
readonly vdoms: outputs.system.GetApiuserVdom[];
}
/**
* Use this data source to get information on an fortios system apiuser
*/
export declare function getApiuserOutput(args: GetApiuserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiuserResult>;
/**
* A collection of arguments for invoking getApiuser.
*/
export interface GetApiuserOutputArgs {
/**
* Specify the name of the desired system apiuser.
*/
name: pulumi.Input<string>;
/**
* Specifies the vdom to which the data source will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
*/
vdomparam?: pulumi.Input<string>;
}