1. Packages
  2. Splunk
  3. API Docs
  4. InputsTcpSsl
Splunk v1.2.6 published on Thursday, Mar 21, 2024 by Pulumi

splunk.InputsTcpSsl

Explore with Pulumi AI

splunk logo
Splunk v1.2.6 published on Thursday, Mar 21, 2024 by Pulumi

    # Resource: splunk.InputsTcpSsl

    Access or update the SSL configuration for the host.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as splunk from "@pulumi/splunk";
    
    const test = new splunk.InputsTcpSsl("test", {
        disabled: false,
        requireClientCert: true,
    });
    
    import pulumi
    import pulumi_splunk as splunk
    
    test = splunk.InputsTcpSsl("test",
        disabled=False,
        require_client_cert=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-splunk/sdk/go/splunk"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := splunk.NewInputsTcpSsl(ctx, "test", &splunk.InputsTcpSslArgs{
    			Disabled:          pulumi.Bool(false),
    			RequireClientCert: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Splunk = Pulumi.Splunk;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Splunk.InputsTcpSsl("test", new()
        {
            Disabled = false,
            RequireClientCert = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.splunk.InputsTcpSsl;
    import com.pulumi.splunk.InputsTcpSslArgs;
    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 test = new InputsTcpSsl("test", InputsTcpSslArgs.builder()        
                .disabled(false)
                .requireClientCert(true)
                .build());
    
        }
    }
    
    resources:
      test:
        type: splunk:InputsTcpSsl
        properties:
          disabled: false
          requireClientCert: true
    

    Create InputsTcpSsl Resource

    new InputsTcpSsl(name: string, args?: InputsTcpSslArgs, opts?: CustomResourceOptions);
    @overload
    def InputsTcpSsl(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     disabled: Optional[bool] = None,
                     password: Optional[str] = None,
                     require_client_cert: Optional[bool] = None,
                     root_ca: Optional[str] = None,
                     server_cert: Optional[str] = None)
    @overload
    def InputsTcpSsl(resource_name: str,
                     args: Optional[InputsTcpSslArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    func NewInputsTcpSsl(ctx *Context, name string, args *InputsTcpSslArgs, opts ...ResourceOption) (*InputsTcpSsl, error)
    public InputsTcpSsl(string name, InputsTcpSslArgs? args = null, CustomResourceOptions? opts = null)
    public InputsTcpSsl(String name, InputsTcpSslArgs args)
    public InputsTcpSsl(String name, InputsTcpSslArgs args, CustomResourceOptions options)
    
    type: splunk:InputsTcpSsl
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args InputsTcpSslArgs
    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 InputsTcpSslArgs
    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 InputsTcpSslArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InputsTcpSslArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InputsTcpSslArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InputsTcpSsl Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The InputsTcpSsl resource accepts the following input properties:

    Disabled bool
    Indicates if input is disabled.
    Password string
    Server certificate password, if any.
    RequireClientCert bool
    Determines whether a client must authenticate.
    RootCa string
    Certificate authority list (root file)
    ServerCert string
    Full path to the server certificate.
    Disabled bool
    Indicates if input is disabled.
    Password string
    Server certificate password, if any.
    RequireClientCert bool
    Determines whether a client must authenticate.
    RootCa string
    Certificate authority list (root file)
    ServerCert string
    Full path to the server certificate.
    disabled Boolean
    Indicates if input is disabled.
    password String
    Server certificate password, if any.
    requireClientCert Boolean
    Determines whether a client must authenticate.
    rootCa String
    Certificate authority list (root file)
    serverCert String
    Full path to the server certificate.
    disabled boolean
    Indicates if input is disabled.
    password string
    Server certificate password, if any.
    requireClientCert boolean
    Determines whether a client must authenticate.
    rootCa string
    Certificate authority list (root file)
    serverCert string
    Full path to the server certificate.
    disabled bool
    Indicates if input is disabled.
    password str
    Server certificate password, if any.
    require_client_cert bool
    Determines whether a client must authenticate.
    root_ca str
    Certificate authority list (root file)
    server_cert str
    Full path to the server certificate.
    disabled Boolean
    Indicates if input is disabled.
    password String
    Server certificate password, if any.
    requireClientCert Boolean
    Determines whether a client must authenticate.
    rootCa String
    Certificate authority list (root file)
    serverCert String
    Full path to the server certificate.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InputsTcpSsl 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 InputsTcpSsl Resource

    Get an existing InputsTcpSsl 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?: InputsTcpSslState, opts?: CustomResourceOptions): InputsTcpSsl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            disabled: Optional[bool] = None,
            password: Optional[str] = None,
            require_client_cert: Optional[bool] = None,
            root_ca: Optional[str] = None,
            server_cert: Optional[str] = None) -> InputsTcpSsl
    func GetInputsTcpSsl(ctx *Context, name string, id IDInput, state *InputsTcpSslState, opts ...ResourceOption) (*InputsTcpSsl, error)
    public static InputsTcpSsl Get(string name, Input<string> id, InputsTcpSslState? state, CustomResourceOptions? opts = null)
    public static InputsTcpSsl get(String name, Output<String> id, InputsTcpSslState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Disabled bool
    Indicates if input is disabled.
    Password string
    Server certificate password, if any.
    RequireClientCert bool
    Determines whether a client must authenticate.
    RootCa string
    Certificate authority list (root file)
    ServerCert string
    Full path to the server certificate.
    Disabled bool
    Indicates if input is disabled.
    Password string
    Server certificate password, if any.
    RequireClientCert bool
    Determines whether a client must authenticate.
    RootCa string
    Certificate authority list (root file)
    ServerCert string
    Full path to the server certificate.
    disabled Boolean
    Indicates if input is disabled.
    password String
    Server certificate password, if any.
    requireClientCert Boolean
    Determines whether a client must authenticate.
    rootCa String
    Certificate authority list (root file)
    serverCert String
    Full path to the server certificate.
    disabled boolean
    Indicates if input is disabled.
    password string
    Server certificate password, if any.
    requireClientCert boolean
    Determines whether a client must authenticate.
    rootCa string
    Certificate authority list (root file)
    serverCert string
    Full path to the server certificate.
    disabled bool
    Indicates if input is disabled.
    password str
    Server certificate password, if any.
    require_client_cert bool
    Determines whether a client must authenticate.
    root_ca str
    Certificate authority list (root file)
    server_cert str
    Full path to the server certificate.
    disabled Boolean
    Indicates if input is disabled.
    password String
    Server certificate password, if any.
    requireClientCert Boolean
    Determines whether a client must authenticate.
    rootCa String
    Certificate authority list (root file)
    serverCert String
    Full path to the server certificate.

    Package Details

    Repository
    Splunk pulumi/pulumi-splunk
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the splunk Terraform Provider.
    splunk logo
    Splunk v1.2.6 published on Thursday, Mar 21, 2024 by Pulumi