1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. WantempSystemSdwanZone
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.WantempSystemSdwanZone

Explore with Pulumi AI

Configure SD-WAN zones.

This resource is a sub resource for variable zone of resource fortimanager.WantempSystemSdwan. Conflict and overwrite may occur if use both of them.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trnameWanTemplate = new fortimanager.WanTemplate("trnameWanTemplate", {
    adom: "root",
    type: "wanprof",
});
const trnameWantempSystemSdwanZone = new fortimanager.WantempSystemSdwanZone("trnameWantempSystemSdwanZone", {
    serviceSlaTieBreak: "cfg-order",
    wanprof: trnameWanTemplate.name,
}, {
    dependsOn: [trnameWanTemplate],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_wan_template = fortimanager.WanTemplate("trnameWanTemplate",
    adom="root",
    type="wanprof")
trname_wantemp_system_sdwan_zone = fortimanager.WantempSystemSdwanZone("trnameWantempSystemSdwanZone",
    service_sla_tie_break="cfg-order",
    wanprof=trname_wan_template.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_wan_template]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameWanTemplate, err := fortimanager.NewWanTemplate(ctx, "trnameWanTemplate", &fortimanager.WanTemplateArgs{
			Adom: pulumi.String("root"),
			Type: pulumi.String("wanprof"),
		})
		if err != nil {
			return err
		}
		_, err = fortimanager.NewWantempSystemSdwanZone(ctx, "trnameWantempSystemSdwanZone", &fortimanager.WantempSystemSdwanZoneArgs{
			ServiceSlaTieBreak: pulumi.String("cfg-order"),
			Wanprof:            trnameWanTemplate.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameWanTemplate,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameWanTemplate = new Fortimanager.WanTemplate("trnameWanTemplate", new()
    {
        Adom = "root",
        Type = "wanprof",
    });

    var trnameWantempSystemSdwanZone = new Fortimanager.WantempSystemSdwanZone("trnameWantempSystemSdwanZone", new()
    {
        ServiceSlaTieBreak = "cfg-order",
        Wanprof = trnameWanTemplate.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameWanTemplate,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.WanTemplate;
import com.pulumi.fortimanager.WanTemplateArgs;
import com.pulumi.fortimanager.WantempSystemSdwanZone;
import com.pulumi.fortimanager.WantempSystemSdwanZoneArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trnameWanTemplate = new WanTemplate("trnameWanTemplate", WanTemplateArgs.builder()
            .adom("root")
            .type("wanprof")
            .build());

        var trnameWantempSystemSdwanZone = new WantempSystemSdwanZone("trnameWantempSystemSdwanZone", WantempSystemSdwanZoneArgs.builder()
            .serviceSlaTieBreak("cfg-order")
            .wanprof(trnameWanTemplate.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameWanTemplate)
                .build());

    }
}
Copy
resources:
  trnameWantempSystemSdwanZone:
    type: fortimanager:WantempSystemSdwanZone
    properties:
      serviceSlaTieBreak: cfg-order
      wanprof: ${trnameWanTemplate.name}
    options:
      dependsOn:
        - ${trnameWanTemplate}
  trnameWanTemplate:
    type: fortimanager:WanTemplate
    properties:
      adom: root
      type: wanprof
Copy

Create WantempSystemSdwanZone Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new WantempSystemSdwanZone(name: string, args: WantempSystemSdwanZoneArgs, opts?: CustomResourceOptions);
@overload
def WantempSystemSdwanZone(resource_name: str,
                           args: WantempSystemSdwanZoneInitArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def WantempSystemSdwanZone(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           wanprof: Optional[str] = None,
                           adom: Optional[str] = None,
                           advpn_health_check: Optional[str] = None,
                           advpn_select: Optional[str] = None,
                           minimum_sla_meet_members: Optional[float] = None,
                           name: Optional[str] = None,
                           scopetype: Optional[str] = None,
                           service_sla_tie_break: Optional[str] = None,
                           wantemp_system_sdwan_zone_id: Optional[str] = None)
func NewWantempSystemSdwanZone(ctx *Context, name string, args WantempSystemSdwanZoneArgs, opts ...ResourceOption) (*WantempSystemSdwanZone, error)
public WantempSystemSdwanZone(string name, WantempSystemSdwanZoneArgs args, CustomResourceOptions? opts = null)
public WantempSystemSdwanZone(String name, WantempSystemSdwanZoneArgs args)
public WantempSystemSdwanZone(String name, WantempSystemSdwanZoneArgs args, CustomResourceOptions options)
type: fortimanager:WantempSystemSdwanZone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WantempSystemSdwanZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WantempSystemSdwanZoneInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WantempSystemSdwanZoneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WantempSystemSdwanZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WantempSystemSdwanZoneArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var wantempSystemSdwanZoneResource = new Fortimanager.WantempSystemSdwanZone("wantempSystemSdwanZoneResource", new()
{
    Wanprof = "string",
    Adom = "string",
    AdvpnHealthCheck = "string",
    AdvpnSelect = "string",
    MinimumSlaMeetMembers = 0,
    Name = "string",
    Scopetype = "string",
    ServiceSlaTieBreak = "string",
    WantempSystemSdwanZoneId = "string",
});
Copy
example, err := fortimanager.NewWantempSystemSdwanZone(ctx, "wantempSystemSdwanZoneResource", &fortimanager.WantempSystemSdwanZoneArgs{
Wanprof: pulumi.String("string"),
Adom: pulumi.String("string"),
AdvpnHealthCheck: pulumi.String("string"),
AdvpnSelect: pulumi.String("string"),
MinimumSlaMeetMembers: pulumi.Float64(0),
Name: pulumi.String("string"),
Scopetype: pulumi.String("string"),
ServiceSlaTieBreak: pulumi.String("string"),
WantempSystemSdwanZoneId: pulumi.String("string"),
})
Copy
var wantempSystemSdwanZoneResource = new WantempSystemSdwanZone("wantempSystemSdwanZoneResource", WantempSystemSdwanZoneArgs.builder()
    .wanprof("string")
    .adom("string")
    .advpnHealthCheck("string")
    .advpnSelect("string")
    .minimumSlaMeetMembers(0)
    .name("string")
    .scopetype("string")
    .serviceSlaTieBreak("string")
    .wantempSystemSdwanZoneId("string")
    .build());
Copy
wantemp_system_sdwan_zone_resource = fortimanager.WantempSystemSdwanZone("wantempSystemSdwanZoneResource",
    wanprof="string",
    adom="string",
    advpn_health_check="string",
    advpn_select="string",
    minimum_sla_meet_members=0,
    name="string",
    scopetype="string",
    service_sla_tie_break="string",
    wantemp_system_sdwan_zone_id="string")
Copy
const wantempSystemSdwanZoneResource = new fortimanager.WantempSystemSdwanZone("wantempSystemSdwanZoneResource", {
    wanprof: "string",
    adom: "string",
    advpnHealthCheck: "string",
    advpnSelect: "string",
    minimumSlaMeetMembers: 0,
    name: "string",
    scopetype: "string",
    serviceSlaTieBreak: "string",
    wantempSystemSdwanZoneId: "string",
});
Copy
type: fortimanager:WantempSystemSdwanZone
properties:
    adom: string
    advpnHealthCheck: string
    advpnSelect: string
    minimumSlaMeetMembers: 0
    name: string
    scopetype: string
    serviceSlaTieBreak: string
    wanprof: string
    wantempSystemSdwanZoneId: string
Copy

WantempSystemSdwanZone 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 WantempSystemSdwanZone resource accepts the following input properties:

Wanprof This property is required. string
Wanprof.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AdvpnHealthCheck string
Health check for ADVPN local overlay link quality.
AdvpnSelect string
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
MinimumSlaMeetMembers double
Minimum number of members which meet SLA when the neighbor is preferred.
Name string
Zone name.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServiceSlaTieBreak string
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
WantempSystemSdwanZoneId string
an identifier for the resource with format {{name}}.
Wanprof This property is required. string
Wanprof.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AdvpnHealthCheck string
Health check for ADVPN local overlay link quality.
AdvpnSelect string
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
MinimumSlaMeetMembers float64
Minimum number of members which meet SLA when the neighbor is preferred.
Name string
Zone name.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServiceSlaTieBreak string
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
WantempSystemSdwanZoneId string
an identifier for the resource with format {{name}}.
wanprof This property is required. String
Wanprof.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpnHealthCheck String
Health check for ADVPN local overlay link quality.
advpnSelect String
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimumSlaMeetMembers Double
Minimum number of members which meet SLA when the neighbor is preferred.
name String
Zone name.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serviceSlaTieBreak String
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wantempSystemSdwanZoneId String
an identifier for the resource with format {{name}}.
wanprof This property is required. string
Wanprof.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpnHealthCheck string
Health check for ADVPN local overlay link quality.
advpnSelect string
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimumSlaMeetMembers number
Minimum number of members which meet SLA when the neighbor is preferred.
name string
Zone name.
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serviceSlaTieBreak string
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wantempSystemSdwanZoneId string
an identifier for the resource with format {{name}}.
wanprof This property is required. str
Wanprof.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpn_health_check str
Health check for ADVPN local overlay link quality.
advpn_select str
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimum_sla_meet_members float
Minimum number of members which meet SLA when the neighbor is preferred.
name str
Zone name.
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
service_sla_tie_break str
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wantemp_system_sdwan_zone_id str
an identifier for the resource with format {{name}}.
wanprof This property is required. String
Wanprof.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpnHealthCheck String
Health check for ADVPN local overlay link quality.
advpnSelect String
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimumSlaMeetMembers Number
Minimum number of members which meet SLA when the neighbor is preferred.
name String
Zone name.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serviceSlaTieBreak String
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wantempSystemSdwanZoneId String
an identifier for the resource with format {{name}}.

Outputs

All input properties are implicitly available as output properties. Additionally, the WantempSystemSdwanZone 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 WantempSystemSdwanZone Resource

Get an existing WantempSystemSdwanZone 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?: WantempSystemSdwanZoneState, opts?: CustomResourceOptions): WantempSystemSdwanZone
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        advpn_health_check: Optional[str] = None,
        advpn_select: Optional[str] = None,
        minimum_sla_meet_members: Optional[float] = None,
        name: Optional[str] = None,
        scopetype: Optional[str] = None,
        service_sla_tie_break: Optional[str] = None,
        wanprof: Optional[str] = None,
        wantemp_system_sdwan_zone_id: Optional[str] = None) -> WantempSystemSdwanZone
func GetWantempSystemSdwanZone(ctx *Context, name string, id IDInput, state *WantempSystemSdwanZoneState, opts ...ResourceOption) (*WantempSystemSdwanZone, error)
public static WantempSystemSdwanZone Get(string name, Input<string> id, WantempSystemSdwanZoneState? state, CustomResourceOptions? opts = null)
public static WantempSystemSdwanZone get(String name, Output<String> id, WantempSystemSdwanZoneState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:WantempSystemSdwanZone    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AdvpnHealthCheck string
Health check for ADVPN local overlay link quality.
AdvpnSelect string
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
MinimumSlaMeetMembers double
Minimum number of members which meet SLA when the neighbor is preferred.
Name string
Zone name.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServiceSlaTieBreak string
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
Wanprof string
Wanprof.
WantempSystemSdwanZoneId string
an identifier for the resource with format {{name}}.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AdvpnHealthCheck string
Health check for ADVPN local overlay link quality.
AdvpnSelect string
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
MinimumSlaMeetMembers float64
Minimum number of members which meet SLA when the neighbor is preferred.
Name string
Zone name.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
ServiceSlaTieBreak string
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
Wanprof string
Wanprof.
WantempSystemSdwanZoneId string
an identifier for the resource with format {{name}}.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpnHealthCheck String
Health check for ADVPN local overlay link quality.
advpnSelect String
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimumSlaMeetMembers Double
Minimum number of members which meet SLA when the neighbor is preferred.
name String
Zone name.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serviceSlaTieBreak String
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wanprof String
Wanprof.
wantempSystemSdwanZoneId String
an identifier for the resource with format {{name}}.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpnHealthCheck string
Health check for ADVPN local overlay link quality.
advpnSelect string
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimumSlaMeetMembers number
Minimum number of members which meet SLA when the neighbor is preferred.
name string
Zone name.
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serviceSlaTieBreak string
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wanprof string
Wanprof.
wantempSystemSdwanZoneId string
an identifier for the resource with format {{name}}.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpn_health_check str
Health check for ADVPN local overlay link quality.
advpn_select str
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimum_sla_meet_members float
Minimum number of members which meet SLA when the neighbor is preferred.
name str
Zone name.
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
service_sla_tie_break str
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wanprof str
Wanprof.
wantemp_system_sdwan_zone_id str
an identifier for the resource with format {{name}}.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
advpnHealthCheck String
Health check for ADVPN local overlay link quality.
advpnSelect String
Enable/disable selection of ADVPN based on SDWAN information. Valid values: disable, enable.
minimumSlaMeetMembers Number
Minimum number of members which meet SLA when the neighbor is preferred.
name String
Zone name.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
serviceSlaTieBreak String
Method of selecting member if more than one meets the SLA. Valid values: cfg-order, fib-best-match.
wanprof String
Wanprof.
wantempSystemSdwanZoneId String
an identifier for the resource with format {{name}}.

Import

Wantemp SystemSdwanZone can be imported using any of these accepted formats:

Set import_options = [“wanprof=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/wantempSystemSdwanZone:WantempSystemSdwanZone labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.