This resource allows you to execute Check Point Logical Server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementLogicalServer("example", {
name: "logicalServer1",
serverGroup: "testGroup",
serverType: "other",
persistenceMode: true,
persistencyType: "by_server",
balanceMethod: "domain",
ipv4Address: "1.1.1.1",
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementLogicalServer("example",
name="logicalServer1",
server_group="testGroup",
server_type="other",
persistence_mode=True,
persistency_type="by_server",
balance_method="domain",
ipv4_address="1.1.1.1")
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.NewManagementLogicalServer(ctx, "example", &checkpoint.ManagementLogicalServerArgs{
Name: pulumi.String("logicalServer1"),
ServerGroup: pulumi.String("testGroup"),
ServerType: pulumi.String("other"),
PersistenceMode: pulumi.Bool(true),
PersistencyType: pulumi.String("by_server"),
BalanceMethod: pulumi.String("domain"),
Ipv4Address: pulumi.String("1.1.1.1"),
})
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.ManagementLogicalServer("example", new()
{
Name = "logicalServer1",
ServerGroup = "testGroup",
ServerType = "other",
PersistenceMode = true,
PersistencyType = "by_server",
BalanceMethod = "domain",
Ipv4Address = "1.1.1.1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementLogicalServer;
import com.pulumi.checkpoint.ManagementLogicalServerArgs;
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 ManagementLogicalServer("example", ManagementLogicalServerArgs.builder()
.name("logicalServer1")
.serverGroup("testGroup")
.serverType("other")
.persistenceMode(true)
.persistencyType("by_server")
.balanceMethod("domain")
.ipv4Address("1.1.1.1")
.build());
}
}
resources:
example:
type: checkpoint:ManagementLogicalServer
properties:
name: logicalServer1
serverGroup: testGroup
serverType: other
persistenceMode: true
persistencyType: by_server
balanceMethod: domain
ipv4Address: 1.1.1.1
Create ManagementLogicalServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementLogicalServer(name: string, args?: ManagementLogicalServerArgs, opts?: CustomResourceOptions);@overload
def ManagementLogicalServer(resource_name: str,
args: Optional[ManagementLogicalServerArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementLogicalServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
balance_method: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
ipv4_address: Optional[str] = None,
ipv6_address: Optional[str] = None,
management_logical_server_id: Optional[str] = None,
name: Optional[str] = None,
persistence_mode: Optional[bool] = None,
persistency_type: Optional[str] = None,
server_group: Optional[str] = None,
server_type: Optional[str] = None,
tags: Optional[Sequence[str]] = None)func NewManagementLogicalServer(ctx *Context, name string, args *ManagementLogicalServerArgs, opts ...ResourceOption) (*ManagementLogicalServer, error)public ManagementLogicalServer(string name, ManagementLogicalServerArgs? args = null, CustomResourceOptions? opts = null)
public ManagementLogicalServer(String name, ManagementLogicalServerArgs args)
public ManagementLogicalServer(String name, ManagementLogicalServerArgs args, CustomResourceOptions options)
type: checkpoint:ManagementLogicalServer
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 ManagementLogicalServerArgs
- 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 ManagementLogicalServerArgs
- 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 ManagementLogicalServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementLogicalServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementLogicalServerArgs
- 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 managementLogicalServerResource = new Checkpoint.ManagementLogicalServer("managementLogicalServerResource", new()
{
BalanceMethod = "string",
Color = "string",
Comments = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
Ipv4Address = "string",
Ipv6Address = "string",
ManagementLogicalServerId = "string",
Name = "string",
PersistenceMode = false,
PersistencyType = "string",
ServerGroup = "string",
ServerType = "string",
Tags = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementLogicalServer(ctx, "managementLogicalServerResource", &checkpoint.ManagementLogicalServerArgs{
BalanceMethod: pulumi.String("string"),
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
Ipv4Address: pulumi.String("string"),
Ipv6Address: pulumi.String("string"),
ManagementLogicalServerId: pulumi.String("string"),
Name: pulumi.String("string"),
PersistenceMode: pulumi.Bool(false),
PersistencyType: pulumi.String("string"),
ServerGroup: pulumi.String("string"),
ServerType: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementLogicalServerResource = new ManagementLogicalServer("managementLogicalServerResource", ManagementLogicalServerArgs.builder()
.balanceMethod("string")
.color("string")
.comments("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.ipv4Address("string")
.ipv6Address("string")
.managementLogicalServerId("string")
.name("string")
.persistenceMode(false)
.persistencyType("string")
.serverGroup("string")
.serverType("string")
.tags("string")
.build());
management_logical_server_resource = checkpoint.ManagementLogicalServer("managementLogicalServerResource",
balance_method="string",
color="string",
comments="string",
ignore_errors=False,
ignore_warnings=False,
ipv4_address="string",
ipv6_address="string",
management_logical_server_id="string",
name="string",
persistence_mode=False,
persistency_type="string",
server_group="string",
server_type="string",
tags=["string"])
const managementLogicalServerResource = new checkpoint.ManagementLogicalServer("managementLogicalServerResource", {
balanceMethod: "string",
color: "string",
comments: "string",
ignoreErrors: false,
ignoreWarnings: false,
ipv4Address: "string",
ipv6Address: "string",
managementLogicalServerId: "string",
name: "string",
persistenceMode: false,
persistencyType: "string",
serverGroup: "string",
serverType: "string",
tags: ["string"],
});
type: checkpoint:ManagementLogicalServer
properties:
balanceMethod: string
color: string
comments: string
ignoreErrors: false
ignoreWarnings: false
ipv4Address: string
ipv6Address: string
managementLogicalServerId: string
name: string
persistenceMode: false
persistencyType: string
serverGroup: string
serverType: string
tags:
- string
ManagementLogicalServer 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 ManagementLogicalServer resource accepts the following input properties:
- Balance
Method string - Load balancing method for the logical server.
- 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.
- Ipv4Address string
- IPv4 address.
- Ipv6Address string
- IPv6 address.
- Management
Logical stringServer Id - Name string
- Object name.
- Persistence
Mode bool - Indicates if persistence mode is enabled for the logical server.
- Persistency
Type string - Persistency type for the logical server.
- Server
Group string - Server group associated with the logical server. Identified by name or UID.
- Server
Type string - Type of server for the logical server.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Balance
Method string - Load balancing method for the logical server.
- 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.
- Ipv4Address string
- IPv4 address.
- Ipv6Address string
- IPv6 address.
- Management
Logical stringServer Id - Name string
- Object name.
- Persistence
Mode bool - Indicates if persistence mode is enabled for the logical server.
- Persistency
Type string - Persistency type for the logical server.
- Server
Group string - Server group associated with the logical server. Identified by name or UID.
- Server
Type string - Type of server for the logical server.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- balance
Method String - Load balancing method for the logical server.
- 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.
- ipv4Address String
- IPv4 address.
- ipv6Address String
- IPv6 address.
- management
Logical StringServer Id - name String
- Object name.
- persistence
Mode Boolean - Indicates if persistence mode is enabled for the logical server.
- persistency
Type String - Persistency type for the logical server.
- server
Group String - Server group associated with the logical server. Identified by name or UID.
- server
Type String - Type of server for the logical server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- balance
Method string - Load balancing method for the logical server.
- 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.
- ipv4Address string
- IPv4 address.
- ipv6Address string
- IPv6 address.
- management
Logical stringServer Id - name string
- Object name.
- persistence
Mode boolean - Indicates if persistence mode is enabled for the logical server.
- persistency
Type string - Persistency type for the logical server.
- server
Group string - Server group associated with the logical server. Identified by name or UID.
- server
Type string - Type of server for the logical server.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- balance_
method str - Load balancing method for the logical server.
- 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.
- ipv4_
address str - IPv4 address.
- ipv6_
address str - IPv6 address.
- management_
logical_ strserver_ id - name str
- Object name.
- persistence_
mode bool - Indicates if persistence mode is enabled for the logical server.
- persistency_
type str - Persistency type for the logical server.
- server_
group str - Server group associated with the logical server. Identified by name or UID.
- server_
type str - Type of server for the logical server.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- balance
Method String - Load balancing method for the logical server.
- 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.
- ipv4Address String
- IPv4 address.
- ipv6Address String
- IPv6 address.
- management
Logical StringServer Id - name String
- Object name.
- persistence
Mode Boolean - Indicates if persistence mode is enabled for the logical server.
- persistency
Type String - Persistency type for the logical server.
- server
Group String - Server group associated with the logical server. Identified by name or UID.
- server
Type String - Type of server for the logical server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementLogicalServer 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 ManagementLogicalServer Resource
Get an existing ManagementLogicalServer 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?: ManagementLogicalServerState, opts?: CustomResourceOptions): ManagementLogicalServer@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
balance_method: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
ipv4_address: Optional[str] = None,
ipv6_address: Optional[str] = None,
management_logical_server_id: Optional[str] = None,
name: Optional[str] = None,
persistence_mode: Optional[bool] = None,
persistency_type: Optional[str] = None,
server_group: Optional[str] = None,
server_type: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ManagementLogicalServerfunc GetManagementLogicalServer(ctx *Context, name string, id IDInput, state *ManagementLogicalServerState, opts ...ResourceOption) (*ManagementLogicalServer, error)public static ManagementLogicalServer Get(string name, Input<string> id, ManagementLogicalServerState? state, CustomResourceOptions? opts = null)public static ManagementLogicalServer get(String name, Output<String> id, ManagementLogicalServerState state, CustomResourceOptions options)resources: _: type: checkpoint:ManagementLogicalServer 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.
- Balance
Method string - Load balancing method for the logical server.
- 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.
- Ipv4Address string
- IPv4 address.
- Ipv6Address string
- IPv6 address.
- Management
Logical stringServer Id - Name string
- Object name.
- Persistence
Mode bool - Indicates if persistence mode is enabled for the logical server.
- Persistency
Type string - Persistency type for the logical server.
- Server
Group string - Server group associated with the logical server. Identified by name or UID.
- Server
Type string - Type of server for the logical server.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Balance
Method string - Load balancing method for the logical server.
- 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.
- Ipv4Address string
- IPv4 address.
- Ipv6Address string
- IPv6 address.
- Management
Logical stringServer Id - Name string
- Object name.
- Persistence
Mode bool - Indicates if persistence mode is enabled for the logical server.
- Persistency
Type string - Persistency type for the logical server.
- Server
Group string - Server group associated with the logical server. Identified by name or UID.
- Server
Type string - Type of server for the logical server.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- balance
Method String - Load balancing method for the logical server.
- 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.
- ipv4Address String
- IPv4 address.
- ipv6Address String
- IPv6 address.
- management
Logical StringServer Id - name String
- Object name.
- persistence
Mode Boolean - Indicates if persistence mode is enabled for the logical server.
- persistency
Type String - Persistency type for the logical server.
- server
Group String - Server group associated with the logical server. Identified by name or UID.
- server
Type String - Type of server for the logical server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- balance
Method string - Load balancing method for the logical server.
- 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.
- ipv4Address string
- IPv4 address.
- ipv6Address string
- IPv6 address.
- management
Logical stringServer Id - name string
- Object name.
- persistence
Mode boolean - Indicates if persistence mode is enabled for the logical server.
- persistency
Type string - Persistency type for the logical server.
- server
Group string - Server group associated with the logical server. Identified by name or UID.
- server
Type string - Type of server for the logical server.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- balance_
method str - Load balancing method for the logical server.
- 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.
- ipv4_
address str - IPv4 address.
- ipv6_
address str - IPv6 address.
- management_
logical_ strserver_ id - name str
- Object name.
- persistence_
mode bool - Indicates if persistence mode is enabled for the logical server.
- persistency_
type str - Persistency type for the logical server.
- server_
group str - Server group associated with the logical server. Identified by name or UID.
- server_
type str - Type of server for the logical server.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- balance
Method String - Load balancing method for the logical server.
- 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.
- ipv4Address String
- IPv4 address.
- ipv6Address String
- IPv6 address.
- management
Logical StringServer Id - name String
- Object name.
- persistence
Mode Boolean - Indicates if persistence mode is enabled for the logical server.
- persistency
Type String - Persistency type for the logical server.
- server
Group String - Server group associated with the logical server. Identified by name or UID.
- server
Type String - Type of server for the logical server.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpointTerraform Provider.
