InputsTcpCooked
# Resource: splunk.InputsTcpCooked
Create or update cooked TCP input information and create new containers for managing cooked data.
Example Usage
using Pulumi;
using Splunk = Pulumi.Splunk;
class MyStack : Stack
{
public MyStack()
{
var tcpCooked = new Splunk.InputsTcpCooked("tcpCooked", new Splunk.InputsTcpCookedArgs
{
ConnectionHost = "dns",
Disabled = false,
RestrictToHost = "splunk",
});
}
}
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.NewInputsTcpCooked(ctx, "tcpCooked", &splunk.InputsTcpCookedArgs{
ConnectionHost: pulumi.String("dns"),
Disabled: pulumi.Bool(false),
RestrictToHost: pulumi.String("splunk"),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_splunk as splunk
tcp_cooked = splunk.InputsTcpCooked("tcpCooked",
connection_host="dns",
disabled=False,
restrict_to_host="splunk")
import * as pulumi from "@pulumi/pulumi";
import * as splunk from "@pulumi/splunk";
const tcpCooked = new splunk.InputsTcpCooked("tcp_cooked", {
connectionHost: "dns",
disabled: false,
restrictToHost: "splunk",
});
Create a InputsTcpCooked Resource
new InputsTcpCooked(name: string, args?: InputsTcpCookedArgs, opts?: CustomResourceOptions);
def InputsTcpCooked(resource_name: str, opts: Optional[ResourceOptions] = None, acl: Optional[InputsTcpCookedAclArgs] = None, connection_host: Optional[str] = None, disabled: Optional[bool] = None, host: Optional[str] = None, name: Optional[str] = None, restrict_to_host: Optional[str] = None)
func NewInputsTcpCooked(ctx *Context, name string, args *InputsTcpCookedArgs, opts ...ResourceOption) (*InputsTcpCooked, error)
public InputsTcpCooked(string name, InputsTcpCookedArgs? args = null, CustomResourceOptions? opts = null)
- name string
- The unique name of the resource.
- args InputsTcpCookedArgs
- 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 InputsTcpCookedArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InputsTcpCookedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
InputsTcpCooked Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The InputsTcpCooked resource accepts the following input properties:
- Acl
Inputs
Tcp Cooked Acl Args The app/user context that is the namespace for the resource
- Connection
Host string Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- Disabled bool
Indicates if input is disabled.
- Host string
Host from which the indexer gets data.
- Name string
The port number of this input.
- Restrict
To stringHost Restrict incoming connections on this port to the host specified here.
- Acl
Inputs
Tcp Cooked Acl The app/user context that is the namespace for the resource
- Connection
Host string Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- Disabled bool
Indicates if input is disabled.
- Host string
Host from which the indexer gets data.
- Name string
The port number of this input.
- Restrict
To stringHost Restrict incoming connections on this port to the host specified here.
- acl
Inputs
Tcp Cooked Acl The app/user context that is the namespace for the resource
- connection
Host string Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- disabled boolean
Indicates if input is disabled.
- host string
Host from which the indexer gets data.
- name string
The port number of this input.
- restrict
To stringHost Restrict incoming connections on this port to the host specified here.
- acl
Inputs
Tcp Cooked Acl Args The app/user context that is the namespace for the resource
- connection_
host str Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- disabled bool
Indicates if input is disabled.
- host str
Host from which the indexer gets data.
- name str
The port number of this input.
- restrict_
to_ strhost Restrict incoming connections on this port to the host specified here.
Outputs
All input properties are implicitly available as output properties. Additionally, the InputsTcpCooked 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 InputsTcpCooked Resource
Get an existing InputsTcpCooked 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?: InputsTcpCookedState, opts?: CustomResourceOptions): InputsTcpCooked
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, acl: Optional[InputsTcpCookedAclArgs] = None, connection_host: Optional[str] = None, disabled: Optional[bool] = None, host: Optional[str] = None, name: Optional[str] = None, restrict_to_host: Optional[str] = None) -> InputsTcpCooked
func GetInputsTcpCooked(ctx *Context, name string, id IDInput, state *InputsTcpCookedState, opts ...ResourceOption) (*InputsTcpCooked, error)
public static InputsTcpCooked Get(string name, Input<string> id, InputsTcpCookedState? 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:
- Acl
Inputs
Tcp Cooked Acl Args The app/user context that is the namespace for the resource
- Connection
Host string Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- Disabled bool
Indicates if input is disabled.
- Host string
Host from which the indexer gets data.
- Name string
The port number of this input.
- Restrict
To stringHost Restrict incoming connections on this port to the host specified here.
- Acl
Inputs
Tcp Cooked Acl The app/user context that is the namespace for the resource
- Connection
Host string Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- Disabled bool
Indicates if input is disabled.
- Host string
Host from which the indexer gets data.
- Name string
The port number of this input.
- Restrict
To stringHost Restrict incoming connections on this port to the host specified here.
- acl
Inputs
Tcp Cooked Acl The app/user context that is the namespace for the resource
- connection
Host string Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- disabled boolean
Indicates if input is disabled.
- host string
Host from which the indexer gets data.
- name string
The port number of this input.
- restrict
To stringHost Restrict incoming connections on this port to the host specified here.
- acl
Inputs
Tcp Cooked Acl Args The app/user context that is the namespace for the resource
- connection_
host str Valid values: (ip | dns | none) Set the host for the remote server that is sending data. ip sets the host to the IP address of the remote server sending data. dns sets the host to the reverse DNS entry for the IP address of the remote server sending data. none leaves the host as specified in inputs.conf, which is typically the Splunk system hostname. Default value is dns.
- disabled bool
Indicates if input is disabled.
- host str
Host from which the indexer gets data.
- name str
The port number of this input.
- restrict_
to_ strhost Restrict incoming connections on this port to the host specified here.
Supporting Types
InputsTcpCookedAcl
Package Details
- Repository
- https://github.com/pulumi/pulumi-splunk
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
splunk
Terraform Provider.