1. Packages
  2. Splunk
  3. API Docs
  4. InputsTcpSplunkTcpToken
Splunk v1.2.4 published on Thursday, Aug 24, 2023 by Pulumi

splunk.InputsTcpSplunkTcpToken

Explore with Pulumi AI

splunk logo
Splunk v1.2.4 published on Thursday, Aug 24, 2023 by Pulumi

    # Resource: splunk.InputsTcpSplunkTcpToken

    Manage receiver access using tokens.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Splunk = Pulumi.Splunk;
    
    return await Deployment.RunAsync(() => 
    {
        var tcpSplunkTcpToken = new Splunk.InputsTcpSplunkTcpToken("tcpSplunkTcpToken", new()
        {
            Token = "D66C45B3-7C28-48A1-A13A-027914146501",
        });
    
    });
    
    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.NewInputsTcpSplunkTcpToken(ctx, "tcpSplunkTcpToken", &splunk.InputsTcpSplunkTcpTokenArgs{
    			Token: pulumi.String("D66C45B3-7C28-48A1-A13A-027914146501"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.splunk.InputsTcpSplunkTcpToken;
    import com.pulumi.splunk.InputsTcpSplunkTcpTokenArgs;
    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 tcpSplunkTcpToken = new InputsTcpSplunkTcpToken("tcpSplunkTcpToken", InputsTcpSplunkTcpTokenArgs.builder()        
                .token("D66C45B3-7C28-48A1-A13A-027914146501")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_splunk as splunk
    
    tcp_splunk_tcp_token = splunk.InputsTcpSplunkTcpToken("tcpSplunkTcpToken", token="D66C45B3-7C28-48A1-A13A-027914146501")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as splunk from "@pulumi/splunk";
    
    const tcpSplunkTcpToken = new splunk.InputsTcpSplunkTcpToken("tcpSplunkTcpToken", {token: "D66C45B3-7C28-48A1-A13A-027914146501"});
    
    resources:
      tcpSplunkTcpToken:
        type: splunk:InputsTcpSplunkTcpToken
        properties:
          token: D66C45B3-7C28-48A1-A13A-027914146501
    

    Create InputsTcpSplunkTcpToken Resource

    new InputsTcpSplunkTcpToken(name: string, args?: InputsTcpSplunkTcpTokenArgs, opts?: CustomResourceOptions);
    @overload
    def InputsTcpSplunkTcpToken(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                acl: Optional[InputsTcpSplunkTcpTokenAclArgs] = None,
                                name: Optional[str] = None,
                                token: Optional[str] = None)
    @overload
    def InputsTcpSplunkTcpToken(resource_name: str,
                                args: Optional[InputsTcpSplunkTcpTokenArgs] = None,
                                opts: Optional[ResourceOptions] = None)
    func NewInputsTcpSplunkTcpToken(ctx *Context, name string, args *InputsTcpSplunkTcpTokenArgs, opts ...ResourceOption) (*InputsTcpSplunkTcpToken, error)
    public InputsTcpSplunkTcpToken(string name, InputsTcpSplunkTcpTokenArgs? args = null, CustomResourceOptions? opts = null)
    public InputsTcpSplunkTcpToken(String name, InputsTcpSplunkTcpTokenArgs args)
    public InputsTcpSplunkTcpToken(String name, InputsTcpSplunkTcpTokenArgs args, CustomResourceOptions options)
    
    type: splunk:InputsTcpSplunkTcpToken
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args InputsTcpSplunkTcpTokenArgs
    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 InputsTcpSplunkTcpTokenArgs
    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 InputsTcpSplunkTcpTokenArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InputsTcpSplunkTcpTokenArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InputsTcpSplunkTcpTokenArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InputsTcpSplunkTcpToken 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 InputsTcpSplunkTcpToken resource accepts the following input properties:

    Acl InputsTcpSplunkTcpTokenAcl

    The app/user context that is the namespace for the resource

    Name string

    Required. Name for the token to create.

    Token string

    Optional. Token value to use. If unspecified, a token is generated automatically.

    Acl InputsTcpSplunkTcpTokenAclArgs

    The app/user context that is the namespace for the resource

    Name string

    Required. Name for the token to create.

    Token string

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl InputsTcpSplunkTcpTokenAcl

    The app/user context that is the namespace for the resource

    name String

    Required. Name for the token to create.

    token String

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl InputsTcpSplunkTcpTokenAcl

    The app/user context that is the namespace for the resource

    name string

    Required. Name for the token to create.

    token string

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl InputsTcpSplunkTcpTokenAclArgs

    The app/user context that is the namespace for the resource

    name str

    Required. Name for the token to create.

    token str

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl Property Map

    The app/user context that is the namespace for the resource

    name String

    Required. Name for the token to create.

    token String

    Optional. Token value to use. If unspecified, a token is generated automatically.

    Outputs

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

    Get an existing InputsTcpSplunkTcpToken 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?: InputsTcpSplunkTcpTokenState, opts?: CustomResourceOptions): InputsTcpSplunkTcpToken
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl: Optional[InputsTcpSplunkTcpTokenAclArgs] = None,
            name: Optional[str] = None,
            token: Optional[str] = None) -> InputsTcpSplunkTcpToken
    func GetInputsTcpSplunkTcpToken(ctx *Context, name string, id IDInput, state *InputsTcpSplunkTcpTokenState, opts ...ResourceOption) (*InputsTcpSplunkTcpToken, error)
    public static InputsTcpSplunkTcpToken Get(string name, Input<string> id, InputsTcpSplunkTcpTokenState? state, CustomResourceOptions? opts = null)
    public static InputsTcpSplunkTcpToken get(String name, Output<String> id, InputsTcpSplunkTcpTokenState 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:
    Acl InputsTcpSplunkTcpTokenAcl

    The app/user context that is the namespace for the resource

    Name string

    Required. Name for the token to create.

    Token string

    Optional. Token value to use. If unspecified, a token is generated automatically.

    Acl InputsTcpSplunkTcpTokenAclArgs

    The app/user context that is the namespace for the resource

    Name string

    Required. Name for the token to create.

    Token string

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl InputsTcpSplunkTcpTokenAcl

    The app/user context that is the namespace for the resource

    name String

    Required. Name for the token to create.

    token String

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl InputsTcpSplunkTcpTokenAcl

    The app/user context that is the namespace for the resource

    name string

    Required. Name for the token to create.

    token string

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl InputsTcpSplunkTcpTokenAclArgs

    The app/user context that is the namespace for the resource

    name str

    Required. Name for the token to create.

    token str

    Optional. Token value to use. If unspecified, a token is generated automatically.

    acl Property Map

    The app/user context that is the namespace for the resource

    name String

    Required. Name for the token to create.

    token String

    Optional. Token value to use. If unspecified, a token is generated automatically.

    Supporting Types

    InputsTcpSplunkTcpTokenAcl, InputsTcpSplunkTcpTokenAclArgs

    App string
    CanChangePerms bool
    CanShareApp bool
    CanShareGlobal bool
    CanShareUser bool
    CanWrite bool
    Owner string
    Reads List<string>
    Removable bool
    Sharing string
    Writes List<string>
    App string
    CanChangePerms bool
    CanShareApp bool
    CanShareGlobal bool
    CanShareUser bool
    CanWrite bool
    Owner string
    Reads []string
    Removable bool
    Sharing string
    Writes []string
    app String
    canChangePerms Boolean
    canShareApp Boolean
    canShareGlobal Boolean
    canShareUser Boolean
    canWrite Boolean
    owner String
    reads List<String>
    removable Boolean
    sharing String
    writes List<String>
    app string
    canChangePerms boolean
    canShareApp boolean
    canShareGlobal boolean
    canShareUser boolean
    canWrite boolean
    owner string
    reads string[]
    removable boolean
    sharing string
    writes string[]
    app str
    can_change_perms bool
    can_share_app bool
    can_share_global bool
    can_share_user bool
    can_write bool
    owner str
    reads Sequence[str]
    removable bool
    sharing str
    writes Sequence[str]
    app String
    canChangePerms Boolean
    canShareApp Boolean
    canShareGlobal Boolean
    canShareUser Boolean
    canWrite Boolean
    owner String
    reads List<String>
    removable Boolean
    sharing String
    writes List<String>

    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.4 published on Thursday, Aug 24, 2023 by Pulumi