splunk.InputsTcpSsl
Explore with Pulumi AI
# 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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InputsTcpSsl(name: string, args?: InputsTcpSslArgs, opts?: CustomResourceOptions);
@overload
def InputsTcpSsl(resource_name: str,
args: Optional[InputsTcpSslArgs] = None,
opts: Optional[ResourceOptions] = None)
@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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var inputsTcpSslResource = new Splunk.InputsTcpSsl("inputsTcpSslResource", new()
{
Disabled = false,
Password = "string",
RequireClientCert = false,
RootCa = "string",
ServerCert = "string",
});
example, err := splunk.NewInputsTcpSsl(ctx, "inputsTcpSslResource", &splunk.InputsTcpSslArgs{
Disabled: pulumi.Bool(false),
Password: pulumi.String("string"),
RequireClientCert: pulumi.Bool(false),
RootCa: pulumi.String("string"),
ServerCert: pulumi.String("string"),
})
var inputsTcpSslResource = new InputsTcpSsl("inputsTcpSslResource", InputsTcpSslArgs.builder()
.disabled(false)
.password("string")
.requireClientCert(false)
.rootCa("string")
.serverCert("string")
.build());
inputs_tcp_ssl_resource = splunk.InputsTcpSsl("inputsTcpSslResource",
disabled=False,
password="string",
require_client_cert=False,
root_ca="string",
server_cert="string")
const inputsTcpSslResource = new splunk.InputsTcpSsl("inputsTcpSslResource", {
disabled: false,
password: "string",
requireClientCert: false,
rootCa: "string",
serverCert: "string",
});
type: splunk:InputsTcpSsl
properties:
disabled: false
password: string
requireClientCert: false
rootCa: string
serverCert: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InputsTcpSsl resource accepts the following input properties:
- Disabled bool
- Indicates if input is disabled.
- Password string
- Server certificate password, if any.
- Require
Client boolCert - Determines whether a client must authenticate.
- Root
Ca string - Certificate authority list (root file)
- Server
Cert string - Full path to the server certificate.
- Disabled bool
- Indicates if input is disabled.
- Password string
- Server certificate password, if any.
- Require
Client boolCert - Determines whether a client must authenticate.
- Root
Ca string - Certificate authority list (root file)
- Server
Cert string - Full path to the server certificate.
- disabled Boolean
- Indicates if input is disabled.
- password String
- Server certificate password, if any.
- require
Client BooleanCert - Determines whether a client must authenticate.
- root
Ca String - Certificate authority list (root file)
- server
Cert String - Full path to the server certificate.
- disabled boolean
- Indicates if input is disabled.
- password string
- Server certificate password, if any.
- require
Client booleanCert - Determines whether a client must authenticate.
- root
Ca string - Certificate authority list (root file)
- server
Cert string - Full path to the server certificate.
- disabled bool
- Indicates if input is disabled.
- password str
- Server certificate password, if any.
- require_
client_ boolcert - 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.
- require
Client BooleanCert - Determines whether a client must authenticate.
- root
Ca String - Certificate authority list (root file)
- server
Cert 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.
- Disabled bool
- Indicates if input is disabled.
- Password string
- Server certificate password, if any.
- Require
Client boolCert - Determines whether a client must authenticate.
- Root
Ca string - Certificate authority list (root file)
- Server
Cert string - Full path to the server certificate.
- Disabled bool
- Indicates if input is disabled.
- Password string
- Server certificate password, if any.
- Require
Client boolCert - Determines whether a client must authenticate.
- Root
Ca string - Certificate authority list (root file)
- Server
Cert string - Full path to the server certificate.
- disabled Boolean
- Indicates if input is disabled.
- password String
- Server certificate password, if any.
- require
Client BooleanCert - Determines whether a client must authenticate.
- root
Ca String - Certificate authority list (root file)
- server
Cert String - Full path to the server certificate.
- disabled boolean
- Indicates if input is disabled.
- password string
- Server certificate password, if any.
- require
Client booleanCert - Determines whether a client must authenticate.
- root
Ca string - Certificate authority list (root file)
- server
Cert string - Full path to the server certificate.
- disabled bool
- Indicates if input is disabled.
- password str
- Server certificate password, if any.
- require_
client_ boolcert - 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.
- require
Client BooleanCert - Determines whether a client must authenticate.
- root
Ca String - Certificate authority list (root file)
- server
Cert 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.