1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. getManagementSecuremoteDnsServer
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw

checkpoint.getManagementSecuremoteDnsServer

Explore with Pulumi AI

checkpoint logo
checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw

    Use this data source to get information on an existing SecurRemote DNS Server.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkpoint from "@pulumi/checkpoint";
    
    const dataSecuremoteDnsServer = checkpoint.getManagementSecuremoteDnsServer({
        name: "TestSecuRemoteDNSSever",
    });
    
    import pulumi
    import pulumi_checkpoint as checkpoint
    
    data_securemote_dns_server = checkpoint.get_management_securemote_dns_server(name="TestSecuRemoteDNSSever")
    
    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.LookupManagementSecuremoteDnsServer(ctx, &checkpoint.LookupManagementSecuremoteDnsServerArgs{
    			Name: pulumi.StringRef("TestSecuRemoteDNSSever"),
    		}, nil)
    		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 dataSecuremoteDnsServer = Checkpoint.GetManagementSecuremoteDnsServer.Invoke(new()
        {
            Name = "TestSecuRemoteDNSSever",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkpoint.CheckpointFunctions;
    import com.pulumi.checkpoint.inputs.GetManagementSecuremoteDnsServerArgs;
    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) {
            final var dataSecuremoteDnsServer = CheckpointFunctions.getManagementSecuremoteDnsServer(GetManagementSecuremoteDnsServerArgs.builder()
                .name("TestSecuRemoteDNSSever")
                .build());
    
        }
    }
    
    variables:
      dataSecuremoteDnsServer:
        fn::invoke:
          function: checkpoint:getManagementSecuremoteDnsServer
          arguments:
            name: TestSecuRemoteDNSSever
    

    Using getManagementSecuremoteDnsServer

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getManagementSecuremoteDnsServer(args: GetManagementSecuremoteDnsServerArgs, opts?: InvokeOptions): Promise<GetManagementSecuremoteDnsServerResult>
    function getManagementSecuremoteDnsServerOutput(args: GetManagementSecuremoteDnsServerOutputArgs, opts?: InvokeOptions): Output<GetManagementSecuremoteDnsServerResult>
    def get_management_securemote_dns_server(id: Optional[str] = None,
                                             name: Optional[str] = None,
                                             uid: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetManagementSecuremoteDnsServerResult
    def get_management_securemote_dns_server_output(id: Optional[pulumi.Input[str]] = None,
                                             name: Optional[pulumi.Input[str]] = None,
                                             uid: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetManagementSecuremoteDnsServerResult]
    func LookupManagementSecuremoteDnsServer(ctx *Context, args *LookupManagementSecuremoteDnsServerArgs, opts ...InvokeOption) (*LookupManagementSecuremoteDnsServerResult, error)
    func LookupManagementSecuremoteDnsServerOutput(ctx *Context, args *LookupManagementSecuremoteDnsServerOutputArgs, opts ...InvokeOption) LookupManagementSecuremoteDnsServerResultOutput

    > Note: This function is named LookupManagementSecuremoteDnsServer in the Go SDK.

    public static class GetManagementSecuremoteDnsServer 
    {
        public static Task<GetManagementSecuremoteDnsServerResult> InvokeAsync(GetManagementSecuremoteDnsServerArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementSecuremoteDnsServerResult> Invoke(GetManagementSecuremoteDnsServerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementSecuremoteDnsServerResult> getManagementSecuremoteDnsServer(GetManagementSecuremoteDnsServerArgs args, InvokeOptions options)
    public static Output<GetManagementSecuremoteDnsServerResult> getManagementSecuremoteDnsServer(GetManagementSecuremoteDnsServerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: checkpoint:index/getManagementSecuremoteDnsServer:getManagementSecuremoteDnsServer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Object name.
    Uid string
    Object uid.
    Id string
    Name string
    Object name.
    Uid string
    Object uid.
    id String
    name String
    Object name.
    uid String
    Object uid.
    id string
    name string
    Object name.
    uid string
    Object uid.
    id str
    name str
    Object name.
    uid str
    Object uid.
    id String
    name String
    Object name.
    uid String
    Object uid.

    getManagementSecuremoteDnsServer Result

    The following output properties are available:

    Color string
    Comments string
    Domains List<GetManagementSecuremoteDnsServerDomain>
    Host string
    Id string
    Tags List<string>
    Name string
    Uid string
    Color string
    Comments string
    Domains []GetManagementSecuremoteDnsServerDomain
    Host string
    Id string
    Tags []string
    Name string
    Uid string
    color String
    comments String
    domains List<GetManagementSecuremoteDnsServerDomain>
    host String
    id String
    tags List<String>
    name String
    uid String
    color string
    comments string
    domains GetManagementSecuremoteDnsServerDomain[]
    host string
    id string
    tags string[]
    name string
    uid string
    color String
    comments String
    domains List<Property Map>
    host String
    id String
    tags List<String>
    name String
    uid String

    Supporting Types

    GetManagementSecuremoteDnsServerDomain

    DomainSuffix string
    DNS Domain suffix.
    MaximumPrefixLabelCount double
    Maximum number of matching labels preceding the suffix.
    DomainSuffix string
    DNS Domain suffix.
    MaximumPrefixLabelCount float64
    Maximum number of matching labels preceding the suffix.
    domainSuffix String
    DNS Domain suffix.
    maximumPrefixLabelCount Double
    Maximum number of matching labels preceding the suffix.
    domainSuffix string
    DNS Domain suffix.
    maximumPrefixLabelCount number
    Maximum number of matching labels preceding the suffix.
    domain_suffix str
    DNS Domain suffix.
    maximum_prefix_label_count float
    Maximum number of matching labels preceding the suffix.
    domainSuffix String
    DNS Domain suffix.
    maximumPrefixLabelCount Number
    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.
    checkpoint logo
    checkpoint 2.11.0 published on Wednesday, Sep 3, 2025 by checkpointsw