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

fortimanager.FmupdateFdssettingPushoverride

Explore with Pulumi AI

Enable/disable push updates, and override the default IP address and port used by FortiGuard to send antivirus and IPS push messages for clients.

This resource is a sub resource for variable push_override of resource fortimanager.FmupdateFdssetting. 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 trname = new fortimanager.FmupdateFdssettingPushoverride("trname", {
    ip: "192.168.1.1",
    port: 2000,
    status: "enable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.FmupdateFdssettingPushoverride("trname",
    ip="192.168.1.1",
    port=2000,
    status="enable")
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.NewFmupdateFdssettingPushoverride(ctx, "trname", &fortimanager.FmupdateFdssettingPushoverrideArgs{
			Ip:     pulumi.String("192.168.1.1"),
			Port:   pulumi.Float64(2000),
			Status: pulumi.String("enable"),
		})
		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.FmupdateFdssettingPushoverride("trname", new()
    {
        Ip = "192.168.1.1",
        Port = 2000,
        Status = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.FmupdateFdssettingPushoverride;
import com.pulumi.fortimanager.FmupdateFdssettingPushoverrideArgs;
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 FmupdateFdssettingPushoverride("trname", FmupdateFdssettingPushoverrideArgs.builder()
            .ip("192.168.1.1")
            .port("2000")
            .status("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:FmupdateFdssettingPushoverride
    properties:
      ip: 192.168.1.1
      port: '2000'
      status: enable
Copy

Create FmupdateFdssettingPushoverride Resource

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

Constructor syntax

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

@overload
def FmupdateFdssettingPushoverride(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   fmupdate_fdssetting_pushoverride_id: Optional[str] = None,
                                   ip: Optional[str] = None,
                                   port: Optional[float] = None,
                                   status: Optional[str] = None)
func NewFmupdateFdssettingPushoverride(ctx *Context, name string, args *FmupdateFdssettingPushoverrideArgs, opts ...ResourceOption) (*FmupdateFdssettingPushoverride, error)
public FmupdateFdssettingPushoverride(string name, FmupdateFdssettingPushoverrideArgs? args = null, CustomResourceOptions? opts = null)
public FmupdateFdssettingPushoverride(String name, FmupdateFdssettingPushoverrideArgs args)
public FmupdateFdssettingPushoverride(String name, FmupdateFdssettingPushoverrideArgs args, CustomResourceOptions options)
type: fortimanager:FmupdateFdssettingPushoverride
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 FmupdateFdssettingPushoverrideArgs
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 FmupdateFdssettingPushoverrideArgs
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 FmupdateFdssettingPushoverrideArgs
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 FmupdateFdssettingPushoverrideArgs
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. FmupdateFdssettingPushoverrideArgs
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 fmupdateFdssettingPushoverrideResource = new Fortimanager.FmupdateFdssettingPushoverride("fmupdateFdssettingPushoverrideResource", new()
{
    FmupdateFdssettingPushoverrideId = "string",
    Ip = "string",
    Port = 0,
    Status = "string",
});
Copy
example, err := fortimanager.NewFmupdateFdssettingPushoverride(ctx, "fmupdateFdssettingPushoverrideResource", &fortimanager.FmupdateFdssettingPushoverrideArgs{
FmupdateFdssettingPushoverrideId: pulumi.String("string"),
Ip: pulumi.String("string"),
Port: pulumi.Float64(0),
Status: pulumi.String("string"),
})
Copy
var fmupdateFdssettingPushoverrideResource = new FmupdateFdssettingPushoverride("fmupdateFdssettingPushoverrideResource", FmupdateFdssettingPushoverrideArgs.builder()
    .fmupdateFdssettingPushoverrideId("string")
    .ip("string")
    .port(0)
    .status("string")
    .build());
Copy
fmupdate_fdssetting_pushoverride_resource = fortimanager.FmupdateFdssettingPushoverride("fmupdateFdssettingPushoverrideResource",
    fmupdate_fdssetting_pushoverride_id="string",
    ip="string",
    port=0,
    status="string")
Copy
const fmupdateFdssettingPushoverrideResource = new fortimanager.FmupdateFdssettingPushoverride("fmupdateFdssettingPushoverrideResource", {
    fmupdateFdssettingPushoverrideId: "string",
    ip: "string",
    port: 0,
    status: "string",
});
Copy
type: fortimanager:FmupdateFdssettingPushoverride
properties:
    fmupdateFdssettingPushoverrideId: string
    ip: string
    port: 0
    status: string
Copy

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

FmupdateFdssettingPushoverrideId string
an identifier for the resource.
Ip string
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
Port double
Receiving port number on the NAT device (1 - 65535, default = 9443).
Status string
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
FmupdateFdssettingPushoverrideId string
an identifier for the resource.
Ip string
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
Port float64
Receiving port number on the NAT device (1 - 65535, default = 9443).
Status string
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFdssettingPushoverrideId String
an identifier for the resource.
ip String
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port Double
Receiving port number on the NAT device (1 - 65535, default = 9443).
status String
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFdssettingPushoverrideId string
an identifier for the resource.
ip string
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port number
Receiving port number on the NAT device (1 - 65535, default = 9443).
status string
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdate_fdssetting_pushoverride_id str
an identifier for the resource.
ip str
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port float
Receiving port number on the NAT device (1 - 65535, default = 9443).
status str
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFdssettingPushoverrideId String
an identifier for the resource.
ip String
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port Number
Receiving port number on the NAT device (1 - 65535, default = 9443).
status String
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.

Outputs

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

Get an existing FmupdateFdssettingPushoverride 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?: FmupdateFdssettingPushoverrideState, opts?: CustomResourceOptions): FmupdateFdssettingPushoverride
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        fmupdate_fdssetting_pushoverride_id: Optional[str] = None,
        ip: Optional[str] = None,
        port: Optional[float] = None,
        status: Optional[str] = None) -> FmupdateFdssettingPushoverride
func GetFmupdateFdssettingPushoverride(ctx *Context, name string, id IDInput, state *FmupdateFdssettingPushoverrideState, opts ...ResourceOption) (*FmupdateFdssettingPushoverride, error)
public static FmupdateFdssettingPushoverride Get(string name, Input<string> id, FmupdateFdssettingPushoverrideState? state, CustomResourceOptions? opts = null)
public static FmupdateFdssettingPushoverride get(String name, Output<String> id, FmupdateFdssettingPushoverrideState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:FmupdateFdssettingPushoverride    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:
FmupdateFdssettingPushoverrideId string
an identifier for the resource.
Ip string
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
Port double
Receiving port number on the NAT device (1 - 65535, default = 9443).
Status string
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
FmupdateFdssettingPushoverrideId string
an identifier for the resource.
Ip string
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
Port float64
Receiving port number on the NAT device (1 - 65535, default = 9443).
Status string
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFdssettingPushoverrideId String
an identifier for the resource.
ip String
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port Double
Receiving port number on the NAT device (1 - 65535, default = 9443).
status String
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFdssettingPushoverrideId string
an identifier for the resource.
ip string
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port number
Receiving port number on the NAT device (1 - 65535, default = 9443).
status string
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdate_fdssetting_pushoverride_id str
an identifier for the resource.
ip str
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port float
Receiving port number on the NAT device (1 - 65535, default = 9443).
status str
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFdssettingPushoverrideId String
an identifier for the resource.
ip String
External or virtual IP address of the NAT device that will forward push messages to the FortiManager unit.
port Number
Receiving port number on the NAT device (1 - 65535, default = 9443).
status String
Enable/disable push updates for clients (default = disable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/fmupdateFdssettingPushoverride:FmupdateFdssettingPushoverride labelname FmupdateFdsSettingPushOverride
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.