checkpoint.ManagementSecuremoteDnsServer
Explore with Pulumi AI
This resource allows you to execute Check Point Securemote Dns Server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";
const example = new checkpoint.ManagementSecuremoteDnsServer("example", {
domains: [
{
domainSuffix: ".com",
maximumPrefixLabelCount: 2,
},
{
domainSuffix: ".local",
maximumPrefixLabelCount: 3,
},
],
host: "TestHost",
});
import pulumi
import pulumi_checkpoint as checkpoint
example = checkpoint.ManagementSecuremoteDnsServer("example",
domains=[
{
"domain_suffix": ".com",
"maximum_prefix_label_count": 2,
},
{
"domain_suffix": ".local",
"maximum_prefix_label_count": 3,
},
],
host="TestHost")
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.NewManagementSecuremoteDnsServer(ctx, "example", &checkpoint.ManagementSecuremoteDnsServerArgs{
Domains: checkpoint.ManagementSecuremoteDnsServerDomainArray{
&checkpoint.ManagementSecuremoteDnsServerDomainArgs{
DomainSuffix: pulumi.String(".com"),
MaximumPrefixLabelCount: pulumi.Float64(2),
},
&checkpoint.ManagementSecuremoteDnsServerDomainArgs{
DomainSuffix: pulumi.String(".local"),
MaximumPrefixLabelCount: pulumi.Float64(3),
},
},
Host: pulumi.String("TestHost"),
})
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.ManagementSecuremoteDnsServer("example", new()
{
Domains = new[]
{
new Checkpoint.Inputs.ManagementSecuremoteDnsServerDomainArgs
{
DomainSuffix = ".com",
MaximumPrefixLabelCount = 2,
},
new Checkpoint.Inputs.ManagementSecuremoteDnsServerDomainArgs
{
DomainSuffix = ".local",
MaximumPrefixLabelCount = 3,
},
},
Host = "TestHost",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementSecuremoteDnsServer;
import com.pulumi.checkpoint.ManagementSecuremoteDnsServerArgs;
import com.pulumi.checkpoint.inputs.ManagementSecuremoteDnsServerDomainArgs;
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 ManagementSecuremoteDnsServer("example", ManagementSecuremoteDnsServerArgs.builder()
.domains(
ManagementSecuremoteDnsServerDomainArgs.builder()
.domainSuffix(".com")
.maximumPrefixLabelCount(2)
.build(),
ManagementSecuremoteDnsServerDomainArgs.builder()
.domainSuffix(".local")
.maximumPrefixLabelCount(3)
.build())
.host("TestHost")
.build());
}
}
resources:
example:
type: checkpoint:ManagementSecuremoteDnsServer
properties:
domains:
- domainSuffix: .com
maximumPrefixLabelCount: 2
- domainSuffix: .local
maximumPrefixLabelCount: 3
host: TestHost
Create ManagementSecuremoteDnsServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementSecuremoteDnsServer(name: string, args: ManagementSecuremoteDnsServerArgs, opts?: CustomResourceOptions);
@overload
def ManagementSecuremoteDnsServer(resource_name: str,
args: ManagementSecuremoteDnsServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementSecuremoteDnsServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
host: Optional[str] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
domains: Optional[Sequence[ManagementSecuremoteDnsServerDomainArgs]] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_securemote_dns_server_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewManagementSecuremoteDnsServer(ctx *Context, name string, args ManagementSecuremoteDnsServerArgs, opts ...ResourceOption) (*ManagementSecuremoteDnsServer, error)
public ManagementSecuremoteDnsServer(string name, ManagementSecuremoteDnsServerArgs args, CustomResourceOptions? opts = null)
public ManagementSecuremoteDnsServer(String name, ManagementSecuremoteDnsServerArgs args)
public ManagementSecuremoteDnsServer(String name, ManagementSecuremoteDnsServerArgs args, CustomResourceOptions options)
type: checkpoint:ManagementSecuremoteDnsServer
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 ManagementSecuremoteDnsServerArgs
- 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 ManagementSecuremoteDnsServerArgs
- 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 ManagementSecuremoteDnsServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementSecuremoteDnsServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementSecuremoteDnsServerArgs
- 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 managementSecuremoteDnsServerResource = new Checkpoint.ManagementSecuremoteDnsServer("managementSecuremoteDnsServerResource", new()
{
Host = "string",
Color = "string",
Comments = "string",
Domains = new[]
{
new Checkpoint.Inputs.ManagementSecuremoteDnsServerDomainArgs
{
DomainSuffix = "string",
MaximumPrefixLabelCount = 0,
},
},
IgnoreErrors = false,
IgnoreWarnings = false,
ManagementSecuremoteDnsServerId = "string",
Name = "string",
Tags = new[]
{
"string",
},
});
example, err := checkpoint.NewManagementSecuremoteDnsServer(ctx, "managementSecuremoteDnsServerResource", &checkpoint.ManagementSecuremoteDnsServerArgs{
Host: pulumi.String("string"),
Color: pulumi.String("string"),
Comments: pulumi.String("string"),
Domains: checkpoint.ManagementSecuremoteDnsServerDomainArray{
&checkpoint.ManagementSecuremoteDnsServerDomainArgs{
DomainSuffix: pulumi.String("string"),
MaximumPrefixLabelCount: pulumi.Float64(0),
},
},
IgnoreErrors: pulumi.Bool(false),
IgnoreWarnings: pulumi.Bool(false),
ManagementSecuremoteDnsServerId: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var managementSecuremoteDnsServerResource = new ManagementSecuremoteDnsServer("managementSecuremoteDnsServerResource", ManagementSecuremoteDnsServerArgs.builder()
.host("string")
.color("string")
.comments("string")
.domains(ManagementSecuremoteDnsServerDomainArgs.builder()
.domainSuffix("string")
.maximumPrefixLabelCount(0.0)
.build())
.ignoreErrors(false)
.ignoreWarnings(false)
.managementSecuremoteDnsServerId("string")
.name("string")
.tags("string")
.build());
management_securemote_dns_server_resource = checkpoint.ManagementSecuremoteDnsServer("managementSecuremoteDnsServerResource",
host="string",
color="string",
comments="string",
domains=[{
"domain_suffix": "string",
"maximum_prefix_label_count": 0,
}],
ignore_errors=False,
ignore_warnings=False,
management_securemote_dns_server_id="string",
name="string",
tags=["string"])
const managementSecuremoteDnsServerResource = new checkpoint.ManagementSecuremoteDnsServer("managementSecuremoteDnsServerResource", {
host: "string",
color: "string",
comments: "string",
domains: [{
domainSuffix: "string",
maximumPrefixLabelCount: 0,
}],
ignoreErrors: false,
ignoreWarnings: false,
managementSecuremoteDnsServerId: "string",
name: "string",
tags: ["string"],
});
type: checkpoint:ManagementSecuremoteDnsServer
properties:
color: string
comments: string
domains:
- domainSuffix: string
maximumPrefixLabelCount: 0
host: string
ignoreErrors: false
ignoreWarnings: false
managementSecuremoteDnsServerId: string
name: string
tags:
- string
ManagementSecuremoteDnsServer 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 ManagementSecuremoteDnsServer resource accepts the following input properties:
- Host string
- DNS server for remote clients in the Remote access community. Identified by name or UID.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Domains
List<Management
Securemote Dns Server Domain> - The DNS domains that the remote clients can access. domains blocks are documented below.
- 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
Securemote stringDns Server Id - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Host string
- DNS server for remote clients in the Remote access community. Identified by name or UID.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Domains
[]Management
Securemote Dns Server Domain Args - The DNS domains that the remote clients can access. domains blocks are documented below.
- 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
Securemote stringDns Server Id - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- host String
- DNS server for remote clients in the Remote access community. Identified by name or UID.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- domains
List<Management
Securemote Dns Server Domain> - The DNS domains that the remote clients can access. domains blocks are documented below.
- 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
Securemote StringDns Server Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- host string
- DNS server for remote clients in the Remote access community. Identified by name or UID.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- domains
Management
Securemote Dns Server Domain[] - The DNS domains that the remote clients can access. domains blocks are documented below.
- 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
Securemote stringDns Server Id - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- host str
- DNS server for remote clients in the Remote access community. Identified by name or UID.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- domains
Sequence[Management
Securemote Dns Server Domain Args] - The DNS domains that the remote clients can access. domains blocks are documented below.
- 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_
securemote_ strdns_ server_ id - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- host String
- DNS server for remote clients in the Remote access community. Identified by name or UID.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- domains List<Property Map>
- The DNS domains that the remote clients can access. domains blocks are documented below.
- 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
Securemote StringDns Server Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementSecuremoteDnsServer 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 ManagementSecuremoteDnsServer Resource
Get an existing ManagementSecuremoteDnsServer 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?: ManagementSecuremoteDnsServerState, opts?: CustomResourceOptions): ManagementSecuremoteDnsServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
comments: Optional[str] = None,
domains: Optional[Sequence[ManagementSecuremoteDnsServerDomainArgs]] = None,
host: Optional[str] = None,
ignore_errors: Optional[bool] = None,
ignore_warnings: Optional[bool] = None,
management_securemote_dns_server_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> ManagementSecuremoteDnsServer
func GetManagementSecuremoteDnsServer(ctx *Context, name string, id IDInput, state *ManagementSecuremoteDnsServerState, opts ...ResourceOption) (*ManagementSecuremoteDnsServer, error)
public static ManagementSecuremoteDnsServer Get(string name, Input<string> id, ManagementSecuremoteDnsServerState? state, CustomResourceOptions? opts = null)
public static ManagementSecuremoteDnsServer get(String name, Output<String> id, ManagementSecuremoteDnsServerState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementSecuremoteDnsServer 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.
- Domains
List<Management
Securemote Dns Server Domain> - The DNS domains that the remote clients can access. domains blocks are documented below.
- Host string
- DNS server for remote clients in the Remote access community. Identified by 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
Securemote stringDns Server Id - Name string
- Object name.
- List<string>
- Collection of tag identifiers.tags blocks are documented below.
- Color string
- Color of the object. Should be one of existing colors.
- Comments string
- Comments string.
- Domains
[]Management
Securemote Dns Server Domain Args - The DNS domains that the remote clients can access. domains blocks are documented below.
- Host string
- DNS server for remote clients in the Remote access community. Identified by 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
Securemote stringDns Server Id - Name string
- Object name.
- []string
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- domains
List<Management
Securemote Dns Server Domain> - The DNS domains that the remote clients can access. domains blocks are documented below.
- host String
- DNS server for remote clients in the Remote access community. Identified by 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
Securemote StringDns Server Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
- color string
- Color of the object. Should be one of existing colors.
- comments string
- Comments string.
- domains
Management
Securemote Dns Server Domain[] - The DNS domains that the remote clients can access. domains blocks are documented below.
- host string
- DNS server for remote clients in the Remote access community. Identified by 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
Securemote stringDns Server Id - name string
- Object name.
- string[]
- Collection of tag identifiers.tags blocks are documented below.
- color str
- Color of the object. Should be one of existing colors.
- comments str
- Comments string.
- domains
Sequence[Management
Securemote Dns Server Domain Args] - The DNS domains that the remote clients can access. domains blocks are documented below.
- host str
- DNS server for remote clients in the Remote access community. Identified by 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_
securemote_ strdns_ server_ id - name str
- Object name.
- Sequence[str]
- Collection of tag identifiers.tags blocks are documented below.
- color String
- Color of the object. Should be one of existing colors.
- comments String
- Comments string.
- domains List<Property Map>
- The DNS domains that the remote clients can access. domains blocks are documented below.
- host String
- DNS server for remote clients in the Remote access community. Identified by 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
Securemote StringDns Server Id - name String
- Object name.
- List<String>
- Collection of tag identifiers.tags blocks are documented below.
Supporting Types
ManagementSecuremoteDnsServerDomain, ManagementSecuremoteDnsServerDomainArgs
- Domain
Suffix string - DNS Domain suffix.
- Maximum
Prefix doubleLabel Count - Maximum number of matching labels preceding the suffix.
- Domain
Suffix string - DNS Domain suffix.
- Maximum
Prefix float64Label Count - Maximum number of matching labels preceding the suffix.
- domain
Suffix String - DNS Domain suffix.
- maximum
Prefix DoubleLabel Count - Maximum number of matching labels preceding the suffix.
- domain
Suffix string - DNS Domain suffix.
- maximum
Prefix numberLabel Count - Maximum number of matching labels preceding the suffix.
- domain_
suffix str - DNS Domain suffix.
- maximum_
prefix_ floatlabel_ count - Maximum number of matching labels preceding the suffix.
- domain
Suffix String - DNS Domain suffix.
- maximum
Prefix NumberLabel Count - Maximum number of matching labels preceding the suffix.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.