1. Packages
  2. Fortios
  3. API Docs
  4. fmg
  5. SystemSyslogserver
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.fmg.SystemSyslogserver

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    This resource supports Create/Delete system syslog server for FortiManager.

    Example Usage

    resource "fortios_fmg_system_syslogserver" "test1" {
      name = "test-syslog"
      ip   = "1.1.1.1"
      port = 99
    }
    

    Create SystemSyslogserver Resource

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

    Constructor syntax

    new SystemSyslogserver(name: string, args?: SystemSyslogserverArgs, opts?: CustomResourceOptions);
    @overload
    def SystemSyslogserver(resource_name: str,
                           args: Optional[SystemSyslogserverArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def SystemSyslogserver(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           ip: Optional[str] = None,
                           name: Optional[str] = None,
                           port: Optional[int] = None)
    func NewSystemSyslogserver(ctx *Context, name string, args *SystemSyslogserverArgs, opts ...ResourceOption) (*SystemSyslogserver, error)
    public SystemSyslogserver(string name, SystemSyslogserverArgs? args = null, CustomResourceOptions? opts = null)
    public SystemSyslogserver(String name, SystemSyslogserverArgs args)
    public SystemSyslogserver(String name, SystemSyslogserverArgs args, CustomResourceOptions options)
    
    type: fortios:fmg:SystemSyslogserver
    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 SystemSyslogserverArgs
    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 SystemSyslogserverArgs
    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 SystemSyslogserverArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SystemSyslogserverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SystemSyslogserverArgs
    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 systemSyslogserverResource = new Fortios.Fmg.SystemSyslogserver("systemSyslogserverResource", new()
    {
        Ip = "string",
        Name = "string",
        Port = 0,
    });
    
    example, err := fmg.NewSystemSyslogserver(ctx, "systemSyslogserverResource", &fmg.SystemSyslogserverArgs{
    	Ip:   pulumi.String("string"),
    	Name: pulumi.String("string"),
    	Port: pulumi.Int(0),
    })
    
    var systemSyslogserverResource = new SystemSyslogserver("systemSyslogserverResource", SystemSyslogserverArgs.builder()
        .ip("string")
        .name("string")
        .port(0)
        .build());
    
    system_syslogserver_resource = fortios.fmg.SystemSyslogserver("systemSyslogserverResource",
        ip="string",
        name="string",
        port=0)
    
    const systemSyslogserverResource = new fortios.fmg.SystemSyslogserver("systemSyslogserverResource", {
        ip: "string",
        name: "string",
        port: 0,
    });
    
    type: fortios:fmg:SystemSyslogserver
    properties:
        ip: string
        name: string
        port: 0
    

    SystemSyslogserver Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SystemSyslogserver resource accepts the following input properties:

    Ip string
    Ipaddress of the syslog server.
    Name string
    Syslog server name.
    Port int
    Port of the syslog server.
    Ip string
    Ipaddress of the syslog server.
    Name string
    Syslog server name.
    Port int
    Port of the syslog server.
    ip String
    Ipaddress of the syslog server.
    name String
    Syslog server name.
    port Integer
    Port of the syslog server.
    ip string
    Ipaddress of the syslog server.
    name string
    Syslog server name.
    port number
    Port of the syslog server.
    ip str
    Ipaddress of the syslog server.
    name str
    Syslog server name.
    port int
    Port of the syslog server.
    ip String
    Ipaddress of the syslog server.
    name String
    Syslog server name.
    port Number
    Port of the syslog server.

    Outputs

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

    Get an existing SystemSyslogserver 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?: SystemSyslogserverState, opts?: CustomResourceOptions): SystemSyslogserver
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ip: Optional[str] = None,
            name: Optional[str] = None,
            port: Optional[int] = None) -> SystemSyslogserver
    func GetSystemSyslogserver(ctx *Context, name string, id IDInput, state *SystemSyslogserverState, opts ...ResourceOption) (*SystemSyslogserver, error)
    public static SystemSyslogserver Get(string name, Input<string> id, SystemSyslogserverState? state, CustomResourceOptions? opts = null)
    public static SystemSyslogserver get(String name, Output<String> id, SystemSyslogserverState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Ip string
    Ipaddress of the syslog server.
    Name string
    Syslog server name.
    Port int
    Port of the syslog server.
    Ip string
    Ipaddress of the syslog server.
    Name string
    Syslog server name.
    Port int
    Port of the syslog server.
    ip String
    Ipaddress of the syslog server.
    name String
    Syslog server name.
    port Integer
    Port of the syslog server.
    ip string
    Ipaddress of the syslog server.
    name string
    Syslog server name.
    port number
    Port of the syslog server.
    ip str
    Ipaddress of the syslog server.
    name str
    Syslog server name.
    port int
    Port of the syslog server.
    ip String
    Ipaddress of the syslog server.
    name String
    Syslog server name.
    port Number
    Port of the syslog server.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse