Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

InputsTcpSsl

# Resource: splunk.InputsTcpSsl

Access or update the SSL configuration for the host.

Example Usage

using Pulumi;
using Splunk = Pulumi.Splunk;

class MyStack : Stack
{
    public MyStack()
    {
        var test = new Splunk.InputsTcpSsl("test", new Splunk.InputsTcpSslArgs
        {
            Disabled = false,
            RequireClientCert = true,
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-splunk/sdk/go/splunk"
    "github.com/pulumi/pulumi/sdk/v2/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
    })
}
import pulumi
import pulumi_splunk as splunk

test = splunk.InputsTcpSsl("test",
    disabled=False,
    require_client_cert=True)
import * as pulumi from "@pulumi/pulumi";
import * as splunk from "@pulumi/splunk";

const test = new splunk.InputsTcpSsl("test", {
    disabled: false,
    requireClientCert: true,
});

Create a InputsTcpSsl Resource

new InputsTcpSsl(name: string, args?: InputsTcpSslArgs, opts?: CustomResourceOptions);
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)
func NewInputsTcpSsl(ctx *Context, name string, args *InputsTcpSslArgs, opts ...ResourceOption) (*InputsTcpSsl, error)
public InputsTcpSsl(string name, InputsTcpSslArgs? args = null, CustomResourceOptions? opts = null)
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.
opts ResourceOptions
A bag of options that control this 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.

InputsTcpSsl Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model 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 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.

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 str
The provider-assigned unique ID for this managed resource.

Look up an 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)
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.

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 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.

Package Details

Repository
https://github.com/pulumi/pulumi-splunk
License
Apache-2.0
Notes
This Pulumi package is based on the splunk Terraform Provider.