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

fortimanager.SystemFortiviewAutocache

Explore with Pulumi AI

FortiView auto-cache settings.

Example Usage

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

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

trname = fortimanager.SystemFortiviewAutocache("trname",
    aggressive_fortiview="enable",
    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.NewSystemFortiviewAutocache(ctx, "trname", &fortimanager.SystemFortiviewAutocacheArgs{
			AggressiveFortiview: pulumi.String("enable"),
			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.SystemFortiviewAutocache("trname", new()
    {
        AggressiveFortiview = "enable",
        Status = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemFortiviewAutocache;
import com.pulumi.fortimanager.SystemFortiviewAutocacheArgs;
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 SystemFortiviewAutocache("trname", SystemFortiviewAutocacheArgs.builder()
            .aggressiveFortiview("enable")
            .status("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemFortiviewAutocache
    properties:
      aggressiveFortiview: enable
      status: enable
Copy

Create SystemFortiviewAutocache Resource

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

Constructor syntax

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

@overload
def SystemFortiviewAutocache(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             aggressive_fortiview: Optional[str] = None,
                             incr_fortiview: Optional[str] = None,
                             interval: Optional[float] = None,
                             status: Optional[str] = None,
                             system_fortiview_autocache_id: Optional[str] = None)
func NewSystemFortiviewAutocache(ctx *Context, name string, args *SystemFortiviewAutocacheArgs, opts ...ResourceOption) (*SystemFortiviewAutocache, error)
public SystemFortiviewAutocache(string name, SystemFortiviewAutocacheArgs? args = null, CustomResourceOptions? opts = null)
public SystemFortiviewAutocache(String name, SystemFortiviewAutocacheArgs args)
public SystemFortiviewAutocache(String name, SystemFortiviewAutocacheArgs args, CustomResourceOptions options)
type: fortimanager:SystemFortiviewAutocache
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 SystemFortiviewAutocacheArgs
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 SystemFortiviewAutocacheArgs
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 SystemFortiviewAutocacheArgs
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 SystemFortiviewAutocacheArgs
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. SystemFortiviewAutocacheArgs
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 systemFortiviewAutocacheResource = new Fortimanager.SystemFortiviewAutocache("systemFortiviewAutocacheResource", new()
{
    AggressiveFortiview = "string",
    IncrFortiview = "string",
    Interval = 0,
    Status = "string",
    SystemFortiviewAutocacheId = "string",
});
Copy
example, err := fortimanager.NewSystemFortiviewAutocache(ctx, "systemFortiviewAutocacheResource", &fortimanager.SystemFortiviewAutocacheArgs{
AggressiveFortiview: pulumi.String("string"),
IncrFortiview: pulumi.String("string"),
Interval: pulumi.Float64(0),
Status: pulumi.String("string"),
SystemFortiviewAutocacheId: pulumi.String("string"),
})
Copy
var systemFortiviewAutocacheResource = new SystemFortiviewAutocache("systemFortiviewAutocacheResource", SystemFortiviewAutocacheArgs.builder()
    .aggressiveFortiview("string")
    .incrFortiview("string")
    .interval(0)
    .status("string")
    .systemFortiviewAutocacheId("string")
    .build());
Copy
system_fortiview_autocache_resource = fortimanager.SystemFortiviewAutocache("systemFortiviewAutocacheResource",
    aggressive_fortiview="string",
    incr_fortiview="string",
    interval=0,
    status="string",
    system_fortiview_autocache_id="string")
Copy
const systemFortiviewAutocacheResource = new fortimanager.SystemFortiviewAutocache("systemFortiviewAutocacheResource", {
    aggressiveFortiview: "string",
    incrFortiview: "string",
    interval: 0,
    status: "string",
    systemFortiviewAutocacheId: "string",
});
Copy
type: fortimanager:SystemFortiviewAutocache
properties:
    aggressiveFortiview: string
    incrFortiview: string
    interval: 0
    status: string
    systemFortiviewAutocacheId: string
Copy

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

AggressiveFortiview string
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
IncrFortiview string
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
Interval double
The time interval in hours for fortiview auto-cache.
Status string
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
SystemFortiviewAutocacheId string
an identifier for the resource.
AggressiveFortiview string
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
IncrFortiview string
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
Interval float64
The time interval in hours for fortiview auto-cache.
Status string
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
SystemFortiviewAutocacheId string
an identifier for the resource.
aggressiveFortiview String
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incrFortiview String
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval Double
The time interval in hours for fortiview auto-cache.
status String
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
systemFortiviewAutocacheId String
an identifier for the resource.
aggressiveFortiview string
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incrFortiview string
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval number
The time interval in hours for fortiview auto-cache.
status string
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
systemFortiviewAutocacheId string
an identifier for the resource.
aggressive_fortiview str
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incr_fortiview str
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval float
The time interval in hours for fortiview auto-cache.
status str
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
system_fortiview_autocache_id str
an identifier for the resource.
aggressiveFortiview String
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incrFortiview String
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval Number
The time interval in hours for fortiview auto-cache.
status String
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
systemFortiviewAutocacheId String
an identifier for the resource.

Outputs

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

Get an existing SystemFortiviewAutocache 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?: SystemFortiviewAutocacheState, opts?: CustomResourceOptions): SystemFortiviewAutocache
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aggressive_fortiview: Optional[str] = None,
        incr_fortiview: Optional[str] = None,
        interval: Optional[float] = None,
        status: Optional[str] = None,
        system_fortiview_autocache_id: Optional[str] = None) -> SystemFortiviewAutocache
func GetSystemFortiviewAutocache(ctx *Context, name string, id IDInput, state *SystemFortiviewAutocacheState, opts ...ResourceOption) (*SystemFortiviewAutocache, error)
public static SystemFortiviewAutocache Get(string name, Input<string> id, SystemFortiviewAutocacheState? state, CustomResourceOptions? opts = null)
public static SystemFortiviewAutocache get(String name, Output<String> id, SystemFortiviewAutocacheState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemFortiviewAutocache    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:
AggressiveFortiview string
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
IncrFortiview string
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
Interval double
The time interval in hours for fortiview auto-cache.
Status string
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
SystemFortiviewAutocacheId string
an identifier for the resource.
AggressiveFortiview string
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
IncrFortiview string
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
Interval float64
The time interval in hours for fortiview auto-cache.
Status string
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
SystemFortiviewAutocacheId string
an identifier for the resource.
aggressiveFortiview String
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incrFortiview String
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval Double
The time interval in hours for fortiview auto-cache.
status String
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
systemFortiviewAutocacheId String
an identifier for the resource.
aggressiveFortiview string
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incrFortiview string
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval number
The time interval in hours for fortiview auto-cache.
status string
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
systemFortiviewAutocacheId string
an identifier for the resource.
aggressive_fortiview str
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incr_fortiview str
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval float
The time interval in hours for fortiview auto-cache.
status str
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
system_fortiview_autocache_id str
an identifier for the resource.
aggressiveFortiview String
Enable/disable auto-cache on fortiview aggressively. disable - Disable the aggressive fortiview auto-cache. enable - Enable the aggressive fortiview auto-cache. Valid values: disable, enable.
incrFortiview String
Enable/disable fortiview incremental cache. disable - Disable the fortiview incremental auto cache. enable - Enable the fortiview incremental auto cache. Valid values: disable, enable.
interval Number
The time interval in hours for fortiview auto-cache.
status String
Enable/disable fortiview auto-cache. disable - Disable the fortiview auto-cache. enable - Enable the fortiview auto-cache. Valid values: disable, enable.
systemFortiviewAutocacheId String
an identifier for the resource.

Import

System FortiviewAutoCache can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemFortiviewAutocache:SystemFortiviewAutocache labelname SystemFortiviewAutoCache
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.