@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
277 lines (276 loc) • 8.86 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Configure external resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumiverse/fortios";
*
* const trname = new fortios.system.Externalresource("trname", {
* category: 199,
* refreshRate: 5,
* resource: "https://tmpxxxxx.com",
* status: "enable",
* type: "category",
* });
* ```
*
* ## Import
*
* System ExternalResource can be imported using any of these accepted formats:
*
* ```sh
* $ pulumi import fortios:system/externalresource:Externalresource labelname {{name}}
* ```
*
* If you do not want to import arguments of block:
*
* $ export "FORTIOS_IMPORT_TABLE"="false"
*
* ```sh
* $ pulumi import fortios:system/externalresource:Externalresource labelname {{name}}
* ```
*
* $ unset "FORTIOS_IMPORT_TABLE"
*/
export declare class Externalresource extends pulumi.CustomResource {
/**
* Get an existing Externalresource 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?: ExternalresourceState, opts?: pulumi.CustomResourceOptions): Externalresource;
/**
* Returns true if the given object is an instance of Externalresource. 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 Externalresource;
/**
* User resource category.
*/
readonly category: pulumi.Output<number>;
/**
* Comment.
*/
readonly comments: pulumi.Output<string | undefined>;
/**
* Specify outgoing interface to reach server.
*/
readonly interface: pulumi.Output<string>;
/**
* Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
*/
readonly interfaceSelectMethod: pulumi.Output<string>;
/**
* External resource name.
*/
readonly name: pulumi.Output<string>;
/**
* HTTP basic authentication password.
*/
readonly password: pulumi.Output<string | undefined>;
/**
* Time interval to refresh external resource (1 - 43200 min, default = 5 min).
*/
readonly refreshRate: pulumi.Output<number>;
/**
* URI of external resource.
*/
readonly resource: pulumi.Output<string>;
/**
* Certificate verification option. Valid values: `none`, `basic`, `full`.
*/
readonly serverIdentityCheck: pulumi.Output<string>;
/**
* Source IPv4 address used to communicate with server.
*/
readonly sourceIp: pulumi.Output<string>;
/**
* Enable/disable user resource. Valid values: `enable`, `disable`.
*/
readonly status: pulumi.Output<string>;
/**
* User resource type.
*/
readonly type: pulumi.Output<string>;
/**
* External resource update method. Valid values: `feed`, `push`.
*/
readonly updateMethod: pulumi.Output<string>;
/**
* HTTP User-Agent header (default = 'curl/7.58.0').
*/
readonly userAgent: pulumi.Output<string>;
/**
* HTTP basic authentication user name.
*/
readonly username: pulumi.Output<string>;
/**
* Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
*/
readonly uuid: pulumi.Output<string>;
/**
* Specifies the vdom to which the resource 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.
*/
readonly vdomparam: pulumi.Output<string>;
/**
* Create a Externalresource 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: ExternalresourceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Externalresource resources.
*/
export interface ExternalresourceState {
/**
* User resource category.
*/
category?: pulumi.Input<number>;
/**
* Comment.
*/
comments?: pulumi.Input<string>;
/**
* Specify outgoing interface to reach server.
*/
interface?: pulumi.Input<string>;
/**
* Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
*/
interfaceSelectMethod?: pulumi.Input<string>;
/**
* External resource name.
*/
name?: pulumi.Input<string>;
/**
* HTTP basic authentication password.
*/
password?: pulumi.Input<string>;
/**
* Time interval to refresh external resource (1 - 43200 min, default = 5 min).
*/
refreshRate?: pulumi.Input<number>;
/**
* URI of external resource.
*/
resource?: pulumi.Input<string>;
/**
* Certificate verification option. Valid values: `none`, `basic`, `full`.
*/
serverIdentityCheck?: pulumi.Input<string>;
/**
* Source IPv4 address used to communicate with server.
*/
sourceIp?: pulumi.Input<string>;
/**
* Enable/disable user resource. Valid values: `enable`, `disable`.
*/
status?: pulumi.Input<string>;
/**
* User resource type.
*/
type?: pulumi.Input<string>;
/**
* External resource update method. Valid values: `feed`, `push`.
*/
updateMethod?: pulumi.Input<string>;
/**
* HTTP User-Agent header (default = 'curl/7.58.0').
*/
userAgent?: pulumi.Input<string>;
/**
* HTTP basic authentication user name.
*/
username?: pulumi.Input<string>;
/**
* Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
*/
uuid?: pulumi.Input<string>;
/**
* Specifies the vdom to which the resource 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>;
}
/**
* The set of arguments for constructing a Externalresource resource.
*/
export interface ExternalresourceArgs {
/**
* User resource category.
*/
category?: pulumi.Input<number>;
/**
* Comment.
*/
comments?: pulumi.Input<string>;
/**
* Specify outgoing interface to reach server.
*/
interface?: pulumi.Input<string>;
/**
* Specify how to select outgoing interface to reach server. Valid values: `auto`, `sdwan`, `specify`.
*/
interfaceSelectMethod?: pulumi.Input<string>;
/**
* External resource name.
*/
name?: pulumi.Input<string>;
/**
* HTTP basic authentication password.
*/
password?: pulumi.Input<string>;
/**
* Time interval to refresh external resource (1 - 43200 min, default = 5 min).
*/
refreshRate: pulumi.Input<number>;
/**
* URI of external resource.
*/
resource: pulumi.Input<string>;
/**
* Certificate verification option. Valid values: `none`, `basic`, `full`.
*/
serverIdentityCheck?: pulumi.Input<string>;
/**
* Source IPv4 address used to communicate with server.
*/
sourceIp?: pulumi.Input<string>;
/**
* Enable/disable user resource. Valid values: `enable`, `disable`.
*/
status?: pulumi.Input<string>;
/**
* User resource type.
*/
type?: pulumi.Input<string>;
/**
* External resource update method. Valid values: `feed`, `push`.
*/
updateMethod?: pulumi.Input<string>;
/**
* HTTP User-Agent header (default = 'curl/7.58.0').
*/
userAgent?: pulumi.Input<string>;
/**
* HTTP basic authentication user name.
*/
username?: pulumi.Input<string>;
/**
* Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
*/
uuid?: pulumi.Input<string>;
/**
* Specifies the vdom to which the resource 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>;
}