checkpoint.ManagementSyslogServer
Explore with Pulumi AI
This resource allows you to execute Check Point Syslog Server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementSyslogServer("example", {
host: "syslogServerHost",
port: 18889,
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementSyslogServer("example",
host="syslogServerHost",
port=18889)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := checkpoint.NewManagementSyslogServer(ctx, "example", &checkpoint.ManagementSyslogServerArgs{
Host: pulumi.String("syslogServerHost"),
Port: pulumi.Float64(18889),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;
return await Deployment.RunAsync(() =>
{
var example = new Checkpoint.ManagementSyslogServer("example", new()
{
Host = "syslogServerHost",
Port = 18889,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementSyslogServer;
import com.pulumi.checkpoint.ManagementSyslogServerArgs;
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 example = new ManagementSyslogServer("example", ManagementSyslogServerArgs.builder()
.host("syslogServerHost")
.port(18889)
.build());
}
}
resources:
example:
type: checkpoint:ManagementSyslogServer
properties:
host: syslogServerHost
port: 18889
Create ManagementSyslogServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementSyslogServer(name: string, args: ManagementSyslogServerArgs, opts?: CustomResourceOptions);
@overload
def ManagementSyslogServer(resource_name: str,
args: ManagementSyslogServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementSyslogServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
host: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_syslog_server_id: Optional[str] = None,
name: Optional[str] = None,
port: Optional[float] = None,
tags: Optional[Sequence[str]] = None,
version: Optional[str] = None)
func NewManagementSyslogServer(ctx *Context, name string, args ManagementSyslogServerArgs, opts ...ResourceOption) (*ManagementSyslogServer, error)
public ManagementSyslogServer(string name, ManagementSyslogServerArgs args, CustomResourceOptions? opts = null)
public ManagementSyslogServer(String name, ManagementSyslogServerArgs args)
public ManagementSyslogServer(String name, ManagementSyslogServerArgs args, CustomResourceOptions options)
type: checkpoint:ManagementSyslogServer
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 ManagementSyslogServerArgs
- 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 ManagementSyslogServerArgs
- 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 ManagementSyslogServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementSyslogServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementSyslogServerArgs
- 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 managementSyslogServerResource = new Checkpoint.ManagementSyslogServer("managementSyslogServerResource", new()
{
Host = "string",
Color = "string",
Comments = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementSyslogServerId = "string",
Name = "string",
Port = 0,
Tags = new[]
{
"string",
},
Version = "string",
});
example, err := checkpoint.NewManagementSyslogServer(ctx, "managementSyslogServerResource", &checkpoint.ManagementSyslogServerArgs{
Host: pulumi.String("string"),
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementSyslogServerId: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.Float64(0),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Version: pulumi.String("string"),
})
var managementSyslogServerResource = new ManagementSyslogServer("managementSyslogServerResource", ManagementSyslogServerArgs.builder()
.host("string")
.color("string")
.comments("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.managementSyslogServerId("string")
.name("string")
.port(0.0)
.tags("string")
.version("string")
.build());
management_syslog_server_resource = checkpoint.ManagementSyslogServer("managementSyslogServerResource",
host="string",
color="string",
comments="string",
ignore_errors=False,
ignore_warnings=False,
management_syslog_server_id="string",
name="string",
port=0,
tags=["string"],
version="string")
const managementSyslogServerResource = new checkpoint.ManagementSyslogServer("managementSyslogServerResource", {
host: "string",
color: "string",
comments: "string",
ignoreErrors: false,
ignoreWarnings: false,
managementSyslogServerId: "string",
name: "string",
port: 0,
tags: ["string"],
version: "string",
});
type: checkpoint:ManagementSyslogServer
properties:
color: string
comments: string
host: string
ignoreErrors: false
ignoreWarnings: false
managementSyslogServerId: string
name: string
port: 0
tags:
- string
version: string
ManagementSyslogServer 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 ManagementSyslogServer resource accepts the following input properties:
- Host string
- Host server object identified by the name or UID.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Syslog stringServer Id - Name string
- Object name.
- Port double
- Port number.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Version string
- RFC version.
- Host string
- Host server object identified by the name or UID.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Syslog stringServer Id - Name string
- Object name.
- Port float64
- Port number.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Version string
- RFC version.
- host String
- Host server object identified by the name or UID.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Syslog StringServer Id - name String
- Object name.
- port Double
- Port number.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- version String
- RFC version.
- host string
- Host server object identified by the name or UID.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- ignore
Errors boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Syslog stringServer Id - name string
- Object name.
- port number
- Port number.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- version string
- RFC version.
- host str
- Host server object identified by the name or UID.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- ignore_
errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore_
warnings bool - Apply changes ignoring warnings.
- management_
syslog_ strserver_ id - name str
- Object name.
- port float
- Port number.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- version str
- RFC version.
- host String
- Host server object identified by the name or UID.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Syslog StringServer Id - name String
- Object name.
- port Number
- Port number.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- version String
- RFC version.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementSyslogServer 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 ManagementSyslogServer Resource
Get an existing ManagementSyslogServer 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?: ManagementSyslogServerState, opts?: CustomResourceOptions): ManagementSyslogServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
host: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_syslog_server_id: Optional[str] = None,
name: Optional[str] = None,
port: Optional[float] = None,
tags: Optional[Sequence[str]] = None,
version: Optional[str] = None) -> ManagementSyslogServer
func GetManagementSyslogServer(ctx *Context, name string, id IDInput, state *ManagementSyslogServerState, opts ...ResourceOption) (*ManagementSyslogServer, error)
public static ManagementSyslogServer Get(string name, Input<string> id, ManagementSyslogServerState? state, CustomResourceOptions? opts = null)
public static ManagementSyslogServer get(String name, Output<String> id, ManagementSyslogServerState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementSyslogServer 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.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Host string
- Host server object identified by the name or UID.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Syslog stringServer Id - Name string
- Object name.
- Port double
- Port number.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Version string
- RFC version.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Host string
- Host server object identified by the name or UID.
- Ignore
Errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- Ignore
Warnings bool - Apply changes ignoring warnings.
- Management
Syslog stringServer Id - Name string
- Object name.
- Port float64
- Port number.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- Version string
- RFC version.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- host String
- Host server object identified by the name or UID.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Syslog StringServer Id - name String
- Object name.
- port Double
- Port number.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- version String
- RFC version.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- host string
- Host server object identified by the name or UID.
- ignore
Errors boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings boolean - Apply changes ignoring warnings.
- management
Syslog stringServer Id - name string
- Object name.
- port number
- Port number.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- version string
- RFC version.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- host str
- Host server object identified by the name or UID.
- ignore_
errors bool - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore_
warnings bool - Apply changes ignoring warnings.
- management_
syslog_ strserver_ id - name str
- Object name.
- port float
- Port number.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- version str
- RFC version.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- host String
- Host server object identified by the name or UID.
- ignore
Errors Boolean - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
- ignore
Warnings Boolean - Apply changes ignoring warnings.
- management
Syslog StringServer Id - name String
- Object name.
- port Number
- Port number.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- version String
- RFC version.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.