fortios.wirelesscontroller/hotspot20.H2qpwanmetric
Explore with Pulumi AI
Configure WAN metrics.
Example Usage
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 pulumi
import pulumiverse_fortios as fortios
trname = fortios.wirelesscontroller.hotspot20.H2qpwanmetric("trname",
downlink_load=0,
downlink_speed=2400,
link_at_capacity="disable",
link_status="up",
load_measurement_duration=0,
symmetric_wan_link="symmetric",
uplink_load=0,
uplink_speed=2400)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/wirelesscontroller"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := wirelesscontroller.NewH2qpwanmetric(ctx, "trname", &wirelesscontroller.H2qpwanmetricArgs{
DownlinkLoad: pulumi.Int(0),
DownlinkSpeed: pulumi.Int(2400),
LinkAtCapacity: pulumi.String("disable"),
LinkStatus: pulumi.String("up"),
LoadMeasurementDuration: pulumi.Int(0),
SymmetricWanLink: pulumi.String("symmetric"),
UplinkLoad: pulumi.Int(0),
UplinkSpeed: pulumi.Int(2400),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Wirelesscontroller.Hotspot20.H2qpwanmetric("trname", new()
{
DownlinkLoad = 0,
DownlinkSpeed = 2400,
LinkAtCapacity = "disable",
LinkStatus = "up",
LoadMeasurementDuration = 0,
SymmetricWanLink = "symmetric",
UplinkLoad = 0,
UplinkSpeed = 2400,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.wirelesscontroller.H2qpwanmetric;
import com.pulumi.fortios.wirelesscontroller.H2qpwanmetricArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new H2qpwanmetric("trname", H2qpwanmetricArgs.builder()
.downlinkLoad(0)
.downlinkSpeed(2400)
.linkAtCapacity("disable")
.linkStatus("up")
.loadMeasurementDuration(0)
.symmetricWanLink("symmetric")
.uplinkLoad(0)
.uplinkSpeed(2400)
.build());
}
}
resources:
trname:
type: fortios:wirelesscontroller/hotspot20:H2qpwanmetric
properties:
downlinkLoad: 0
downlinkSpeed: 2400
linkAtCapacity: disable
linkStatus: up
loadMeasurementDuration: 0
symmetricWanLink: symmetric
uplinkLoad: 0
uplinkSpeed: 2400
Create H2qpwanmetric Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new H2qpwanmetric(name: string, args?: H2qpwanmetricArgs, opts?: CustomResourceOptions);
@overload
def H2qpwanmetric(resource_name: str,
args: Optional[H2qpwanmetricArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def H2qpwanmetric(resource_name: str,
opts: Optional[ResourceOptions] = None,
downlink_load: Optional[int] = None,
downlink_speed: Optional[int] = None,
link_at_capacity: Optional[str] = None,
link_status: Optional[str] = None,
load_measurement_duration: Optional[int] = None,
name: Optional[str] = None,
symmetric_wan_link: Optional[str] = None,
uplink_load: Optional[int] = None,
uplink_speed: Optional[int] = None,
vdomparam: Optional[str] = None)
func NewH2qpwanmetric(ctx *Context, name string, args *H2qpwanmetricArgs, opts ...ResourceOption) (*H2qpwanmetric, error)
public H2qpwanmetric(string name, H2qpwanmetricArgs? args = null, CustomResourceOptions? opts = null)
public H2qpwanmetric(String name, H2qpwanmetricArgs args)
public H2qpwanmetric(String name, H2qpwanmetricArgs args, CustomResourceOptions options)
type: fortios:wirelesscontroller/hotspot20/h2qpwanmetric:H2qpwanmetric
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args H2qpwanmetricArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args H2qpwanmetricArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args H2qpwanmetricArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args H2qpwanmetricArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args H2qpwanmetricArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
H2qpwanmetric Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The H2qpwanmetric resource accepts the following input properties:
- Downlink
Load int - Downlink load.
- Downlink
Speed int - Downlink speed (in kilobits/s).
- Link
At stringCapacity - Link at capacity. Valid values:
enable
,disable
. - Link
Status string - Link status. Valid values:
up
,down
,in-test
. - Load
Measurement intDuration - Load measurement duration (in tenths of a second).
- Name string
- WAN metric name.
- Symmetric
Wan stringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - Uplink
Load int - Uplink load.
- Uplink
Speed int - Uplink speed (in kilobits/s).
- Vdomparam 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.
- Downlink
Load int - Downlink load.
- Downlink
Speed int - Downlink speed (in kilobits/s).
- Link
At stringCapacity - Link at capacity. Valid values:
enable
,disable
. - Link
Status string - Link status. Valid values:
up
,down
,in-test
. - Load
Measurement intDuration - Load measurement duration (in tenths of a second).
- Name string
- WAN metric name.
- Symmetric
Wan stringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - Uplink
Load int - Uplink load.
- Uplink
Speed int - Uplink speed (in kilobits/s).
- Vdomparam 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.
- downlink
Load Integer - Downlink load.
- downlink
Speed Integer - Downlink speed (in kilobits/s).
- link
At StringCapacity - Link at capacity. Valid values:
enable
,disable
. - link
Status String - Link status. Valid values:
up
,down
,in-test
. - load
Measurement IntegerDuration - Load measurement duration (in tenths of a second).
- name String
- WAN metric name.
- symmetric
Wan StringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink
Load Integer - Uplink load.
- uplink
Speed Integer - Uplink speed (in kilobits/s).
- vdomparam 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.
- downlink
Load number - Downlink load.
- downlink
Speed number - Downlink speed (in kilobits/s).
- link
At stringCapacity - Link at capacity. Valid values:
enable
,disable
. - link
Status string - Link status. Valid values:
up
,down
,in-test
. - load
Measurement numberDuration - Load measurement duration (in tenths of a second).
- name string
- WAN metric name.
- symmetric
Wan stringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink
Load number - Uplink load.
- uplink
Speed number - Uplink speed (in kilobits/s).
- vdomparam 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.
- downlink_
load int - Downlink load.
- downlink_
speed int - Downlink speed (in kilobits/s).
- link_
at_ strcapacity - Link at capacity. Valid values:
enable
,disable
. - link_
status str - Link status. Valid values:
up
,down
,in-test
. - load_
measurement_ intduration - Load measurement duration (in tenths of a second).
- name str
- WAN metric name.
- symmetric_
wan_ strlink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink_
load int - Uplink load.
- uplink_
speed int - Uplink speed (in kilobits/s).
- vdomparam str
- 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.
- downlink
Load Number - Downlink load.
- downlink
Speed Number - Downlink speed (in kilobits/s).
- link
At StringCapacity - Link at capacity. Valid values:
enable
,disable
. - link
Status String - Link status. Valid values:
up
,down
,in-test
. - load
Measurement NumberDuration - Load measurement duration (in tenths of a second).
- name String
- WAN metric name.
- symmetric
Wan StringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink
Load Number - Uplink load.
- uplink
Speed Number - Uplink speed (in kilobits/s).
- vdomparam 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the H2qpwanmetric resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing H2qpwanmetric Resource
Get an existing H2qpwanmetric resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: H2qpwanmetricState, opts?: CustomResourceOptions): H2qpwanmetric
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
downlink_load: Optional[int] = None,
downlink_speed: Optional[int] = None,
link_at_capacity: Optional[str] = None,
link_status: Optional[str] = None,
load_measurement_duration: Optional[int] = None,
name: Optional[str] = None,
symmetric_wan_link: Optional[str] = None,
uplink_load: Optional[int] = None,
uplink_speed: Optional[int] = None,
vdomparam: Optional[str] = None) -> H2qpwanmetric
func GetH2qpwanmetric(ctx *Context, name string, id IDInput, state *H2qpwanmetricState, opts ...ResourceOption) (*H2qpwanmetric, error)
public static H2qpwanmetric Get(string name, Input<string> id, H2qpwanmetricState? state, CustomResourceOptions? opts = null)
public static H2qpwanmetric get(String name, Output<String> id, H2qpwanmetricState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Downlink
Load int - Downlink load.
- Downlink
Speed int - Downlink speed (in kilobits/s).
- Link
At stringCapacity - Link at capacity. Valid values:
enable
,disable
. - Link
Status string - Link status. Valid values:
up
,down
,in-test
. - Load
Measurement intDuration - Load measurement duration (in tenths of a second).
- Name string
- WAN metric name.
- Symmetric
Wan stringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - Uplink
Load int - Uplink load.
- Uplink
Speed int - Uplink speed (in kilobits/s).
- Vdomparam 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.
- Downlink
Load int - Downlink load.
- Downlink
Speed int - Downlink speed (in kilobits/s).
- Link
At stringCapacity - Link at capacity. Valid values:
enable
,disable
. - Link
Status string - Link status. Valid values:
up
,down
,in-test
. - Load
Measurement intDuration - Load measurement duration (in tenths of a second).
- Name string
- WAN metric name.
- Symmetric
Wan stringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - Uplink
Load int - Uplink load.
- Uplink
Speed int - Uplink speed (in kilobits/s).
- Vdomparam 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.
- downlink
Load Integer - Downlink load.
- downlink
Speed Integer - Downlink speed (in kilobits/s).
- link
At StringCapacity - Link at capacity. Valid values:
enable
,disable
. - link
Status String - Link status. Valid values:
up
,down
,in-test
. - load
Measurement IntegerDuration - Load measurement duration (in tenths of a second).
- name String
- WAN metric name.
- symmetric
Wan StringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink
Load Integer - Uplink load.
- uplink
Speed Integer - Uplink speed (in kilobits/s).
- vdomparam 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.
- downlink
Load number - Downlink load.
- downlink
Speed number - Downlink speed (in kilobits/s).
- link
At stringCapacity - Link at capacity. Valid values:
enable
,disable
. - link
Status string - Link status. Valid values:
up
,down
,in-test
. - load
Measurement numberDuration - Load measurement duration (in tenths of a second).
- name string
- WAN metric name.
- symmetric
Wan stringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink
Load number - Uplink load.
- uplink
Speed number - Uplink speed (in kilobits/s).
- vdomparam 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.
- downlink_
load int - Downlink load.
- downlink_
speed int - Downlink speed (in kilobits/s).
- link_
at_ strcapacity - Link at capacity. Valid values:
enable
,disable
. - link_
status str - Link status. Valid values:
up
,down
,in-test
. - load_
measurement_ intduration - Load measurement duration (in tenths of a second).
- name str
- WAN metric name.
- symmetric_
wan_ strlink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink_
load int - Uplink load.
- uplink_
speed int - Uplink speed (in kilobits/s).
- vdomparam str
- 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.
- downlink
Load Number - Downlink load.
- downlink
Speed Number - Downlink speed (in kilobits/s).
- link
At StringCapacity - Link at capacity. Valid values:
enable
,disable
. - link
Status String - Link status. Valid values:
up
,down
,in-test
. - load
Measurement NumberDuration - Load measurement duration (in tenths of a second).
- name String
- WAN metric name.
- symmetric
Wan StringLink - WAN link symmetry. Valid values:
symmetric
,asymmetric
. - uplink
Load Number - Uplink load.
- uplink
Speed Number - Uplink speed (in kilobits/s).
- vdomparam 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.
Import
WirelessControllerHotspot20 H2QpWanMetric can be imported using any of these accepted formats:
$ pulumi import fortios:wirelesscontroller/hotspot20/h2qpwanmetric:H2qpwanmetric labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:wirelesscontroller/hotspot20/h2qpwanmetric:H2qpwanmetric labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.