1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. FmupdateFdssettingServeroverride
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.FmupdateFdssettingServeroverride

Explore with Pulumi AI

Server override configure.

This resource is a sub resource for variable server_override of resource fortimanager.FmupdateFdssetting. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • servlist: fortimanager_fmupdate_fdssetting_serveroverride_servlist

Example Usage

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

const trname = new fortimanager.FmupdateFdssettingServeroverride("trname", {
    servlists: [{
        id: 1,
        ip: "192.168.1.1",
        port: 2000,
        serviceType: "fct",
    }],
    status: "disable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.FmupdateFdssettingServeroverride("trname",
    servlists=[{
        "id": 1,
        "ip": "192.168.1.1",
        "port": 2000,
        "service_type": "fct",
    }],
    status="disable")
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 {
		_, err := fortimanager.NewFmupdateFdssettingServeroverride(ctx, "trname", &fortimanager.FmupdateFdssettingServeroverrideArgs{
			Servlists: fortimanager.FmupdateFdssettingServeroverrideServlistArray{
				&fortimanager.FmupdateFdssettingServeroverrideServlistArgs{
					Id:          pulumi.Float64(1),
					Ip:          pulumi.String("192.168.1.1"),
					Port:        pulumi.Float64(2000),
					ServiceType: pulumi.String("fct"),
				},
			},
			Status: pulumi.String("disable"),
		})
		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 trname = new Fortimanager.FmupdateFdssettingServeroverride("trname", new()
    {
        Servlists = new[]
        {
            new Fortimanager.Inputs.FmupdateFdssettingServeroverrideServlistArgs
            {
                Id = 1,
                Ip = "192.168.1.1",
                Port = 2000,
                ServiceType = "fct",
            },
        },
        Status = "disable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.FmupdateFdssettingServeroverride;
import com.pulumi.fortimanager.FmupdateFdssettingServeroverrideArgs;
import com.pulumi.fortimanager.inputs.FmupdateFdssettingServeroverrideServlistArgs;
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 FmupdateFdssettingServeroverride("trname", FmupdateFdssettingServeroverrideArgs.builder()
            .servlists(FmupdateFdssettingServeroverrideServlistArgs.builder()
                .id("1")
                .ip("192.168.1.1")
                .port("2000")
                .serviceType("fct")
                .build())
            .status("disable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:FmupdateFdssettingServeroverride
    properties:
      servlists:
        - id: '1'
          ip: 192.168.1.1
          port: '2000'
          serviceType: fct
      status: disable
Copy

Create FmupdateFdssettingServeroverride Resource

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

Constructor syntax

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

@overload
def FmupdateFdssettingServeroverride(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     dynamic_sort_subtable: Optional[str] = None,
                                     fmupdate_fdssetting_serveroverride_id: Optional[str] = None,
                                     servlists: Optional[Sequence[FmupdateFdssettingServeroverrideServlistArgs]] = None,
                                     status: Optional[str] = None)
func NewFmupdateFdssettingServeroverride(ctx *Context, name string, args *FmupdateFdssettingServeroverrideArgs, opts ...ResourceOption) (*FmupdateFdssettingServeroverride, error)
public FmupdateFdssettingServeroverride(string name, FmupdateFdssettingServeroverrideArgs? args = null, CustomResourceOptions? opts = null)
public FmupdateFdssettingServeroverride(String name, FmupdateFdssettingServeroverrideArgs args)
public FmupdateFdssettingServeroverride(String name, FmupdateFdssettingServeroverrideArgs args, CustomResourceOptions options)
type: fortimanager:FmupdateFdssettingServeroverride
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 FmupdateFdssettingServeroverrideArgs
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 FmupdateFdssettingServeroverrideArgs
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 FmupdateFdssettingServeroverrideArgs
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 FmupdateFdssettingServeroverrideArgs
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. FmupdateFdssettingServeroverrideArgs
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 fmupdateFdssettingServeroverrideResource = new Fortimanager.FmupdateFdssettingServeroverride("fmupdateFdssettingServeroverrideResource", new()
{
    DynamicSortSubtable = "string",
    FmupdateFdssettingServeroverrideId = "string",
    Servlists = new[]
    {
        new Fortimanager.Inputs.FmupdateFdssettingServeroverrideServlistArgs
        {
            Id = 0,
            Ip = "string",
            Ip6 = "string",
            Port = 0,
            ServiceType = "string",
        },
    },
    Status = "string",
});
Copy
example, err := fortimanager.NewFmupdateFdssettingServeroverride(ctx, "fmupdateFdssettingServeroverrideResource", &fortimanager.FmupdateFdssettingServeroverrideArgs{
DynamicSortSubtable: pulumi.String("string"),
FmupdateFdssettingServeroverrideId: pulumi.String("string"),
Servlists: .FmupdateFdssettingServeroverrideServlistArray{
&.FmupdateFdssettingServeroverrideServlistArgs{
Id: pulumi.Float64(0),
Ip: pulumi.String("string"),
Ip6: pulumi.String("string"),
Port: pulumi.Float64(0),
ServiceType: pulumi.String("string"),
},
},
Status: pulumi.String("string"),
})
Copy
var fmupdateFdssettingServeroverrideResource = new FmupdateFdssettingServeroverride("fmupdateFdssettingServeroverrideResource", FmupdateFdssettingServeroverrideArgs.builder()
    .dynamicSortSubtable("string")
    .fmupdateFdssettingServeroverrideId("string")
    .servlists(FmupdateFdssettingServeroverrideServlistArgs.builder()
        .id(0)
        .ip("string")
        .ip6("string")
        .port(0)
        .serviceType("string")
        .build())
    .status("string")
    .build());
Copy
fmupdate_fdssetting_serveroverride_resource = fortimanager.FmupdateFdssettingServeroverride("fmupdateFdssettingServeroverrideResource",
    dynamic_sort_subtable="string",
    fmupdate_fdssetting_serveroverride_id="string",
    servlists=[{
        "id": 0,
        "ip": "string",
        "ip6": "string",
        "port": 0,
        "service_type": "string",
    }],
    status="string")
Copy
const fmupdateFdssettingServeroverrideResource = new fortimanager.FmupdateFdssettingServeroverride("fmupdateFdssettingServeroverrideResource", {
    dynamicSortSubtable: "string",
    fmupdateFdssettingServeroverrideId: "string",
    servlists: [{
        id: 0,
        ip: "string",
        ip6: "string",
        port: 0,
        serviceType: "string",
    }],
    status: "string",
});
Copy
type: fortimanager:FmupdateFdssettingServeroverride
properties:
    dynamicSortSubtable: string
    fmupdateFdssettingServeroverrideId: string
    servlists:
        - id: 0
          ip: string
          ip6: string
          port: 0
          serviceType: string
    status: string
Copy

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

DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
FmupdateFdssettingServeroverrideId string
an identifier for the resource.
Servlists List<FmupdateFdssettingServeroverrideServlist>
Servlist. The structure of servlist block is documented below.
Status string
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
FmupdateFdssettingServeroverrideId string
an identifier for the resource.
Servlists []FmupdateFdssettingServeroverrideServlistArgs
Servlist. The structure of servlist block is documented below.
Status string
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdateFdssettingServeroverrideId String
an identifier for the resource.
servlists List<FmupdateFdssettingServeroverrideServlist>
Servlist. The structure of servlist block is documented below.
status String
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdateFdssettingServeroverrideId string
an identifier for the resource.
servlists FmupdateFdssettingServeroverrideServlist[]
Servlist. The structure of servlist block is documented below.
status string
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdate_fdssetting_serveroverride_id str
an identifier for the resource.
servlists Sequence[FmupdateFdssettingServeroverrideServlistArgs]
Servlist. The structure of servlist block is documented below.
status str
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdateFdssettingServeroverrideId String
an identifier for the resource.
servlists List<Property Map>
Servlist. The structure of servlist block is documented below.
status String
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.

Outputs

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

Get an existing FmupdateFdssettingServeroverride 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?: FmupdateFdssettingServeroverrideState, opts?: CustomResourceOptions): FmupdateFdssettingServeroverride
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dynamic_sort_subtable: Optional[str] = None,
        fmupdate_fdssetting_serveroverride_id: Optional[str] = None,
        servlists: Optional[Sequence[FmupdateFdssettingServeroverrideServlistArgs]] = None,
        status: Optional[str] = None) -> FmupdateFdssettingServeroverride
func GetFmupdateFdssettingServeroverride(ctx *Context, name string, id IDInput, state *FmupdateFdssettingServeroverrideState, opts ...ResourceOption) (*FmupdateFdssettingServeroverride, error)
public static FmupdateFdssettingServeroverride Get(string name, Input<string> id, FmupdateFdssettingServeroverrideState? state, CustomResourceOptions? opts = null)
public static FmupdateFdssettingServeroverride get(String name, Output<String> id, FmupdateFdssettingServeroverrideState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:FmupdateFdssettingServeroverride    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:
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
FmupdateFdssettingServeroverrideId string
an identifier for the resource.
Servlists List<FmupdateFdssettingServeroverrideServlist>
Servlist. The structure of servlist block is documented below.
Status string
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
FmupdateFdssettingServeroverrideId string
an identifier for the resource.
Servlists []FmupdateFdssettingServeroverrideServlistArgs
Servlist. The structure of servlist block is documented below.
Status string
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdateFdssettingServeroverrideId String
an identifier for the resource.
servlists List<FmupdateFdssettingServeroverrideServlist>
Servlist. The structure of servlist block is documented below.
status String
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdateFdssettingServeroverrideId string
an identifier for the resource.
servlists FmupdateFdssettingServeroverrideServlist[]
Servlist. The structure of servlist block is documented below.
status string
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdate_fdssetting_serveroverride_id str
an identifier for the resource.
servlists Sequence[FmupdateFdssettingServeroverrideServlistArgs]
Servlist. The structure of servlist block is documented below.
status str
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
fmupdateFdssettingServeroverrideId String
an identifier for the resource.
servlists List<Property Map>
Servlist. The structure of servlist block is documented below.
status String
Override status. disable - Disable setting. enable - Enable setting. Valid values: disable, enable.

Supporting Types

FmupdateFdssettingServeroverrideServlist
, FmupdateFdssettingServeroverrideServlistArgs

Id double
Override server ID (1 - 10).
Ip string
IPv4 address of the override server.
Ip6 string
IPv6 address of the override server.
Port double
Port number to use when contacting FortiGuard (1 - 65535, default = 443).
ServiceType string
Override service type. fct - Server override config for fct fds - Server override config for fds Valid values: fct, fds.
Id float64
Override server ID (1 - 10).
Ip string
IPv4 address of the override server.
Ip6 string
IPv6 address of the override server.
Port float64
Port number to use when contacting FortiGuard (1 - 65535, default = 443).
ServiceType string
Override service type. fct - Server override config for fct fds - Server override config for fds Valid values: fct, fds.
id Double
Override server ID (1 - 10).
ip String
IPv4 address of the override server.
ip6 String
IPv6 address of the override server.
port Double
Port number to use when contacting FortiGuard (1 - 65535, default = 443).
serviceType String
Override service type. fct - Server override config for fct fds - Server override config for fds Valid values: fct, fds.
id number
Override server ID (1 - 10).
ip string
IPv4 address of the override server.
ip6 string
IPv6 address of the override server.
port number
Port number to use when contacting FortiGuard (1 - 65535, default = 443).
serviceType string
Override service type. fct - Server override config for fct fds - Server override config for fds Valid values: fct, fds.
id float
Override server ID (1 - 10).
ip str
IPv4 address of the override server.
ip6 str
IPv6 address of the override server.
port float
Port number to use when contacting FortiGuard (1 - 65535, default = 443).
service_type str
Override service type. fct - Server override config for fct fds - Server override config for fds Valid values: fct, fds.
id Number
Override server ID (1 - 10).
ip String
IPv4 address of the override server.
ip6 String
IPv6 address of the override server.
port Number
Port number to use when contacting FortiGuard (1 - 65535, default = 443).
serviceType String
Override service type. fct - Server override config for fct fds - Server override config for fds Valid values: fct, fds.

Import

Fmupdate FdsSettingServerOverride can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/fmupdateFdssettingServeroverride:FmupdateFdssettingServeroverride labelname FmupdateFdsSettingServerOverride
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

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.