published on Saturday, Jun 13, 2026 by pulumiverse
published on Saturday, Jun 13, 2026 by pulumiverse
Manages a Grafana Assistant skill.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumiverse/grafana";
const example = new grafana.assistant.Skill("example", {
name: "Deploy readiness check",
body: `1. Check deployment pipeline status.
2. Verify SLO error budget before promoting.
`,
scope: "tenant",
});
import pulumi
import pulumiverse_grafana as grafana
example = grafana.assistant.Skill("example",
name="Deploy readiness check",
body="""1. Check deployment pipeline status.
2. Verify SLO error budget before promoting.
""",
scope="tenant")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/v2/go/grafana/assistant"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := assistant.NewSkill(ctx, "example", &assistant.SkillArgs{
Name: pulumi.String("Deploy readiness check"),
Body: pulumi.String("1. Check deployment pipeline status.\n2. Verify SLO error budget before promoting.\n"),
Scope: pulumi.String("tenant"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var example = new Grafana.Assistant.Skill("example", new()
{
Name = "Deploy readiness check",
Body = @"1. Check deployment pipeline status.
2. Verify SLO error budget before promoting.
",
Scope = "tenant",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.assistant.Skill;
import com.pulumi.grafana.assistant.SkillArgs;
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 example = new Skill("example", SkillArgs.builder()
.name("Deploy readiness check")
.body("""
1. Check deployment pipeline status.
2. Verify SLO error budget before promoting.
""")
.scope("tenant")
.build());
}
}
resources:
example:
type: grafana:assistant:Skill
properties:
name: Deploy readiness check
body: |
1. Check deployment pipeline status.
2. Verify SLO error budget before promoting.
scope: tenant
Example coming soon!
Create Skill Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Skill(name: string, args: SkillArgs, opts?: CustomResourceOptions);@overload
def Skill(resource_name: str,
args: SkillArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Skill(resource_name: str,
opts: Optional[ResourceOptions] = None,
body: Optional[str] = None,
scope: Optional[str] = None,
allowed_tools: Optional[Sequence[SkillAllowedToolArgs]] = None,
context_items: Optional[str] = None,
include_in_knowledgebase: Optional[bool] = None,
name: Optional[str] = None)func NewSkill(ctx *Context, name string, args SkillArgs, opts ...ResourceOption) (*Skill, error)public Skill(string name, SkillArgs args, CustomResourceOptions? opts = null)type: grafana:assistant:Skill
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "grafana_assistant_skill" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SkillArgs
- 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 SkillArgs
- 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 SkillArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SkillArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SkillArgs
- 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 skillResource = new Grafana.Assistant.Skill("skillResource", new()
{
Body = "string",
Scope = "string",
AllowedTools = new[]
{
new Grafana.Assistant.Inputs.SkillAllowedToolArgs
{
IntegrationId = "string",
ToolName = "string",
},
},
ContextItems = "string",
IncludeInKnowledgebase = false,
Name = "string",
});
example, err := assistant.NewSkill(ctx, "skillResource", &assistant.SkillArgs{
Body: pulumi.String("string"),
Scope: pulumi.String("string"),
AllowedTools: assistant.SkillAllowedToolArray{
&assistant.SkillAllowedToolArgs{
IntegrationId: pulumi.String("string"),
ToolName: pulumi.String("string"),
},
},
ContextItems: pulumi.String("string"),
IncludeInKnowledgebase: pulumi.Bool(false),
Name: pulumi.String("string"),
})
resource "grafana_assistant_skill" "skillResource" {
body = "string"
scope = "string"
allowed_tools {
integration_id = "string"
tool_name = "string"
}
context_items = "string"
include_in_knowledgebase = false
name = "string"
}
var skillResource = new Skill("skillResource", SkillArgs.builder()
.body("string")
.scope("string")
.allowedTools(SkillAllowedToolArgs.builder()
.integrationId("string")
.toolName("string")
.build())
.contextItems("string")
.includeInKnowledgebase(false)
.name("string")
.build());
skill_resource = grafana.assistant.Skill("skillResource",
body="string",
scope="string",
allowed_tools=[{
"integration_id": "string",
"tool_name": "string",
}],
context_items="string",
include_in_knowledgebase=False,
name="string")
const skillResource = new grafana.assistant.Skill("skillResource", {
body: "string",
scope: "string",
allowedTools: [{
integrationId: "string",
toolName: "string",
}],
contextItems: "string",
includeInKnowledgebase: false,
name: "string",
});
type: grafana:assistant:Skill
properties:
allowedTools:
- integrationId: string
toolName: string
body: string
contextItems: string
includeInKnowledgebase: false
name: string
scope: string
Skill 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 Skill resource accepts the following input properties:
- Body string
- The skill content.
- Scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user). - Allowed
Tools List<Pulumiverse.Grafana. Assistant. Inputs. Skill Allowed Tool> - MCP tools to auto-approve when this skill is invoked.
- Context
Items string - Optional JSON array of context items referenced by the skill.
- Include
In boolKnowledgebase - Whether the skill is included in the knowledgebase.
- Name string
- The skill name.
- Body string
- The skill content.
- Scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user). - Allowed
Tools []SkillAllowed Tool Args - MCP tools to auto-approve when this skill is invoked.
- Context
Items string - Optional JSON array of context items referenced by the skill.
- Include
In boolKnowledgebase - Whether the skill is included in the knowledgebase.
- Name string
- The skill name.
- body string
- The skill content.
- scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user). - allowed_
tools list(object) - MCP tools to auto-approve when this skill is invoked.
- context_
items string - Optional JSON array of context items referenced by the skill.
- include_
in_ boolknowledgebase - Whether the skill is included in the knowledgebase.
- name string
- The skill name.
- body String
- The skill content.
- scope String
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user). - allowed
Tools List<SkillAllowed Tool> - MCP tools to auto-approve when this skill is invoked.
- context
Items String - Optional JSON array of context items referenced by the skill.
- include
In BooleanKnowledgebase - Whether the skill is included in the knowledgebase.
- name String
- The skill name.
- body string
- The skill content.
- scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user). - allowed
Tools SkillAllowed Tool[] - MCP tools to auto-approve when this skill is invoked.
- context
Items string - Optional JSON array of context items referenced by the skill.
- include
In booleanKnowledgebase - Whether the skill is included in the knowledgebase.
- name string
- The skill name.
- body str
- The skill content.
- scope str
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user). - allowed_
tools Sequence[SkillAllowed Tool Args] - MCP tools to auto-approve when this skill is invoked.
- context_
items str - Optional JSON array of context items referenced by the skill.
- include_
in_ boolknowledgebase - Whether the skill is included in the knowledgebase.
- name str
- The skill name.
- body String
- The skill content.
- scope String
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user). - allowed
Tools List<Property Map> - MCP tools to auto-approve when this skill is invoked.
- context
Items String - Optional JSON array of context items referenced by the skill.
- include
In BooleanKnowledgebase - Whether the skill is included in the knowledgebase.
- name String
- The skill name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Skill 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 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 Skill Resource
Get an existing Skill 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?: SkillState, opts?: CustomResourceOptions): Skill@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_tools: Optional[Sequence[SkillAllowedToolArgs]] = None,
body: Optional[str] = None,
context_items: Optional[str] = None,
include_in_knowledgebase: Optional[bool] = None,
name: Optional[str] = None,
scope: Optional[str] = None) -> Skillfunc GetSkill(ctx *Context, name string, id IDInput, state *SkillState, opts ...ResourceOption) (*Skill, error)public static Skill Get(string name, Input<string> id, SkillState? state, CustomResourceOptions? opts = null)public static Skill get(String name, Output<String> id, SkillState state, CustomResourceOptions options)resources: _: type: grafana:assistant:Skill get: id: ${id}import {
to = grafana_assistant_skill.example
id = "${id}"
}
- 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.
- Allowed
Tools List<Pulumiverse.Grafana. Assistant. Inputs. Skill Allowed Tool> - MCP tools to auto-approve when this skill is invoked.
- Body string
- The skill content.
- Context
Items string - Optional JSON array of context items referenced by the skill.
- Include
In boolKnowledgebase - Whether the skill is included in the knowledgebase.
- Name string
- The skill name.
- Scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user).
- Allowed
Tools []SkillAllowed Tool Args - MCP tools to auto-approve when this skill is invoked.
- Body string
- The skill content.
- Context
Items string - Optional JSON array of context items referenced by the skill.
- Include
In boolKnowledgebase - Whether the skill is included in the knowledgebase.
- Name string
- The skill name.
- Scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user).
- allowed_
tools list(object) - MCP tools to auto-approve when this skill is invoked.
- body string
- The skill content.
- context_
items string - Optional JSON array of context items referenced by the skill.
- include_
in_ boolknowledgebase - Whether the skill is included in the knowledgebase.
- name string
- The skill name.
- scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user).
- allowed
Tools List<SkillAllowed Tool> - MCP tools to auto-approve when this skill is invoked.
- body String
- The skill content.
- context
Items String - Optional JSON array of context items referenced by the skill.
- include
In BooleanKnowledgebase - Whether the skill is included in the knowledgebase.
- name String
- The skill name.
- scope String
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user).
- allowed
Tools SkillAllowed Tool[] - MCP tools to auto-approve when this skill is invoked.
- body string
- The skill content.
- context
Items string - Optional JSON array of context items referenced by the skill.
- include
In booleanKnowledgebase - Whether the skill is included in the knowledgebase.
- name string
- The skill name.
- scope string
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user).
- allowed_
tools Sequence[SkillAllowed Tool Args] - MCP tools to auto-approve when this skill is invoked.
- body str
- The skill content.
- context_
items str - Optional JSON array of context items referenced by the skill.
- include_
in_ boolknowledgebase - Whether the skill is included in the knowledgebase.
- name str
- The skill name.
- scope str
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user).
- allowed
Tools List<Property Map> - MCP tools to auto-approve when this skill is invoked.
- body String
- The skill content.
- context
Items String - Optional JSON array of context items referenced by the skill.
- include
In BooleanKnowledgebase - Whether the skill is included in the knowledgebase.
- name String
- The skill name.
- scope String
- Whether the resource is visible to the whole tenant (
tenant) or only the creating user (user).
Supporting Types
SkillAllowedTool, SkillAllowedToolArgs
- Integration
Id string - Integration UUID.
- Tool
Name string - MCP tool name.
- Integration
Id string - Integration UUID.
- Tool
Name string - MCP tool name.
- integration_
id string - Integration UUID.
- tool_
name string - MCP tool name.
- integration
Id String - Integration UUID.
- tool
Name String - MCP tool name.
- integration
Id string - Integration UUID.
- tool
Name string - MCP tool name.
- integration_
id str - Integration UUID.
- tool_
name str - MCP tool name.
- integration
Id String - Integration UUID.
- tool
Name String - MCP tool name.
Import
terraform import grafana_assistant_skill.name "{{ id }}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafanaTerraform Provider.
published on Saturday, Jun 13, 2026 by pulumiverse