fortimanager.SystemLogInterfacestats
Explore with Pulumi AI
Interface statistics settings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.SystemLogInterfacestats("trname", {
billingReport: "enable",
status: "enable",
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.SystemLogInterfacestats("trname",
billing_report="enable",
status="enable")
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.NewSystemLogInterfacestats(ctx, "trname", &fortimanager.SystemLogInterfacestatsArgs{
BillingReport: pulumi.String("enable"),
Status: pulumi.String("enable"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() =>
{
var trname = new Fortimanager.SystemLogInterfacestats("trname", new()
{
BillingReport = "enable",
Status = "enable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLogInterfacestats;
import com.pulumi.fortimanager.SystemLogInterfacestatsArgs;
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 SystemLogInterfacestats("trname", SystemLogInterfacestatsArgs.builder()
.billingReport("enable")
.status("enable")
.build());
}
}
resources:
trname:
type: fortimanager:SystemLogInterfacestats
properties:
billingReport: enable
status: enable
Create SystemLogInterfacestats Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SystemLogInterfacestats(name: string, args?: SystemLogInterfacestatsArgs, opts?: CustomResourceOptions);
@overload
def SystemLogInterfacestats(resource_name: str,
args: Optional[SystemLogInterfacestatsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SystemLogInterfacestats(resource_name: str,
opts: Optional[ResourceOptions] = None,
billing_report: Optional[str] = None,
retention_days: Optional[float] = None,
sampling_interval: Optional[float] = None,
status: Optional[str] = None,
system_log_interfacestats_id: Optional[str] = None)
func NewSystemLogInterfacestats(ctx *Context, name string, args *SystemLogInterfacestatsArgs, opts ...ResourceOption) (*SystemLogInterfacestats, error)
public SystemLogInterfacestats(string name, SystemLogInterfacestatsArgs? args = null, CustomResourceOptions? opts = null)
public SystemLogInterfacestats(String name, SystemLogInterfacestatsArgs args)
public SystemLogInterfacestats(String name, SystemLogInterfacestatsArgs args, CustomResourceOptions options)
type: fortimanager:SystemLogInterfacestats
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SystemLogInterfacestatsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SystemLogInterfacestatsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SystemLogInterfacestatsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemLogInterfacestatsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemLogInterfacestatsArgs
- 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 systemLogInterfacestatsResource = new Fortimanager.SystemLogInterfacestats("systemLogInterfacestatsResource", new()
{
BillingReport = "string",
RetentionDays = 0,
SamplingInterval = 0,
Status = "string",
SystemLogInterfacestatsId = "string",
});
example, err := fortimanager.NewSystemLogInterfacestats(ctx, "systemLogInterfacestatsResource", &fortimanager.SystemLogInterfacestatsArgs{
BillingReport: pulumi.String("string"),
RetentionDays: pulumi.Float64(0),
SamplingInterval: pulumi.Float64(0),
Status: pulumi.String("string"),
SystemLogInterfacestatsId: pulumi.String("string"),
})
var systemLogInterfacestatsResource = new SystemLogInterfacestats("systemLogInterfacestatsResource", SystemLogInterfacestatsArgs.builder()
.billingReport("string")
.retentionDays(0)
.samplingInterval(0)
.status("string")
.systemLogInterfacestatsId("string")
.build());
system_log_interfacestats_resource = fortimanager.SystemLogInterfacestats("systemLogInterfacestatsResource",
billing_report="string",
retention_days=0,
sampling_interval=0,
status="string",
system_log_interfacestats_id="string")
const systemLogInterfacestatsResource = new fortimanager.SystemLogInterfacestats("systemLogInterfacestatsResource", {
billingReport: "string",
retentionDays: 0,
samplingInterval: 0,
status: "string",
systemLogInterfacestatsId: "string",
});
type: fortimanager:SystemLogInterfacestats
properties:
billingReport: string
retentionDays: 0
samplingInterval: 0
status: string
systemLogInterfacestatsId: string
SystemLogInterfacestats 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 SystemLogInterfacestats resource accepts the following input properties:
- Billing
Report string - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - Retention
Days double - Number of days for interface data storage.
- Sampling
Interval double - Interval of receiving interface data from FortiGates in seconds.
- Status string
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - System
Log stringInterfacestats Id - an identifier for the resource.
- Billing
Report string - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - Retention
Days float64 - Number of days for interface data storage.
- Sampling
Interval float64 - Interval of receiving interface data from FortiGates in seconds.
- Status string
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - System
Log stringInterfacestats Id - an identifier for the resource.
- billing
Report String - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention
Days Double - Number of days for interface data storage.
- sampling
Interval Double - Interval of receiving interface data from FortiGates in seconds.
- status String
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system
Log StringInterfacestats Id - an identifier for the resource.
- billing
Report string - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention
Days number - Number of days for interface data storage.
- sampling
Interval number - Interval of receiving interface data from FortiGates in seconds.
- status string
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system
Log stringInterfacestats Id - an identifier for the resource.
- billing_
report str - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention_
days float - Number of days for interface data storage.
- sampling_
interval float - Interval of receiving interface data from FortiGates in seconds.
- status str
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system_
log_ strinterfacestats_ id - an identifier for the resource.
- billing
Report String - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention
Days Number - Number of days for interface data storage.
- sampling
Interval Number - Interval of receiving interface data from FortiGates in seconds.
- status String
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system
Log StringInterfacestats Id - an identifier for the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemLogInterfacestats 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 SystemLogInterfacestats Resource
Get an existing SystemLogInterfacestats 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?: SystemLogInterfacestatsState, opts?: CustomResourceOptions): SystemLogInterfacestats
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
billing_report: Optional[str] = None,
retention_days: Optional[float] = None,
sampling_interval: Optional[float] = None,
status: Optional[str] = None,
system_log_interfacestats_id: Optional[str] = None) -> SystemLogInterfacestats
func GetSystemLogInterfacestats(ctx *Context, name string, id IDInput, state *SystemLogInterfacestatsState, opts ...ResourceOption) (*SystemLogInterfacestats, error)
public static SystemLogInterfacestats Get(string name, Input<string> id, SystemLogInterfacestatsState? state, CustomResourceOptions? opts = null)
public static SystemLogInterfacestats get(String name, Output<String> id, SystemLogInterfacestatsState state, CustomResourceOptions options)
resources: _: type: fortimanager:SystemLogInterfacestats get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Billing
Report string - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - Retention
Days double - Number of days for interface data storage.
- Sampling
Interval double - Interval of receiving interface data from FortiGates in seconds.
- Status string
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - System
Log stringInterfacestats Id - an identifier for the resource.
- Billing
Report string - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - Retention
Days float64 - Number of days for interface data storage.
- Sampling
Interval float64 - Interval of receiving interface data from FortiGates in seconds.
- Status string
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - System
Log stringInterfacestats Id - an identifier for the resource.
- billing
Report String - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention
Days Double - Number of days for interface data storage.
- sampling
Interval Double - Interval of receiving interface data from FortiGates in seconds.
- status String
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system
Log StringInterfacestats Id - an identifier for the resource.
- billing
Report string - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention
Days number - Number of days for interface data storage.
- sampling
Interval number - Interval of receiving interface data from FortiGates in seconds.
- status string
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system
Log stringInterfacestats Id - an identifier for the resource.
- billing_
report str - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention_
days float - Number of days for interface data storage.
- sampling_
interval float - Interval of receiving interface data from FortiGates in seconds.
- status str
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system_
log_ strinterfacestats_ id - an identifier for the resource.
- billing
Report String - Disable/Enable billing report feature. disable - Disable billing report. enable - Enable billing report. Valid values:
disable
,enable
. - retention
Days Number - Number of days for interface data storage.
- sampling
Interval Number - Interval of receiving interface data from FortiGates in seconds.
- status String
- Disable/Enable interface statistics feature. disable - Disable querying FortiGate interface stats. enable - Enable querying FortiGate interface stats. Valid values:
disable
,enable
. - system
Log StringInterfacestats Id - an identifier for the resource.
Import
System LogInterfaceStats can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/systemLogInterfacestats:SystemLogInterfacestats labelname SystemLogInterfaceStats
$ 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.