checkpoint.ManagementLsvProfile
Explore with Pulumi AI
This resource allows you to add/update/delete Check Point Lsv Profile.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementLsvProfile("example", {certificateAuthority: "internal_ca"});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementLsvProfile("example", certificate_authority="internal_ca")
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.NewManagementLsvProfile(ctx, "example", &checkpoint.ManagementLsvProfileArgs{
CertificateAuthority: pulumi.String("internal_ca"),
})
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.ManagementLsvProfile("example", new()
{
CertificateAuthority = "internal_ca",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementLsvProfile;
import com.pulumi.checkpoint.ManagementLsvProfileArgs;
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 ManagementLsvProfile("example", ManagementLsvProfileArgs.builder()
.certificateAuthority("internal_ca")
.build());
}
}
resources:
example:
type: checkpoint:ManagementLsvProfile
properties:
certificateAuthority: internal_ca
Create ManagementLsvProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementLsvProfile(name: string, args: ManagementLsvProfileArgs, opts?: CustomResourceOptions);
@overload
def ManagementLsvProfile(resource_name: str,
args: ManagementLsvProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementLsvProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate_authority: Optional[str] = None,
allowed_ip_addresses: Optional[Sequence[str]] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_lsv_profile_id: Optional[str] = None,
name: Optional[str] = None,
restrict_allowed_addresses: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
vpn_domain: Optional[Mapping[str, str]] = None)
func NewManagementLsvProfile(ctx *Context, name string, args ManagementLsvProfileArgs, opts ...ResourceOption) (*ManagementLsvProfile, error)
public ManagementLsvProfile(string name, ManagementLsvProfileArgs args, CustomResourceOptions? opts = null)
public ManagementLsvProfile(String name, ManagementLsvProfileArgs args)
public ManagementLsvProfile(String name, ManagementLsvProfileArgs args, CustomResourceOptions options)
type: checkpoint:ManagementLsvProfile
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 ManagementLsvProfileArgs
- 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 ManagementLsvProfileArgs
- 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 ManagementLsvProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementLsvProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementLsvProfileArgs
- 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 managementLsvProfileResource = new Checkpoint.ManagementLsvProfile("managementLsvProfileResource", new()
{
CertificateAuthority = "string",
AllowedIpAddresses = new[]
{
"string",
},
Color = "string",
Comments = "string",
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementLsvProfileId = "string",
Name = "string",
RestrictAllowedAddresses = false,
Tags = new[]
{
"string",
},
VpnDomain =
{
{ "string", "string" },
},
});
example, err := checkpoint.NewManagementLsvProfile(ctx, "managementLsvProfileResource", &checkpoint.ManagementLsvProfileArgs{
CertificateAuthority: pulumi.String("string"),
AllowedIpAddresses: pulumi.StringArray{
pulumi.String("string"),
},
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementLsvProfileId: pulumi.String("string"),
Name: pulumi.String("string"),
RestrictAllowedAddresses: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
VpnDomain: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var managementLsvProfileResource = new ManagementLsvProfile("managementLsvProfileResource", ManagementLsvProfileArgs.builder()
.certificateAuthority("string")
.allowedIpAddresses("string")
.color("string")
.comments("string")
.ignoreErrors(false)
.ignoreWarnings(false)
.managementLsvProfileId("string")
.name("string")
.restrictAllowedAddresses(false)
.tags("string")
.vpnDomain(Map.of("string", "string"))
.build());
management_lsv_profile_resource = checkpoint.ManagementLsvProfile("managementLsvProfileResource",
certificate_authority="string",
allowed_ip_addresses=["string"],
color="string",
comments="string",
ignore_errors=False,
ignore_warnings=False,
management_lsv_profile_id="string",
name="string",
restrict_allowed_addresses=False,
tags=["string"],
vpn_domain={
"string": "string",
})
const managementLsvProfileResource = new checkpoint.ManagementLsvProfile("managementLsvProfileResource", {
certificateAuthority: "string",
allowedIpAddresses: ["string"],
color: "string",
comments: "string",
ignoreErrors: false,
ignoreWarnings: false,
managementLsvProfileId: "string",
name: "string",
restrictAllowedAddresses: false,
tags: ["string"],
vpnDomain: {
string: "string",
},
});
type: checkpoint:ManagementLsvProfile
properties:
allowedIpAddresses:
- string
certificateAuthority: string
color: string
comments: string
ignoreErrors: false
ignoreWarnings: false
managementLsvProfileId: string
name: string
restrictAllowedAddresses: false
tags:
- string
vpnDomain:
string: string
ManagementLsvProfile 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 ManagementLsvProfile resource accepts the following input properties:
- string
- Trusted Certificate authority for establishing trust between VPN peers, identified by name or UID.
- Allowed
Ip List<string>Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- 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
Lsv stringProfile Id - Name string
- Object name. Should be unique in the domain.
- Restrict
Allowed boolAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- List<string>
- Collection of tag identifiers.
- Vpn
Domain Dictionary<string, string> - peers' VPN Domain properties. vpn_domain blocks are documented below.
- string
- Trusted Certificate authority for establishing trust between VPN peers, identified by name or UID.
- Allowed
Ip []stringAddresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- 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
Lsv stringProfile Id - Name string
- Object name. Should be unique in the domain.
- Restrict
Allowed boolAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- []string
- Collection of tag identifiers.
- Vpn
Domain map[string]string - peers' VPN Domain properties. vpn_domain blocks are documented below.
- String
- Trusted Certificate authority for establishing trust between VPN peers, identified by name or UID.
- allowed
Ip List<String>Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- 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
Lsv StringProfile Id - name String
- Object name. Should be unique in the domain.
- restrict
Allowed BooleanAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- List<String>
- Collection of tag identifiers.
- vpn
Domain Map<String,String> - peers' VPN Domain properties. vpn_domain blocks are documented below.
- string
- Trusted Certificate authority for establishing trust between VPN peers, identified by name or UID.
- allowed
Ip string[]Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- 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
Lsv stringProfile Id - name string
- Object name. Should be unique in the domain.
- restrict
Allowed booleanAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- string[]
- Collection of tag identifiers.
- vpn
Domain {[key: string]: string} - peers' VPN Domain properties. vpn_domain blocks are documented below.
- str
- Trusted Certificate authority for establishing trust between VPN peers, identified by name or UID.
- allowed_
ip_ Sequence[str]addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- 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_
lsv_ strprofile_ id - name str
- Object name. Should be unique in the domain.
- restrict_
allowed_ booladdresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- Sequence[str]
- Collection of tag identifiers.
- vpn_
domain Mapping[str, str] - peers' VPN Domain properties. vpn_domain blocks are documented below.
- String
- Trusted Certificate authority for establishing trust between VPN peers, identified by name or UID.
- allowed
Ip List<String>Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- 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
Lsv StringProfile Id - name String
- Object name. Should be unique in the domain.
- restrict
Allowed BooleanAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- List<String>
- Collection of tag identifiers.
- vpn
Domain Map<String> - peers' VPN Domain properties. vpn_domain blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementLsvProfile 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 ManagementLsvProfile Resource
Get an existing ManagementLsvProfile 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?: ManagementLsvProfileState, opts?: CustomResourceOptions): ManagementLsvProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_ip_addresses: Optional[Sequence[str]] = None,
certificate_authority: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_lsv_profile_id: Optional[str] = None,
name: Optional[str] = None,
restrict_allowed_addresses: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
vpn_domain: Optional[Mapping[str, str]] = None) -> ManagementLsvProfile
func GetManagementLsvProfile(ctx *Context, name string, id IDInput, state *ManagementLsvProfileState, opts ...ResourceOption) (*ManagementLsvProfile, error)
public static ManagementLsvProfile Get(string name, Input<string> id, ManagementLsvProfileState? state, CustomResourceOptions? opts = null)
public static ManagementLsvProfile get(String name, Output<String> id, ManagementLsvProfileState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementLsvProfile 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.
- Allowed
Ip List<string>Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- string
- Trusted Certificate authority for establishing trust between VPN peers, identified by 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
Lsv stringProfile Id - Name string
- Object name. Should be unique in the domain.
- Restrict
Allowed boolAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- List<string>
- Collection of tag identifiers.
- Vpn
Domain Dictionary<string, string> - peers' VPN Domain properties. vpn_domain blocks are documented below.
- Allowed
Ip []stringAddresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- string
- Trusted Certificate authority for establishing trust between VPN peers, identified by 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
Lsv stringProfile Id - Name string
- Object name. Should be unique in the domain.
- Restrict
Allowed boolAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- []string
- Collection of tag identifiers.
- Vpn
Domain map[string]string - peers' VPN Domain properties. vpn_domain blocks are documented below.
- allowed
Ip List<String>Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- String
- Trusted Certificate authority for establishing trust between VPN peers, identified by 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
Lsv StringProfile Id - name String
- Object name. Should be unique in the domain.
- restrict
Allowed BooleanAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- List<String>
- Collection of tag identifiers.
- vpn
Domain Map<String,String> - peers' VPN Domain properties. vpn_domain blocks are documented below.
- allowed
Ip string[]Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- string
- Trusted Certificate authority for establishing trust between VPN peers, identified by 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
Lsv stringProfile Id - name string
- Object name. Should be unique in the domain.
- restrict
Allowed booleanAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- string[]
- Collection of tag identifiers.
- vpn
Domain {[key: string]: string} - peers' VPN Domain properties. vpn_domain blocks are documented below.
- allowed_
ip_ Sequence[str]addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- str
- Trusted Certificate authority for establishing trust between VPN peers, identified by 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_
lsv_ strprofile_ id - name str
- Object name. Should be unique in the domain.
- restrict_
allowed_ booladdresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- Sequence[str]
- Collection of tag identifiers.
- vpn_
domain Mapping[str, str] - peers' VPN Domain properties. vpn_domain blocks are documented below.
- allowed
Ip List<String>Addresses - Collection of network objects identified by name or UID that represent IP addresses allowed in profile's VPN domain.
- String
- Trusted Certificate authority for establishing trust between VPN peers, identified by 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
Lsv StringProfile Id - name String
- Object name. Should be unique in the domain.
- restrict
Allowed BooleanAddresses - Indicate whether the IP addresses allowed in the VPN Domain will be restricted or not, according to allowed-ip-addresses field.
- List<String>
- Collection of tag identifiers.
- vpn
Domain Map<String> - peers' VPN Domain properties. vpn_domain blocks are documented below.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.