UNPKG

@pulumiverse/fortios

Version:

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

196 lines (195 loc) 6.31 kB
import * as pulumi from "@pulumi/pulumi"; /** * Configure WAN metrics. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const trname = new fortios.wirelesscontroller.hotspot20.H2qpwanmetric("trname", { * downlinkLoad: 0, * downlinkSpeed: 2400, * linkAtCapacity: "disable", * linkStatus: "up", * loadMeasurementDuration: 0, * symmetricWanLink: "symmetric", * uplinkLoad: 0, * uplinkSpeed: 2400, * }); * ``` * * ## Import * * WirelessControllerHotspot20 H2QpWanMetric can be imported using any of these accepted formats: * * ```sh * $ pulumi import fortios:wirelesscontroller/hotspot20/h2qpwanmetric:H2qpwanmetric labelname {{name}} * ``` * * If you do not want to import arguments of block: * * $ export "FORTIOS_IMPORT_TABLE"="false" * * ```sh * $ pulumi import fortios:wirelesscontroller/hotspot20/h2qpwanmetric:H2qpwanmetric labelname {{name}} * ``` * * $ unset "FORTIOS_IMPORT_TABLE" */ export declare class H2qpwanmetric extends pulumi.CustomResource { /** * Get an existing H2qpwanmetric 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?: H2qpwanmetricState, opts?: pulumi.CustomResourceOptions): H2qpwanmetric; /** * Returns true if the given object is an instance of H2qpwanmetric. 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 H2qpwanmetric; /** * Downlink load. */ readonly downlinkLoad: pulumi.Output<number>; /** * Downlink speed (in kilobits/s). */ readonly downlinkSpeed: pulumi.Output<number>; /** * Link at capacity. Valid values: `enable`, `disable`. */ readonly linkAtCapacity: pulumi.Output<string>; /** * Link status. Valid values: `up`, `down`, `in-test`. */ readonly linkStatus: pulumi.Output<string>; /** * Load measurement duration (in tenths of a second). */ readonly loadMeasurementDuration: pulumi.Output<number>; /** * WAN metric name. */ readonly name: pulumi.Output<string>; /** * WAN link symmetry. Valid values: `symmetric`, `asymmetric`. */ readonly symmetricWanLink: pulumi.Output<string>; /** * Uplink load. */ readonly uplinkLoad: pulumi.Output<number>; /** * Uplink speed (in kilobits/s). */ readonly uplinkSpeed: pulumi.Output<number>; /** * 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 H2qpwanmetric 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?: H2qpwanmetricArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering H2qpwanmetric resources. */ export interface H2qpwanmetricState { /** * Downlink load. */ downlinkLoad?: pulumi.Input<number>; /** * Downlink speed (in kilobits/s). */ downlinkSpeed?: pulumi.Input<number>; /** * Link at capacity. Valid values: `enable`, `disable`. */ linkAtCapacity?: pulumi.Input<string>; /** * Link status. Valid values: `up`, `down`, `in-test`. */ linkStatus?: pulumi.Input<string>; /** * Load measurement duration (in tenths of a second). */ loadMeasurementDuration?: pulumi.Input<number>; /** * WAN metric name. */ name?: pulumi.Input<string>; /** * WAN link symmetry. Valid values: `symmetric`, `asymmetric`. */ symmetricWanLink?: pulumi.Input<string>; /** * Uplink load. */ uplinkLoad?: pulumi.Input<number>; /** * Uplink speed (in kilobits/s). */ uplinkSpeed?: pulumi.Input<number>; /** * 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 H2qpwanmetric resource. */ export interface H2qpwanmetricArgs { /** * Downlink load. */ downlinkLoad?: pulumi.Input<number>; /** * Downlink speed (in kilobits/s). */ downlinkSpeed?: pulumi.Input<number>; /** * Link at capacity. Valid values: `enable`, `disable`. */ linkAtCapacity?: pulumi.Input<string>; /** * Link status. Valid values: `up`, `down`, `in-test`. */ linkStatus?: pulumi.Input<string>; /** * Load measurement duration (in tenths of a second). */ loadMeasurementDuration?: pulumi.Input<number>; /** * WAN metric name. */ name?: pulumi.Input<string>; /** * WAN link symmetry. Valid values: `symmetric`, `asymmetric`. */ symmetricWanLink?: pulumi.Input<string>; /** * Uplink load. */ uplinkLoad?: pulumi.Input<number>; /** * Uplink speed (in kilobits/s). */ uplinkSpeed?: pulumi.Input<number>; /** * 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>; }