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

fortimanager.FmupdateFctservices

Explore with Pulumi AI

Configure FortiGuard to provide services to FortiClient installations.

Example Usage

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

const trname = new fortimanager.FmupdateFctservices("trname", {
    port: 200,
    status: "enable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.FmupdateFctservices("trname",
    port=200,
    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.NewFmupdateFctservices(ctx, "trname", &fortimanager.FmupdateFctservicesArgs{
			Port:   pulumi.Float64(200),
			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.FmupdateFctservices("trname", new()
    {
        Port = 200,
        Status = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.FmupdateFctservices;
import com.pulumi.fortimanager.FmupdateFctservicesArgs;
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 FmupdateFctservices("trname", FmupdateFctservicesArgs.builder()
            .port("200")
            .status("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:FmupdateFctservices
    properties:
      port: '200'
      status: enable
Copy

Create FmupdateFctservices Resource

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

Constructor syntax

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

@overload
def FmupdateFctservices(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        fmupdate_fctservices_id: Optional[str] = None,
                        port: Optional[float] = None,
                        status: Optional[str] = None)
func NewFmupdateFctservices(ctx *Context, name string, args *FmupdateFctservicesArgs, opts ...ResourceOption) (*FmupdateFctservices, error)
public FmupdateFctservices(string name, FmupdateFctservicesArgs? args = null, CustomResourceOptions? opts = null)
public FmupdateFctservices(String name, FmupdateFctservicesArgs args)
public FmupdateFctservices(String name, FmupdateFctservicesArgs args, CustomResourceOptions options)
type: fortimanager:FmupdateFctservices
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 FmupdateFctservicesArgs
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 FmupdateFctservicesArgs
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 FmupdateFctservicesArgs
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 FmupdateFctservicesArgs
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. FmupdateFctservicesArgs
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 fmupdateFctservicesResource = new Fortimanager.FmupdateFctservices("fmupdateFctservicesResource", new()
{
    FmupdateFctservicesId = "string",
    Port = 0,
    Status = "string",
});
Copy
example, err := fortimanager.NewFmupdateFctservices(ctx, "fmupdateFctservicesResource", &fortimanager.FmupdateFctservicesArgs{
	FmupdateFctservicesId: pulumi.String("string"),
	Port:                  pulumi.Float64(0),
	Status:                pulumi.String("string"),
})
Copy
var fmupdateFctservicesResource = new FmupdateFctservices("fmupdateFctservicesResource", FmupdateFctservicesArgs.builder()
    .fmupdateFctservicesId("string")
    .port(0)
    .status("string")
    .build());
Copy
fmupdate_fctservices_resource = fortimanager.FmupdateFctservices("fmupdateFctservicesResource",
    fmupdate_fctservices_id="string",
    port=0,
    status="string")
Copy
const fmupdateFctservicesResource = new fortimanager.FmupdateFctservices("fmupdateFctservicesResource", {
    fmupdateFctservicesId: "string",
    port: 0,
    status: "string",
});
Copy
type: fortimanager:FmupdateFctservices
properties:
    fmupdateFctservicesId: string
    port: 0
    status: string
Copy

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

FmupdateFctservicesId string
an identifier for the resource.
Port double
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
Status string
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
FmupdateFctservicesId string
an identifier for the resource.
Port float64
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
Status string
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFctservicesId String
an identifier for the resource.
port Double
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status String
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFctservicesId string
an identifier for the resource.
port number
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status string
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdate_fctservices_id str
an identifier for the resource.
port float
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status str
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFctservicesId String
an identifier for the resource.
port Number
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status String
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.

Outputs

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

Get an existing FmupdateFctservices 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?: FmupdateFctservicesState, opts?: CustomResourceOptions): FmupdateFctservices
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        fmupdate_fctservices_id: Optional[str] = None,
        port: Optional[float] = None,
        status: Optional[str] = None) -> FmupdateFctservices
func GetFmupdateFctservices(ctx *Context, name string, id IDInput, state *FmupdateFctservicesState, opts ...ResourceOption) (*FmupdateFctservices, error)
public static FmupdateFctservices Get(string name, Input<string> id, FmupdateFctservicesState? state, CustomResourceOptions? opts = null)
public static FmupdateFctservices get(String name, Output<String> id, FmupdateFctservicesState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:FmupdateFctservices    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:
FmupdateFctservicesId string
an identifier for the resource.
Port double
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
Status string
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
FmupdateFctservicesId string
an identifier for the resource.
Port float64
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
Status string
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFctservicesId String
an identifier for the resource.
port Double
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status String
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFctservicesId string
an identifier for the resource.
port number
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status string
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdate_fctservices_id str
an identifier for the resource.
port float
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status str
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.
fmupdateFctservicesId String
an identifier for the resource.
port Number
Configure the port number on which the built-in FortiGuard should provide updates to FortiClient installations (1 - 65535, default = 80).
status String
Enable/disable built-in FortiGuard service to FortiClient installations (default = enable). disable - Disable setting. enable - Enable setting. Valid values: disable, enable.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/fmupdateFctservices:FmupdateFctservices labelname FmupdateFctServices
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.