fortimanager.SystemLogfetchClientprofile
Explore with Pulumi AI
Log-fetch client profile settings.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
device_filter:fortimanager.SystemLogfetchClientprofileDevicefilter
log_filter:fortimanager_system_logfetch_clientprofile_logfilter
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.SystemLogfetchClientprofile("trname", {
    clientAdom: "terraform",
    dataRange: "custom",
    fosid: 1,
    indexFetchLogs: "enable",
    passwords: ["fortinet"],
    serverIp: "222.222.22.25",
    user: "terraform",
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.SystemLogfetchClientprofile("trname",
    client_adom="terraform",
    data_range="custom",
    fosid=1,
    index_fetch_logs="enable",
    passwords=["fortinet"],
    server_ip="222.222.22.25",
    user="terraform")
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.NewSystemLogfetchClientprofile(ctx, "trname", &fortimanager.SystemLogfetchClientprofileArgs{
			ClientAdom:     pulumi.String("terraform"),
			DataRange:      pulumi.String("custom"),
			Fosid:          pulumi.Float64(1),
			IndexFetchLogs: pulumi.String("enable"),
			Passwords: pulumi.StringArray{
				pulumi.String("fortinet"),
			},
			ServerIp: pulumi.String("222.222.22.25"),
			User:     pulumi.String("terraform"),
		})
		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.SystemLogfetchClientprofile("trname", new()
    {
        ClientAdom = "terraform",
        DataRange = "custom",
        Fosid = 1,
        IndexFetchLogs = "enable",
        Passwords = new[]
        {
            "fortinet",
        },
        ServerIp = "222.222.22.25",
        User = "terraform",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemLogfetchClientprofile;
import com.pulumi.fortimanager.SystemLogfetchClientprofileArgs;
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 SystemLogfetchClientprofile("trname", SystemLogfetchClientprofileArgs.builder()
            .clientAdom("terraform")
            .dataRange("custom")
            .fosid("1")
            .indexFetchLogs("enable")
            .passwords("fortinet")
            .serverIp("222.222.22.25")
            .user("terraform")
            .build());
    }
}
resources:
  trname:
    type: fortimanager:SystemLogfetchClientprofile
    properties:
      clientAdom: terraform
      dataRange: custom
      fosid: '1'
      indexFetchLogs: enable
      passwords:
        - fortinet
      serverIp: 222.222.22.25
      user: terraform
Create SystemLogfetchClientprofile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SystemLogfetchClientprofile(name: string, args?: SystemLogfetchClientprofileArgs, opts?: CustomResourceOptions);@overload
def SystemLogfetchClientprofile(resource_name: str,
                                args: Optional[SystemLogfetchClientprofileArgs] = None,
                                opts: Optional[ResourceOptions] = None)
@overload
def SystemLogfetchClientprofile(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                client_adom: Optional[str] = None,
                                data_range: Optional[str] = None,
                                data_range_value: Optional[float] = None,
                                device_filters: Optional[Sequence[SystemLogfetchClientprofileDeviceFilterArgs]] = None,
                                dynamic_sort_subtable: Optional[str] = None,
                                end_times: Optional[Sequence[str]] = None,
                                fosid: Optional[float] = None,
                                index_fetch_logs: Optional[str] = None,
                                log_filter_logic: Optional[str] = None,
                                log_filter_status: Optional[str] = None,
                                log_filters: Optional[Sequence[SystemLogfetchClientprofileLogFilterArgs]] = None,
                                name: Optional[str] = None,
                                passwords: Optional[Sequence[str]] = None,
                                peer_cert_cn: Optional[str] = None,
                                secure_connection: Optional[str] = None,
                                server_adom: Optional[str] = None,
                                server_ip: Optional[str] = None,
                                start_times: Optional[Sequence[str]] = None,
                                sync_adom_config: Optional[str] = None,
                                system_logfetch_clientprofile_id: Optional[str] = None,
                                user: Optional[str] = None)func NewSystemLogfetchClientprofile(ctx *Context, name string, args *SystemLogfetchClientprofileArgs, opts ...ResourceOption) (*SystemLogfetchClientprofile, error)public SystemLogfetchClientprofile(string name, SystemLogfetchClientprofileArgs? args = null, CustomResourceOptions? opts = null)
public SystemLogfetchClientprofile(String name, SystemLogfetchClientprofileArgs args)
public SystemLogfetchClientprofile(String name, SystemLogfetchClientprofileArgs args, CustomResourceOptions options)
type: fortimanager:SystemLogfetchClientprofile
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 SystemLogfetchClientprofileArgs
- 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 SystemLogfetchClientprofileArgs
- 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 SystemLogfetchClientprofileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemLogfetchClientprofileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemLogfetchClientprofileArgs
- 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 systemLogfetchClientprofileResource = new Fortimanager.SystemLogfetchClientprofile("systemLogfetchClientprofileResource", new()
{
    ClientAdom = "string",
    DataRange = "string",
    DataRangeValue = 0,
    DeviceFilters = new[]
    {
        new Fortimanager.Inputs.SystemLogfetchClientprofileDeviceFilterArgs
        {
            Adom = "string",
            Device = "string",
            Id = 0,
            Vdom = "string",
        },
    },
    DynamicSortSubtable = "string",
    EndTimes = new[]
    {
        "string",
    },
    Fosid = 0,
    IndexFetchLogs = "string",
    LogFilterLogic = "string",
    LogFilterStatus = "string",
    LogFilters = new[]
    {
        new Fortimanager.Inputs.SystemLogfetchClientprofileLogFilterArgs
        {
            Field = "string",
            Id = 0,
            Oper = "string",
            Value = "string",
        },
    },
    Name = "string",
    Passwords = new[]
    {
        "string",
    },
    PeerCertCn = "string",
    SecureConnection = "string",
    ServerAdom = "string",
    ServerIp = "string",
    StartTimes = new[]
    {
        "string",
    },
    SyncAdomConfig = "string",
    SystemLogfetchClientprofileId = "string",
    User = "string",
});
example, err := fortimanager.NewSystemLogfetchClientprofile(ctx, "systemLogfetchClientprofileResource", &fortimanager.SystemLogfetchClientprofileArgs{
ClientAdom: pulumi.String("string"),
DataRange: pulumi.String("string"),
DataRangeValue: pulumi.Float64(0),
DeviceFilters: .SystemLogfetchClientprofileDeviceFilterTypeArray{
&.SystemLogfetchClientprofileDeviceFilterTypeArgs{
Adom: pulumi.String("string"),
Device: pulumi.String("string"),
Id: pulumi.Float64(0),
Vdom: pulumi.String("string"),
},
},
DynamicSortSubtable: pulumi.String("string"),
EndTimes: pulumi.StringArray{
pulumi.String("string"),
},
Fosid: pulumi.Float64(0),
IndexFetchLogs: pulumi.String("string"),
LogFilterLogic: pulumi.String("string"),
LogFilterStatus: pulumi.String("string"),
LogFilters: .SystemLogfetchClientprofileLogFilterArray{
&.SystemLogfetchClientprofileLogFilterArgs{
Field: pulumi.String("string"),
Id: pulumi.Float64(0),
Oper: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Passwords: pulumi.StringArray{
pulumi.String("string"),
},
PeerCertCn: pulumi.String("string"),
SecureConnection: pulumi.String("string"),
ServerAdom: pulumi.String("string"),
ServerIp: pulumi.String("string"),
StartTimes: pulumi.StringArray{
pulumi.String("string"),
},
SyncAdomConfig: pulumi.String("string"),
SystemLogfetchClientprofileId: pulumi.String("string"),
User: pulumi.String("string"),
})
var systemLogfetchClientprofileResource = new SystemLogfetchClientprofile("systemLogfetchClientprofileResource", SystemLogfetchClientprofileArgs.builder()
    .clientAdom("string")
    .dataRange("string")
    .dataRangeValue(0)
    .deviceFilters(SystemLogfetchClientprofileDeviceFilterArgs.builder()
        .adom("string")
        .device("string")
        .id(0)
        .vdom("string")
        .build())
    .dynamicSortSubtable("string")
    .endTimes("string")
    .fosid(0)
    .indexFetchLogs("string")
    .logFilterLogic("string")
    .logFilterStatus("string")
    .logFilters(SystemLogfetchClientprofileLogFilterArgs.builder()
        .field("string")
        .id(0)
        .oper("string")
        .value("string")
        .build())
    .name("string")
    .passwords("string")
    .peerCertCn("string")
    .secureConnection("string")
    .serverAdom("string")
    .serverIp("string")
    .startTimes("string")
    .syncAdomConfig("string")
    .systemLogfetchClientprofileId("string")
    .user("string")
    .build());
system_logfetch_clientprofile_resource = fortimanager.SystemLogfetchClientprofile("systemLogfetchClientprofileResource",
    client_adom="string",
    data_range="string",
    data_range_value=0,
    device_filters=[{
        "adom": "string",
        "device": "string",
        "id": 0,
        "vdom": "string",
    }],
    dynamic_sort_subtable="string",
    end_times=["string"],
    fosid=0,
    index_fetch_logs="string",
    log_filter_logic="string",
    log_filter_status="string",
    log_filters=[{
        "field": "string",
        "id": 0,
        "oper": "string",
        "value": "string",
    }],
    name="string",
    passwords=["string"],
    peer_cert_cn="string",
    secure_connection="string",
    server_adom="string",
    server_ip="string",
    start_times=["string"],
    sync_adom_config="string",
    system_logfetch_clientprofile_id="string",
    user="string")
const systemLogfetchClientprofileResource = new fortimanager.SystemLogfetchClientprofile("systemLogfetchClientprofileResource", {
    clientAdom: "string",
    dataRange: "string",
    dataRangeValue: 0,
    deviceFilters: [{
        adom: "string",
        device: "string",
        id: 0,
        vdom: "string",
    }],
    dynamicSortSubtable: "string",
    endTimes: ["string"],
    fosid: 0,
    indexFetchLogs: "string",
    logFilterLogic: "string",
    logFilterStatus: "string",
    logFilters: [{
        field: "string",
        id: 0,
        oper: "string",
        value: "string",
    }],
    name: "string",
    passwords: ["string"],
    peerCertCn: "string",
    secureConnection: "string",
    serverAdom: "string",
    serverIp: "string",
    startTimes: ["string"],
    syncAdomConfig: "string",
    systemLogfetchClientprofileId: "string",
    user: "string",
});
type: fortimanager:SystemLogfetchClientprofile
properties:
    clientAdom: string
    dataRange: string
    dataRangeValue: 0
    deviceFilters:
        - adom: string
          device: string
          id: 0
          vdom: string
    dynamicSortSubtable: string
    endTimes:
        - string
    fosid: 0
    indexFetchLogs: string
    logFilterLogic: string
    logFilterStatus: string
    logFilters:
        - field: string
          id: 0
          oper: string
          value: string
    name: string
    passwords:
        - string
    peerCertCn: string
    secureConnection: string
    serverAdom: string
    serverIp: string
    startTimes:
        - string
    syncAdomConfig: string
    systemLogfetchClientprofileId: string
    user: string
SystemLogfetchClientprofile 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 SystemLogfetchClientprofile resource accepts the following input properties:
- ClientAdom string
- Log-fetch client side's adom name.
- DataRange string
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- DataRange doubleValue 
- Last n days or hours.
- DeviceFilters List<SystemLogfetch Clientprofile Device Filter> 
- Device-Filter. The structure of device_filterblock is documented below.
- DynamicSort stringSubtable 
- 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.
- EndTimes List<string>
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- Fosid double
- Log-fetch client profile ID.
- IndexFetch stringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilter stringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- LogFilter stringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilters List<SystemLogfetch Clientprofile Log Filter> 
- Log-Filter. The structure of log_filterblock is documented below.
- Name string
- Name of log-fetch client profile.
- Passwords List<string>
- Log-fetch server login password.
- PeerCert stringCn 
- Certificate common name of log-fetch server.
- SecureConnection string
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- ServerAdom string
- Log-fetch server side's adom name.
- ServerIp string
- Log-fetch server IP address.
- StartTimes List<string>
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- SyncAdom stringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- SystemLogfetch stringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- User string
- Log-fetch server login username.
- ClientAdom string
- Log-fetch client side's adom name.
- DataRange string
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- DataRange float64Value 
- Last n days or hours.
- DeviceFilters []SystemLogfetch Clientprofile Device Filter Type Args 
- Device-Filter. The structure of device_filterblock is documented below.
- DynamicSort stringSubtable 
- 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.
- EndTimes []string
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- Fosid float64
- Log-fetch client profile ID.
- IndexFetch stringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilter stringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- LogFilter stringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilters []SystemLogfetch Clientprofile Log Filter Args 
- Log-Filter. The structure of log_filterblock is documented below.
- Name string
- Name of log-fetch client profile.
- Passwords []string
- Log-fetch server login password.
- PeerCert stringCn 
- Certificate common name of log-fetch server.
- SecureConnection string
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- ServerAdom string
- Log-fetch server side's adom name.
- ServerIp string
- Log-fetch server IP address.
- StartTimes []string
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- SyncAdom stringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- SystemLogfetch stringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- User string
- Log-fetch server login username.
- clientAdom String
- Log-fetch client side's adom name.
- dataRange String
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- dataRange DoubleValue 
- Last n days or hours.
- deviceFilters List<SystemLogfetch Clientprofile Device Filter> 
- Device-Filter. The structure of device_filterblock is documented below.
- dynamicSort StringSubtable 
- 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.
- endTimes List<String>
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid Double
- Log-fetch client profile ID.
- indexFetch StringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilter StringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- logFilter StringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilters List<SystemLogfetch Clientprofile Log Filter> 
- Log-Filter. The structure of log_filterblock is documented below.
- name String
- Name of log-fetch client profile.
- passwords List<String>
- Log-fetch server login password.
- peerCert StringCn 
- Certificate common name of log-fetch server.
- secureConnection String
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- serverAdom String
- Log-fetch server side's adom name.
- serverIp String
- Log-fetch server IP address.
- startTimes List<String>
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- syncAdom StringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- systemLogfetch StringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- user String
- Log-fetch server login username.
- clientAdom string
- Log-fetch client side's adom name.
- dataRange string
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- dataRange numberValue 
- Last n days or hours.
- deviceFilters SystemLogfetch Clientprofile Device Filter[] 
- Device-Filter. The structure of device_filterblock is documented below.
- dynamicSort stringSubtable 
- 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.
- endTimes string[]
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid number
- Log-fetch client profile ID.
- indexFetch stringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilter stringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- logFilter stringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilters SystemLogfetch Clientprofile Log Filter[] 
- Log-Filter. The structure of log_filterblock is documented below.
- name string
- Name of log-fetch client profile.
- passwords string[]
- Log-fetch server login password.
- peerCert stringCn 
- Certificate common name of log-fetch server.
- secureConnection string
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- serverAdom string
- Log-fetch server side's adom name.
- serverIp string
- Log-fetch server IP address.
- startTimes string[]
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- syncAdom stringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- systemLogfetch stringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- user string
- Log-fetch server login username.
- client_adom str
- Log-fetch client side's adom name.
- data_range str
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- data_range_ floatvalue 
- Last n days or hours.
- device_filters Sequence[SystemLogfetch Clientprofile Device Filter Args] 
- Device-Filter. The structure of device_filterblock is documented below.
- dynamic_sort_ strsubtable 
- 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.
- end_times Sequence[str]
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid float
- Log-fetch client profile ID.
- index_fetch_ strlogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- log_filter_ strlogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- log_filter_ strstatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- log_filters Sequence[SystemLogfetch Clientprofile Log Filter Args] 
- Log-Filter. The structure of log_filterblock is documented below.
- name str
- Name of log-fetch client profile.
- passwords Sequence[str]
- Log-fetch server login password.
- peer_cert_ strcn 
- Certificate common name of log-fetch server.
- secure_connection str
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- server_adom str
- Log-fetch server side's adom name.
- server_ip str
- Log-fetch server IP address.
- start_times Sequence[str]
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- sync_adom_ strconfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- system_logfetch_ strclientprofile_ id 
- an identifier for the resource with format {{fosid}}.
- user str
- Log-fetch server login username.
- clientAdom String
- Log-fetch client side's adom name.
- dataRange String
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- dataRange NumberValue 
- Last n days or hours.
- deviceFilters List<Property Map>
- Device-Filter. The structure of device_filterblock is documented below.
- dynamicSort StringSubtable 
- 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.
- endTimes List<String>
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid Number
- Log-fetch client profile ID.
- indexFetch StringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilter StringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- logFilter StringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilters List<Property Map>
- Log-Filter. The structure of log_filterblock is documented below.
- name String
- Name of log-fetch client profile.
- passwords List<String>
- Log-fetch server login password.
- peerCert StringCn 
- Certificate common name of log-fetch server.
- secureConnection String
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- serverAdom String
- Log-fetch server side's adom name.
- serverIp String
- Log-fetch server IP address.
- startTimes List<String>
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- syncAdom StringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- systemLogfetch StringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- user String
- Log-fetch server login username.
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemLogfetchClientprofile 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 SystemLogfetchClientprofile Resource
Get an existing SystemLogfetchClientprofile 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?: SystemLogfetchClientprofileState, opts?: CustomResourceOptions): SystemLogfetchClientprofile@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        client_adom: Optional[str] = None,
        data_range: Optional[str] = None,
        data_range_value: Optional[float] = None,
        device_filters: Optional[Sequence[SystemLogfetchClientprofileDeviceFilterArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        end_times: Optional[Sequence[str]] = None,
        fosid: Optional[float] = None,
        index_fetch_logs: Optional[str] = None,
        log_filter_logic: Optional[str] = None,
        log_filter_status: Optional[str] = None,
        log_filters: Optional[Sequence[SystemLogfetchClientprofileLogFilterArgs]] = None,
        name: Optional[str] = None,
        passwords: Optional[Sequence[str]] = None,
        peer_cert_cn: Optional[str] = None,
        secure_connection: Optional[str] = None,
        server_adom: Optional[str] = None,
        server_ip: Optional[str] = None,
        start_times: Optional[Sequence[str]] = None,
        sync_adom_config: Optional[str] = None,
        system_logfetch_clientprofile_id: Optional[str] = None,
        user: Optional[str] = None) -> SystemLogfetchClientprofilefunc GetSystemLogfetchClientprofile(ctx *Context, name string, id IDInput, state *SystemLogfetchClientprofileState, opts ...ResourceOption) (*SystemLogfetchClientprofile, error)public static SystemLogfetchClientprofile Get(string name, Input<string> id, SystemLogfetchClientprofileState? state, CustomResourceOptions? opts = null)public static SystemLogfetchClientprofile get(String name, Output<String> id, SystemLogfetchClientprofileState state, CustomResourceOptions options)resources:  _:    type: fortimanager:SystemLogfetchClientprofile    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.
- ClientAdom string
- Log-fetch client side's adom name.
- DataRange string
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- DataRange doubleValue 
- Last n days or hours.
- DeviceFilters List<SystemLogfetch Clientprofile Device Filter> 
- Device-Filter. The structure of device_filterblock is documented below.
- DynamicSort stringSubtable 
- 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.
- EndTimes List<string>
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- Fosid double
- Log-fetch client profile ID.
- IndexFetch stringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilter stringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- LogFilter stringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilters List<SystemLogfetch Clientprofile Log Filter> 
- Log-Filter. The structure of log_filterblock is documented below.
- Name string
- Name of log-fetch client profile.
- Passwords List<string>
- Log-fetch server login password.
- PeerCert stringCn 
- Certificate common name of log-fetch server.
- SecureConnection string
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- ServerAdom string
- Log-fetch server side's adom name.
- ServerIp string
- Log-fetch server IP address.
- StartTimes List<string>
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- SyncAdom stringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- SystemLogfetch stringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- User string
- Log-fetch server login username.
- ClientAdom string
- Log-fetch client side's adom name.
- DataRange string
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- DataRange float64Value 
- Last n days or hours.
- DeviceFilters []SystemLogfetch Clientprofile Device Filter Type Args 
- Device-Filter. The structure of device_filterblock is documented below.
- DynamicSort stringSubtable 
- 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.
- EndTimes []string
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- Fosid float64
- Log-fetch client profile ID.
- IndexFetch stringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilter stringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- LogFilter stringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- LogFilters []SystemLogfetch Clientprofile Log Filter Args 
- Log-Filter. The structure of log_filterblock is documented below.
- Name string
- Name of log-fetch client profile.
- Passwords []string
- Log-fetch server login password.
- PeerCert stringCn 
- Certificate common name of log-fetch server.
- SecureConnection string
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- ServerAdom string
- Log-fetch server side's adom name.
- ServerIp string
- Log-fetch server IP address.
- StartTimes []string
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- SyncAdom stringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- SystemLogfetch stringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- User string
- Log-fetch server login username.
- clientAdom String
- Log-fetch client side's adom name.
- dataRange String
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- dataRange DoubleValue 
- Last n days or hours.
- deviceFilters List<SystemLogfetch Clientprofile Device Filter> 
- Device-Filter. The structure of device_filterblock is documented below.
- dynamicSort StringSubtable 
- 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.
- endTimes List<String>
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid Double
- Log-fetch client profile ID.
- indexFetch StringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilter StringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- logFilter StringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilters List<SystemLogfetch Clientprofile Log Filter> 
- Log-Filter. The structure of log_filterblock is documented below.
- name String
- Name of log-fetch client profile.
- passwords List<String>
- Log-fetch server login password.
- peerCert StringCn 
- Certificate common name of log-fetch server.
- secureConnection String
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- serverAdom String
- Log-fetch server side's adom name.
- serverIp String
- Log-fetch server IP address.
- startTimes List<String>
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- syncAdom StringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- systemLogfetch StringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- user String
- Log-fetch server login username.
- clientAdom string
- Log-fetch client side's adom name.
- dataRange string
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- dataRange numberValue 
- Last n days or hours.
- deviceFilters SystemLogfetch Clientprofile Device Filter[] 
- Device-Filter. The structure of device_filterblock is documented below.
- dynamicSort stringSubtable 
- 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.
- endTimes string[]
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid number
- Log-fetch client profile ID.
- indexFetch stringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilter stringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- logFilter stringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilters SystemLogfetch Clientprofile Log Filter[] 
- Log-Filter. The structure of log_filterblock is documented below.
- name string
- Name of log-fetch client profile.
- passwords string[]
- Log-fetch server login password.
- peerCert stringCn 
- Certificate common name of log-fetch server.
- secureConnection string
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- serverAdom string
- Log-fetch server side's adom name.
- serverIp string
- Log-fetch server IP address.
- startTimes string[]
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- syncAdom stringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- systemLogfetch stringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- user string
- Log-fetch server login username.
- client_adom str
- Log-fetch client side's adom name.
- data_range str
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- data_range_ floatvalue 
- Last n days or hours.
- device_filters Sequence[SystemLogfetch Clientprofile Device Filter Args] 
- Device-Filter. The structure of device_filterblock is documented below.
- dynamic_sort_ strsubtable 
- 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.
- end_times Sequence[str]
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid float
- Log-fetch client profile ID.
- index_fetch_ strlogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- log_filter_ strlogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- log_filter_ strstatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- log_filters Sequence[SystemLogfetch Clientprofile Log Filter Args] 
- Log-Filter. The structure of log_filterblock is documented below.
- name str
- Name of log-fetch client profile.
- passwords Sequence[str]
- Log-fetch server login password.
- peer_cert_ strcn 
- Certificate common name of log-fetch server.
- secure_connection str
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- server_adom str
- Log-fetch server side's adom name.
- server_ip str
- Log-fetch server IP address.
- start_times Sequence[str]
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- sync_adom_ strconfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- system_logfetch_ strclientprofile_ id 
- an identifier for the resource with format {{fosid}}.
- user str
- Log-fetch server login username.
- clientAdom String
- Log-fetch client side's adom name.
- dataRange String
- Data-range for fetched logs. custom - Specify some other date and time range. Valid values: custom.
- dataRange NumberValue 
- Last n days or hours.
- deviceFilters List<Property Map>
- Device-Filter. The structure of device_filterblock is documented below.
- dynamicSort StringSubtable 
- 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.
- endTimes List<String>
- End date and time of the data-range <hh:mm yyyy/mm/dd>.
- fosid Number
- Log-fetch client profile ID.
- indexFetch StringLogs 
- Enable/Disable indexing logs automatically after fetching logs. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilter StringLogic 
- And/Or logic for log-filters. and - Logic And. or - Logic Or. Valid values: and,or.
- logFilter StringStatus 
- Enable/Disable log-filter. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- logFilters List<Property Map>
- Log-Filter. The structure of log_filterblock is documented below.
- name String
- Name of log-fetch client profile.
- passwords List<String>
- Log-fetch server login password.
- peerCert StringCn 
- Certificate common name of log-fetch server.
- secureConnection String
- Enable/Disable protecting log-fetch connection with TLS/SSL. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- serverAdom String
- Log-fetch server side's adom name.
- serverIp String
- Log-fetch server IP address.
- startTimes List<String>
- Start date and time of the data-range <hh:mm yyyy/mm/dd>.
- syncAdom StringConfig 
- Enable/Disable sync adom related config. disable - Disable attribute function. enable - Enable attribute function. Valid values: disable,enable.
- systemLogfetch StringClientprofile Id 
- an identifier for the resource with format {{fosid}}.
- user String
- Log-fetch server login username.
Supporting Types
SystemLogfetchClientprofileDeviceFilter, SystemLogfetchClientprofileDeviceFilterArgs          
SystemLogfetchClientprofileLogFilter, SystemLogfetchClientprofileLogFilterArgs          
- Field string
- Field name.
- Id double
- Log filter ID.
- Oper string
- Field filter operator. < - =Less than or equal to > - =Greater than or equal to contain - Contain not-contain - Not contain match - Match (expression) Valid values: =,!=,<,>,<=,>=,contain,not-contain,match.
- Value string
- Field filter operand or free-text matching expression.
- Field string
- Field name.
- Id float64
- Log filter ID.
- Oper string
- Field filter operator. < - =Less than or equal to > - =Greater than or equal to contain - Contain not-contain - Not contain match - Match (expression) Valid values: =,!=,<,>,<=,>=,contain,not-contain,match.
- Value string
- Field filter operand or free-text matching expression.
- field String
- Field name.
- id Double
- Log filter ID.
- oper String
- Field filter operator. < - =Less than or equal to > - =Greater than or equal to contain - Contain not-contain - Not contain match - Match (expression) Valid values: =,!=,<,>,<=,>=,contain,not-contain,match.
- value String
- Field filter operand or free-text matching expression.
- field string
- Field name.
- id number
- Log filter ID.
- oper string
- Field filter operator. < - =Less than or equal to > - =Greater than or equal to contain - Contain not-contain - Not contain match - Match (expression) Valid values: =,!=,<,>,<=,>=,contain,not-contain,match.
- value string
- Field filter operand or free-text matching expression.
- field str
- Field name.
- id float
- Log filter ID.
- oper str
- Field filter operator. < - =Less than or equal to > - =Greater than or equal to contain - Contain not-contain - Not contain match - Match (expression) Valid values: =,!=,<,>,<=,>=,contain,not-contain,match.
- value str
- Field filter operand or free-text matching expression.
- field String
- Field name.
- id Number
- Log filter ID.
- oper String
- Field filter operator. < - =Less than or equal to > - =Greater than or equal to contain - Contain not-contain - Not contain match - Match (expression) Valid values: =,!=,<,>,<=,>=,contain,not-contain,match.
- value String
- Field filter operand or free-text matching expression.
Import
System LogFetchClientProfile can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/systemLogfetchClientprofile:SystemLogfetchClientprofile labelname {{fosid}}
$ 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 fortimanagerTerraform Provider.