Viewing docs for elasticstack 0.16.0
published on Monday, May 25, 2026 by elastic
published on Monday, May 25, 2026 by elastic
Viewing docs for elasticstack 0.16.0
published on Monday, May 25, 2026 by elastic
published on Monday, May 25, 2026 by elastic
Export an Agent Builder skill by ID. See the Agent Builder API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as elasticstack from "@pulumi/elasticstack";
const docKibanaAgentbuilderSkill = new elasticstack.KibanaAgentbuilderSkill("doc", {
skillId: "doc-skill",
name: "Doc Skill",
description: "Example skill used by the data source lookup below.",
content: "Always be helpful and cite your sources.",
});
// Look up the skill we just created. `skill_id` accepts either a bare id or
// a composite "<space_id>/<skill_id>" string.
const doc = elasticstack.getKibanaAgentbuilderSkillOutput({
skillId: docKibanaAgentbuilderSkill.skillId,
});
import pulumi
import pulumi_elasticstack as elasticstack
doc_kibana_agentbuilder_skill = elasticstack.KibanaAgentbuilderSkill("doc",
skill_id="doc-skill",
name="Doc Skill",
description="Example skill used by the data source lookup below.",
content="Always be helpful and cite your sources.")
# Look up the skill we just created. `skill_id` accepts either a bare id or
# a composite "<space_id>/<skill_id>" string.
doc = elasticstack.get_kibana_agentbuilder_skill_output(skill_id=doc_kibana_agentbuilder_skill.skill_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/elasticstack/elasticstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
docKibanaAgentbuilderSkill, err := elasticstack.NewKibanaAgentbuilderSkill(ctx, "doc", &elasticstack.KibanaAgentbuilderSkillArgs{
SkillId: pulumi.String("doc-skill"),
Name: pulumi.String("Doc Skill"),
Description: pulumi.String("Example skill used by the data source lookup below."),
Content: pulumi.String("Always be helpful and cite your sources."),
})
if err != nil {
return err
}
// Look up the skill we just created. `skill_id` accepts either a bare id or
// a composite "<space_id>/<skill_id>" string.
_ = elasticstack.LookupKibanaAgentbuilderSkillOutput(ctx, elasticstack.GetKibanaAgentbuilderSkillOutputArgs{
SkillId: docKibanaAgentbuilderSkill.SkillId,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Elasticstack = Pulumi.Elasticstack;
return await Deployment.RunAsync(() =>
{
var docKibanaAgentbuilderSkill = new Elasticstack.KibanaAgentbuilderSkill("doc", new()
{
SkillId = "doc-skill",
Name = "Doc Skill",
Description = "Example skill used by the data source lookup below.",
Content = "Always be helpful and cite your sources.",
});
// Look up the skill we just created. `skill_id` accepts either a bare id or
// a composite "<space_id>/<skill_id>" string.
var doc = Elasticstack.GetKibanaAgentbuilderSkill.Invoke(new()
{
SkillId = docKibanaAgentbuilderSkill.SkillId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.elasticstack.KibanaAgentbuilderSkill;
import com.pulumi.elasticstack.KibanaAgentbuilderSkillArgs;
import com.pulumi.elasticstack.ElasticstackFunctions;
import com.pulumi.elasticstack.inputs.GetKibanaAgentbuilderSkillArgs;
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 docKibanaAgentbuilderSkill = new KibanaAgentbuilderSkill("docKibanaAgentbuilderSkill", KibanaAgentbuilderSkillArgs.builder()
.skillId("doc-skill")
.name("Doc Skill")
.description("Example skill used by the data source lookup below.")
.content("Always be helpful and cite your sources.")
.build());
// Look up the skill we just created. `skill_id` accepts either a bare id or
// a composite "<space_id>/<skill_id>" string.
final var doc = ElasticstackFunctions.getKibanaAgentbuilderSkill(GetKibanaAgentbuilderSkillArgs.builder()
.skillId(docKibanaAgentbuilderSkill.skillId())
.build());
}
}
resources:
docKibanaAgentbuilderSkill:
type: elasticstack:KibanaAgentbuilderSkill
name: doc
properties:
skillId: doc-skill
name: Doc Skill
description: Example skill used by the data source lookup below.
content: Always be helpful and cite your sources.
variables:
# Look up the skill we just created. `skill_id` accepts either a bare id or
# a composite "<space_id>/<skill_id>" string.
doc:
fn::invoke:
function: elasticstack:getKibanaAgentbuilderSkill
arguments:
skillId: ${docKibanaAgentbuilderSkill.skillId}
Example coming soon!
Using getKibanaAgentbuilderSkill
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKibanaAgentbuilderSkill(args: GetKibanaAgentbuilderSkillArgs, opts?: InvokeOptions): Promise<GetKibanaAgentbuilderSkillResult>
function getKibanaAgentbuilderSkillOutput(args: GetKibanaAgentbuilderSkillOutputArgs, opts?: InvokeOptions): Output<GetKibanaAgentbuilderSkillResult>def get_kibana_agentbuilder_skill(kibana_connections: Optional[Sequence[GetKibanaAgentbuilderSkillKibanaConnection]] = None,
skill_id: Optional[str] = None,
space_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKibanaAgentbuilderSkillResult
def get_kibana_agentbuilder_skill_output(kibana_connections: pulumi.Input[Optional[Sequence[pulumi.Input[GetKibanaAgentbuilderSkillKibanaConnectionArgs]]]] = None,
skill_id: pulumi.Input[Optional[str]] = None,
space_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKibanaAgentbuilderSkillResult]func LookupKibanaAgentbuilderSkill(ctx *Context, args *LookupKibanaAgentbuilderSkillArgs, opts ...InvokeOption) (*LookupKibanaAgentbuilderSkillResult, error)
func LookupKibanaAgentbuilderSkillOutput(ctx *Context, args *LookupKibanaAgentbuilderSkillOutputArgs, opts ...InvokeOption) LookupKibanaAgentbuilderSkillResultOutput> Note: This function is named LookupKibanaAgentbuilderSkill in the Go SDK.
public static class GetKibanaAgentbuilderSkill
{
public static Task<GetKibanaAgentbuilderSkillResult> InvokeAsync(GetKibanaAgentbuilderSkillArgs args, InvokeOptions? opts = null)
public static Output<GetKibanaAgentbuilderSkillResult> Invoke(GetKibanaAgentbuilderSkillInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKibanaAgentbuilderSkillResult> getKibanaAgentbuilderSkill(GetKibanaAgentbuilderSkillArgs args, InvokeOptions options)
public static Output<GetKibanaAgentbuilderSkillResult> getKibanaAgentbuilderSkill(GetKibanaAgentbuilderSkillArgs args, InvokeOptions options)
fn::invoke:
function: elasticstack:index/getKibanaAgentbuilderSkill:getKibanaAgentbuilderSkill
arguments:
# arguments dictionarydata "elasticstack_getkibanaagentbuilderskill" "name" {
# arguments
}The following arguments are supported:
- Skill
Id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - Kibana
Connections List<GetKibana Agentbuilder Skill Kibana Connection> - Kibana connection configuration block.
- Space
Id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space.
- Skill
Id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - Kibana
Connections []GetKibana Agentbuilder Skill Kibana Connection - Kibana connection configuration block.
- Space
Id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space.
- skill_
id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - kibana_
connections list(object) - Kibana connection configuration block.
- space_
id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space.
- skill
Id String - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - kibana
Connections List<GetKibana Agentbuilder Skill Kibana Connection> - Kibana connection configuration block.
- space
Id String - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space.
- skill
Id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - kibana
Connections GetKibana Agentbuilder Skill Kibana Connection[] - Kibana connection configuration block.
- space
Id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space.
- skill_
id str - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - kibana_
connections Sequence[GetKibana Agentbuilder Skill Kibana Connection] - Kibana connection configuration block.
- space_
id str - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space.
- skill
Id String - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - kibana
Connections List<Property Map> - Kibana connection configuration block.
- space
Id String - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space.
getKibanaAgentbuilderSkill Result
The following output properties are available:
- Content string
- Skill instructions content as markdown.
- Description string
- Description of what the skill does.
- Id string
- The composite ID of the skill:
<space_id>/<skill_id>. - Name string
- Human-readable name for the skill.
- Referenced
Contents List<GetKibana Agentbuilder Skill Referenced Content> - Ordered list of referenced-content entries. Order is preserved as returned by the API.
- Skill
Id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - Space
Id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space. - Tool
Ids List<string> - Set of tool IDs from the tool registry that this skill references.
- Kibana
Connections List<GetKibana Agentbuilder Skill Kibana Connection> - Kibana connection configuration block.
- Content string
- Skill instructions content as markdown.
- Description string
- Description of what the skill does.
- Id string
- The composite ID of the skill:
<space_id>/<skill_id>. - Name string
- Human-readable name for the skill.
- Referenced
Contents []GetKibana Agentbuilder Skill Referenced Content - Ordered list of referenced-content entries. Order is preserved as returned by the API.
- Skill
Id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - Space
Id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space. - Tool
Ids []string - Set of tool IDs from the tool registry that this skill references.
- Kibana
Connections []GetKibana Agentbuilder Skill Kibana Connection - Kibana connection configuration block.
- content string
- Skill instructions content as markdown.
- description string
- Description of what the skill does.
- id string
- The composite ID of the skill:
<space_id>/<skill_id>. - name string
- Human-readable name for the skill.
- referenced_
contents list(object) - Ordered list of referenced-content entries. Order is preserved as returned by the API.
- skill_
id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - space_
id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space. - tool_
ids list(string) - Set of tool IDs from the tool registry that this skill references.
- kibana_
connections list(object) - Kibana connection configuration block.
- content String
- Skill instructions content as markdown.
- description String
- Description of what the skill does.
- id String
- The composite ID of the skill:
<space_id>/<skill_id>. - name String
- Human-readable name for the skill.
- referenced
Contents List<GetKibana Agentbuilder Skill Referenced Content> - Ordered list of referenced-content entries. Order is preserved as returned by the API.
- skill
Id String - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - space
Id String - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space. - tool
Ids List<String> - Set of tool IDs from the tool registry that this skill references.
- kibana
Connections List<GetKibana Agentbuilder Skill Kibana Connection> - Kibana connection configuration block.
- content string
- Skill instructions content as markdown.
- description string
- Description of what the skill does.
- id string
- The composite ID of the skill:
<space_id>/<skill_id>. - name string
- Human-readable name for the skill.
- referenced
Contents GetKibana Agentbuilder Skill Referenced Content[] - Ordered list of referenced-content entries. Order is preserved as returned by the API.
- skill
Id string - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - space
Id string - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space. - tool
Ids string[] - Set of tool IDs from the tool registry that this skill references.
- kibana
Connections GetKibana Agentbuilder Skill Kibana Connection[] - Kibana connection configuration block.
- content str
- Skill instructions content as markdown.
- description str
- Description of what the skill does.
- id str
- The composite ID of the skill:
<space_id>/<skill_id>. - name str
- Human-readable name for the skill.
- referenced_
contents Sequence[GetKibana Agentbuilder Skill Referenced Content] - Ordered list of referenced-content entries. Order is preserved as returned by the API.
- skill_
id str - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - space_
id str - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space. - tool_
ids Sequence[str] - Set of tool IDs from the tool registry that this skill references.
- kibana_
connections Sequence[GetKibana Agentbuilder Skill Kibana Connection] - Kibana connection configuration block.
- content String
- Skill instructions content as markdown.
- description String
- Description of what the skill does.
- id String
- The composite ID of the skill:
<space_id>/<skill_id>. - name String
- Human-readable name for the skill.
- referenced
Contents List<Property Map> - Ordered list of referenced-content entries. Order is preserved as returned by the API.
- skill
Id String - The skill ID to look up. Accepts either a bare skill id or a composite
<space_id>/<skill_id>string. - space
Id String - An identifier for the Kibana space. If not provided, the default space is used unless the
skill_idargument supplies a composite space. - tool
Ids List<String> - Set of tool IDs from the tool registry that this skill references.
- kibana
Connections List<Property Map> - Kibana connection configuration block.
Supporting Types
GetKibanaAgentbuilderSkillKibanaConnection
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs List<string> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints List<string>
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- Api
Key string - API Key to use for authentication to Kibana
- Bearer
Token string - Bearer Token to use for authentication to Kibana
- Ca
Certs []string - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- Endpoints []string
- Insecure bool
- Disable TLS certificate validation
- Password string
- Password to use for API authentication to Kibana.
- Username string
- Username to use for API authentication to Kibana.
- api_
key string - API Key to use for authentication to Kibana
- bearer_
token string - Bearer Token to use for authentication to Kibana
- ca_
certs list(string) - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints list(string)
- insecure bool
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
- api
Key string - API Key to use for authentication to Kibana
- bearer
Token string - Bearer Token to use for authentication to Kibana
- ca
Certs string[] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints string[]
- insecure boolean
- Disable TLS certificate validation
- password string
- Password to use for API authentication to Kibana.
- username string
- Username to use for API authentication to Kibana.
- api_
key str - API Key to use for authentication to Kibana
- bearer_
token str - Bearer Token to use for authentication to Kibana
- ca_
certs Sequence[str] - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints Sequence[str]
- insecure bool
- Disable TLS certificate validation
- password str
- Password to use for API authentication to Kibana.
- username str
- Username to use for API authentication to Kibana.
- api
Key String - API Key to use for authentication to Kibana
- bearer
Token String - Bearer Token to use for authentication to Kibana
- ca
Certs List<String> - A list of paths to CA certificates to validate the certificate presented by the Kibana server.
- endpoints List<String>
- insecure Boolean
- Disable TLS certificate validation
- password String
- Password to use for API authentication to Kibana.
- username String
- Username to use for API authentication to Kibana.
GetKibanaAgentbuilderSkillReferencedContent
- Content string
- Content of the reference.
- Name string
- Name of the referenced content.
- Relative
Path string - Relative path of the referenced content.
- Content string
- Content of the reference.
- Name string
- Name of the referenced content.
- Relative
Path string - Relative path of the referenced content.
- content string
- Content of the reference.
- name string
- Name of the referenced content.
- relative_
path string - Relative path of the referenced content.
- content String
- Content of the reference.
- name String
- Name of the referenced content.
- relative
Path String - Relative path of the referenced content.
- content string
- Content of the reference.
- name string
- Name of the referenced content.
- relative
Path string - Relative path of the referenced content.
- content str
- Content of the reference.
- name str
- Name of the referenced content.
- relative_
path str - Relative path of the referenced content.
- content String
- Content of the reference.
- name String
- Name of the referenced content.
- relative
Path String - Relative path of the referenced content.
Package Details
- Repository
- elasticstack elastic/terraform-provider-elasticstack
- License
- Notes
- This Pulumi package is based on the
elasticstackTerraform Provider.
Viewing docs for elasticstack 0.16.0
published on Monday, May 25, 2026 by elastic
published on Monday, May 25, 2026 by elastic