published on Tuesday, Mar 3, 2026 by pulumiverse
published on Tuesday, Mar 3, 2026 by pulumiverse
Manages Knowledge Graph Profile Configuration through Grafana API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumiverse/grafana";
const production = new grafana.assert.ProfileConfig("production", {
name: "production",
priority: 1000,
defaultConfig: false,
dataSourceUid: "grafanacloud-profiles",
matches: [
{
property: "asserts_entity_type",
op: "=",
values: ["Service"],
},
{
property: "deployment_environment",
op: "=",
values: [
"production",
"staging",
],
},
{
property: "asserts_site",
op: "=",
values: [
"us-east-1",
"us-west-2",
],
},
],
entityPropertyToProfileLabelMapping: {
cluster: "k8s_cluster_name",
namespace: "k8s_namespace_name",
container: "k8s_container_name",
otel_service: "service_name",
otel_namespace: "service_namespace",
},
});
const development = new grafana.assert.ProfileConfig("development", {
name: "development",
priority: 2000,
defaultConfig: false,
dataSourceUid: "grafanacloud-profiles",
matches: [
{
property: "asserts_entity_type",
op: "=",
values: ["Service"],
},
{
property: "deployment_environment",
op: "=",
values: [
"development",
"testing",
],
},
{
property: "asserts_site",
op: "=",
values: ["us-east-1"],
},
{
property: "service",
op: "=",
values: ["my sample api"],
},
],
entityPropertyToProfileLabelMapping: {
cluster: "k8s_cluster_name",
namespace: "k8s_namespace_name",
container: "k8s_container_name",
otel_service: "service_name",
otel_namespace: "service_namespace",
pod: "k8s_pod_name",
},
});
const minimal = new grafana.assert.ProfileConfig("minimal", {
name: "minimal",
priority: 3000,
dataSourceUid: "pyroscope-minimal",
matches: [{
property: "asserts_entity_type",
op: "IS NOT NULL",
}],
entityPropertyToProfileLabelMapping: {
cluster: "k8s_cluster_name",
otel_service: "service_name",
otel_namespace: "service_namespace",
},
});
import pulumi
import pulumiverse_grafana as grafana
production = grafana.assert_.ProfileConfig("production",
name="production",
priority=1000,
default_config=False,
data_source_uid="grafanacloud-profiles",
matches=[
{
"property": "asserts_entity_type",
"op": "=",
"values": ["Service"],
},
{
"property": "deployment_environment",
"op": "=",
"values": [
"production",
"staging",
],
},
{
"property": "asserts_site",
"op": "=",
"values": [
"us-east-1",
"us-west-2",
],
},
],
entity_property_to_profile_label_mapping={
"cluster": "k8s_cluster_name",
"namespace": "k8s_namespace_name",
"container": "k8s_container_name",
"otel_service": "service_name",
"otel_namespace": "service_namespace",
})
development = grafana.assert_.ProfileConfig("development",
name="development",
priority=2000,
default_config=False,
data_source_uid="grafanacloud-profiles",
matches=[
{
"property": "asserts_entity_type",
"op": "=",
"values": ["Service"],
},
{
"property": "deployment_environment",
"op": "=",
"values": [
"development",
"testing",
],
},
{
"property": "asserts_site",
"op": "=",
"values": ["us-east-1"],
},
{
"property": "service",
"op": "=",
"values": ["my sample api"],
},
],
entity_property_to_profile_label_mapping={
"cluster": "k8s_cluster_name",
"namespace": "k8s_namespace_name",
"container": "k8s_container_name",
"otel_service": "service_name",
"otel_namespace": "service_namespace",
"pod": "k8s_pod_name",
})
minimal = grafana.assert_.ProfileConfig("minimal",
name="minimal",
priority=3000,
data_source_uid="pyroscope-minimal",
matches=[{
"property": "asserts_entity_type",
"op": "IS NOT NULL",
}],
entity_property_to_profile_label_mapping={
"cluster": "k8s_cluster_name",
"otel_service": "service_name",
"otel_namespace": "service_namespace",
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/v2/go/grafana/assert"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := assert.NewProfileConfig(ctx, "production", &assert.ProfileConfigArgs{
Name: pulumi.String("production"),
Priority: pulumi.Int(1000),
DefaultConfig: pulumi.Bool(false),
DataSourceUid: pulumi.String("grafanacloud-profiles"),
Matches: assert.ProfileConfigMatchArray{
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("asserts_entity_type"),
Op: pulumi.String("="),
Values: pulumi.StringArray{
pulumi.String("Service"),
},
},
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("deployment_environment"),
Op: pulumi.String("="),
Values: pulumi.StringArray{
pulumi.String("production"),
pulumi.String("staging"),
},
},
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("asserts_site"),
Op: pulumi.String("="),
Values: pulumi.StringArray{
pulumi.String("us-east-1"),
pulumi.String("us-west-2"),
},
},
},
EntityPropertyToProfileLabelMapping: pulumi.StringMap{
"cluster": pulumi.String("k8s_cluster_name"),
"namespace": pulumi.String("k8s_namespace_name"),
"container": pulumi.String("k8s_container_name"),
"otel_service": pulumi.String("service_name"),
"otel_namespace": pulumi.String("service_namespace"),
},
})
if err != nil {
return err
}
_, err = assert.NewProfileConfig(ctx, "development", &assert.ProfileConfigArgs{
Name: pulumi.String("development"),
Priority: pulumi.Int(2000),
DefaultConfig: pulumi.Bool(false),
DataSourceUid: pulumi.String("grafanacloud-profiles"),
Matches: assert.ProfileConfigMatchArray{
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("asserts_entity_type"),
Op: pulumi.String("="),
Values: pulumi.StringArray{
pulumi.String("Service"),
},
},
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("deployment_environment"),
Op: pulumi.String("="),
Values: pulumi.StringArray{
pulumi.String("development"),
pulumi.String("testing"),
},
},
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("asserts_site"),
Op: pulumi.String("="),
Values: pulumi.StringArray{
pulumi.String("us-east-1"),
},
},
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("service"),
Op: pulumi.String("="),
Values: pulumi.StringArray{
pulumi.String("my sample api"),
},
},
},
EntityPropertyToProfileLabelMapping: pulumi.StringMap{
"cluster": pulumi.String("k8s_cluster_name"),
"namespace": pulumi.String("k8s_namespace_name"),
"container": pulumi.String("k8s_container_name"),
"otel_service": pulumi.String("service_name"),
"otel_namespace": pulumi.String("service_namespace"),
"pod": pulumi.String("k8s_pod_name"),
},
})
if err != nil {
return err
}
_, err = assert.NewProfileConfig(ctx, "minimal", &assert.ProfileConfigArgs{
Name: pulumi.String("minimal"),
Priority: pulumi.Int(3000),
DataSourceUid: pulumi.String("pyroscope-minimal"),
Matches: assert.ProfileConfigMatchArray{
&assert.ProfileConfigMatchArgs{
Property: pulumi.String("asserts_entity_type"),
Op: pulumi.String("IS NOT NULL"),
},
},
EntityPropertyToProfileLabelMapping: pulumi.StringMap{
"cluster": pulumi.String("k8s_cluster_name"),
"otel_service": pulumi.String("service_name"),
"otel_namespace": pulumi.String("service_namespace"),
},
})
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 production = new Grafana.Assert.ProfileConfig("production", new()
{
Name = "production",
Priority = 1000,
DefaultConfig = false,
DataSourceUid = "grafanacloud-profiles",
Matches = new[]
{
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "asserts_entity_type",
Op = "=",
Values = new[]
{
"Service",
},
},
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "deployment_environment",
Op = "=",
Values = new[]
{
"production",
"staging",
},
},
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "asserts_site",
Op = "=",
Values = new[]
{
"us-east-1",
"us-west-2",
},
},
},
EntityPropertyToProfileLabelMapping =
{
{ "cluster", "k8s_cluster_name" },
{ "namespace", "k8s_namespace_name" },
{ "container", "k8s_container_name" },
{ "otel_service", "service_name" },
{ "otel_namespace", "service_namespace" },
},
});
var development = new Grafana.Assert.ProfileConfig("development", new()
{
Name = "development",
Priority = 2000,
DefaultConfig = false,
DataSourceUid = "grafanacloud-profiles",
Matches = new[]
{
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "asserts_entity_type",
Op = "=",
Values = new[]
{
"Service",
},
},
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "deployment_environment",
Op = "=",
Values = new[]
{
"development",
"testing",
},
},
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "asserts_site",
Op = "=",
Values = new[]
{
"us-east-1",
},
},
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "service",
Op = "=",
Values = new[]
{
"my sample api",
},
},
},
EntityPropertyToProfileLabelMapping =
{
{ "cluster", "k8s_cluster_name" },
{ "namespace", "k8s_namespace_name" },
{ "container", "k8s_container_name" },
{ "otel_service", "service_name" },
{ "otel_namespace", "service_namespace" },
{ "pod", "k8s_pod_name" },
},
});
var minimal = new Grafana.Assert.ProfileConfig("minimal", new()
{
Name = "minimal",
Priority = 3000,
DataSourceUid = "pyroscope-minimal",
Matches = new[]
{
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Property = "asserts_entity_type",
Op = "IS NOT NULL",
},
},
EntityPropertyToProfileLabelMapping =
{
{ "cluster", "k8s_cluster_name" },
{ "otel_service", "service_name" },
{ "otel_namespace", "service_namespace" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.assert.ProfileConfig;
import com.pulumi.grafana.assert.ProfileConfigArgs;
import com.pulumi.grafana.assert.inputs.ProfileConfigMatchArgs;
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 production = new ProfileConfig("production", ProfileConfigArgs.builder()
.name("production")
.priority(1000)
.defaultConfig(false)
.dataSourceUid("grafanacloud-profiles")
.matches(
ProfileConfigMatchArgs.builder()
.property("asserts_entity_type")
.op("=")
.values("Service")
.build(),
ProfileConfigMatchArgs.builder()
.property("deployment_environment")
.op("=")
.values(
"production",
"staging")
.build(),
ProfileConfigMatchArgs.builder()
.property("asserts_site")
.op("=")
.values(
"us-east-1",
"us-west-2")
.build())
.entityPropertyToProfileLabelMapping(Map.ofEntries(
Map.entry("cluster", "k8s_cluster_name"),
Map.entry("namespace", "k8s_namespace_name"),
Map.entry("container", "k8s_container_name"),
Map.entry("otel_service", "service_name"),
Map.entry("otel_namespace", "service_namespace")
))
.build());
var development = new ProfileConfig("development", ProfileConfigArgs.builder()
.name("development")
.priority(2000)
.defaultConfig(false)
.dataSourceUid("grafanacloud-profiles")
.matches(
ProfileConfigMatchArgs.builder()
.property("asserts_entity_type")
.op("=")
.values("Service")
.build(),
ProfileConfigMatchArgs.builder()
.property("deployment_environment")
.op("=")
.values(
"development",
"testing")
.build(),
ProfileConfigMatchArgs.builder()
.property("asserts_site")
.op("=")
.values("us-east-1")
.build(),
ProfileConfigMatchArgs.builder()
.property("service")
.op("=")
.values("my sample api")
.build())
.entityPropertyToProfileLabelMapping(Map.ofEntries(
Map.entry("cluster", "k8s_cluster_name"),
Map.entry("namespace", "k8s_namespace_name"),
Map.entry("container", "k8s_container_name"),
Map.entry("otel_service", "service_name"),
Map.entry("otel_namespace", "service_namespace"),
Map.entry("pod", "k8s_pod_name")
))
.build());
var minimal = new ProfileConfig("minimal", ProfileConfigArgs.builder()
.name("minimal")
.priority(3000)
.dataSourceUid("pyroscope-minimal")
.matches(ProfileConfigMatchArgs.builder()
.property("asserts_entity_type")
.op("IS NOT NULL")
.build())
.entityPropertyToProfileLabelMapping(Map.ofEntries(
Map.entry("cluster", "k8s_cluster_name"),
Map.entry("otel_service", "service_name"),
Map.entry("otel_namespace", "service_namespace")
))
.build());
}
}
resources:
production:
type: grafana:assert:ProfileConfig
properties:
name: production
priority: 1000
defaultConfig: false
dataSourceUid: grafanacloud-profiles
matches:
- property: asserts_entity_type
op: =
values:
- Service
- property: deployment_environment
op: =
values:
- production
- staging
- property: asserts_site
op: =
values:
- us-east-1
- us-west-2
entityPropertyToProfileLabelMapping:
cluster: k8s_cluster_name
namespace: k8s_namespace_name
container: k8s_container_name
otel_service: service_name
otel_namespace: service_namespace
development:
type: grafana:assert:ProfileConfig
properties:
name: development
priority: 2000
defaultConfig: false
dataSourceUid: grafanacloud-profiles
matches:
- property: asserts_entity_type
op: =
values:
- Service
- property: deployment_environment
op: =
values:
- development
- testing
- property: asserts_site
op: =
values:
- us-east-1
- property: service
op: =
values:
- my sample api
entityPropertyToProfileLabelMapping:
cluster: k8s_cluster_name
namespace: k8s_namespace_name
container: k8s_container_name
otel_service: service_name
otel_namespace: service_namespace
pod: k8s_pod_name
minimal:
type: grafana:assert:ProfileConfig
properties:
name: minimal
priority: 3000
dataSourceUid: pyroscope-minimal
matches:
- property: asserts_entity_type
op: IS NOT NULL
entityPropertyToProfileLabelMapping:
cluster: k8s_cluster_name
otel_service: service_name
otel_namespace: service_namespace
Create ProfileConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProfileConfig(name: string, args: ProfileConfigArgs, opts?: CustomResourceOptions);@overload
def ProfileConfig(resource_name: str,
args: ProfileConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProfileConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_source_uid: Optional[str] = None,
default_config: Optional[bool] = None,
priority: Optional[int] = None,
entity_property_to_profile_label_mapping: Optional[Mapping[str, str]] = None,
matches: Optional[Sequence[ProfileConfigMatchArgs]] = None,
name: Optional[str] = None)func NewProfileConfig(ctx *Context, name string, args ProfileConfigArgs, opts ...ResourceOption) (*ProfileConfig, error)public ProfileConfig(string name, ProfileConfigArgs args, CustomResourceOptions? opts = null)
public ProfileConfig(String name, ProfileConfigArgs args)
public ProfileConfig(String name, ProfileConfigArgs args, CustomResourceOptions options)
type: grafana:assert:ProfileConfig
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 ProfileConfigArgs
- 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 ProfileConfigArgs
- 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 ProfileConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileConfigArgs
- 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 profileConfigResource = new Grafana.Assert.ProfileConfig("profileConfigResource", new()
{
DataSourceUid = "string",
DefaultConfig = false,
Priority = 0,
EntityPropertyToProfileLabelMapping =
{
{ "string", "string" },
},
Matches = new[]
{
new Grafana.Assert.Inputs.ProfileConfigMatchArgs
{
Op = "string",
Property = "string",
Values = new[]
{
"string",
},
},
},
Name = "string",
});
example, err := assert.NewProfileConfig(ctx, "profileConfigResource", &assert.ProfileConfigArgs{
DataSourceUid: pulumi.String("string"),
DefaultConfig: pulumi.Bool(false),
Priority: pulumi.Int(0),
EntityPropertyToProfileLabelMapping: pulumi.StringMap{
"string": pulumi.String("string"),
},
Matches: assert.ProfileConfigMatchArray{
&assert.ProfileConfigMatchArgs{
Op: pulumi.String("string"),
Property: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
})
var profileConfigResource = new ProfileConfig("profileConfigResource", ProfileConfigArgs.builder()
.dataSourceUid("string")
.defaultConfig(false)
.priority(0)
.entityPropertyToProfileLabelMapping(Map.of("string", "string"))
.matches(ProfileConfigMatchArgs.builder()
.op("string")
.property("string")
.values("string")
.build())
.name("string")
.build());
profile_config_resource = grafana.assert_.ProfileConfig("profileConfigResource",
data_source_uid="string",
default_config=False,
priority=0,
entity_property_to_profile_label_mapping={
"string": "string",
},
matches=[{
"op": "string",
"property": "string",
"values": ["string"],
}],
name="string")
const profileConfigResource = new grafana.assert.ProfileConfig("profileConfigResource", {
dataSourceUid: "string",
defaultConfig: false,
priority: 0,
entityPropertyToProfileLabelMapping: {
string: "string",
},
matches: [{
op: "string",
property: "string",
values: ["string"],
}],
name: "string",
});
type: grafana:assert:ProfileConfig
properties:
dataSourceUid: string
defaultConfig: false
entityPropertyToProfileLabelMapping:
string: string
matches:
- op: string
property: string
values:
- string
name: string
priority: 0
ProfileConfig 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 ProfileConfig resource accepts the following input properties:
- Data
Source stringUid - DataSource to be queried (e.g., a Pyroscope instance).
- Default
Config bool - Is it the default config, therefore undeletable?
- Priority int
- Priority of the profile configuration. A lower number means a higher priority.
- Entity
Property Dictionary<string, string>To Profile Label Mapping - Mapping of entity properties to profile labels.
- Matches
List<Pulumiverse.
Grafana. Assert. Inputs. Profile Config Match> - List of match rules for entity properties.
- Name string
- The name of the profile configuration.
- Data
Source stringUid - DataSource to be queried (e.g., a Pyroscope instance).
- Default
Config bool - Is it the default config, therefore undeletable?
- Priority int
- Priority of the profile configuration. A lower number means a higher priority.
- Entity
Property map[string]stringTo Profile Label Mapping - Mapping of entity properties to profile labels.
- Matches
[]Profile
Config Match Args - List of match rules for entity properties.
- Name string
- The name of the profile configuration.
- data
Source StringUid - DataSource to be queried (e.g., a Pyroscope instance).
- default
Config Boolean - Is it the default config, therefore undeletable?
- priority Integer
- Priority of the profile configuration. A lower number means a higher priority.
- entity
Property Map<String,String>To Profile Label Mapping - Mapping of entity properties to profile labels.
- matches
List<Profile
Config Match> - List of match rules for entity properties.
- name String
- The name of the profile configuration.
- data
Source stringUid - DataSource to be queried (e.g., a Pyroscope instance).
- default
Config boolean - Is it the default config, therefore undeletable?
- priority number
- Priority of the profile configuration. A lower number means a higher priority.
- entity
Property {[key: string]: string}To Profile Label Mapping - Mapping of entity properties to profile labels.
- matches
Profile
Config Match[] - List of match rules for entity properties.
- name string
- The name of the profile configuration.
- data_
source_ struid - DataSource to be queried (e.g., a Pyroscope instance).
- default_
config bool - Is it the default config, therefore undeletable?
- priority int
- Priority of the profile configuration. A lower number means a higher priority.
- entity_
property_ Mapping[str, str]to_ profile_ label_ mapping - Mapping of entity properties to profile labels.
- matches
Sequence[Profile
Config Match Args] - List of match rules for entity properties.
- name str
- The name of the profile configuration.
- data
Source StringUid - DataSource to be queried (e.g., a Pyroscope instance).
- default
Config Boolean - Is it the default config, therefore undeletable?
- priority Number
- Priority of the profile configuration. A lower number means a higher priority.
- entity
Property Map<String>To Profile Label Mapping - Mapping of entity properties to profile labels.
- matches List<Property Map>
- List of match rules for entity properties.
- name String
- The name of the profile configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProfileConfig 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 ProfileConfig Resource
Get an existing ProfileConfig 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?: ProfileConfigState, opts?: CustomResourceOptions): ProfileConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
data_source_uid: Optional[str] = None,
default_config: Optional[bool] = None,
entity_property_to_profile_label_mapping: Optional[Mapping[str, str]] = None,
matches: Optional[Sequence[ProfileConfigMatchArgs]] = None,
name: Optional[str] = None,
priority: Optional[int] = None) -> ProfileConfigfunc GetProfileConfig(ctx *Context, name string, id IDInput, state *ProfileConfigState, opts ...ResourceOption) (*ProfileConfig, error)public static ProfileConfig Get(string name, Input<string> id, ProfileConfigState? state, CustomResourceOptions? opts = null)public static ProfileConfig get(String name, Output<String> id, ProfileConfigState state, CustomResourceOptions options)resources: _: type: grafana:assert:ProfileConfig get: 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.
- Data
Source stringUid - DataSource to be queried (e.g., a Pyroscope instance).
- Default
Config bool - Is it the default config, therefore undeletable?
- Entity
Property Dictionary<string, string>To Profile Label Mapping - Mapping of entity properties to profile labels.
- Matches
List<Pulumiverse.
Grafana. Assert. Inputs. Profile Config Match> - List of match rules for entity properties.
- Name string
- The name of the profile configuration.
- Priority int
- Priority of the profile configuration. A lower number means a higher priority.
- Data
Source stringUid - DataSource to be queried (e.g., a Pyroscope instance).
- Default
Config bool - Is it the default config, therefore undeletable?
- Entity
Property map[string]stringTo Profile Label Mapping - Mapping of entity properties to profile labels.
- Matches
[]Profile
Config Match Args - List of match rules for entity properties.
- Name string
- The name of the profile configuration.
- Priority int
- Priority of the profile configuration. A lower number means a higher priority.
- data
Source StringUid - DataSource to be queried (e.g., a Pyroscope instance).
- default
Config Boolean - Is it the default config, therefore undeletable?
- entity
Property Map<String,String>To Profile Label Mapping - Mapping of entity properties to profile labels.
- matches
List<Profile
Config Match> - List of match rules for entity properties.
- name String
- The name of the profile configuration.
- priority Integer
- Priority of the profile configuration. A lower number means a higher priority.
- data
Source stringUid - DataSource to be queried (e.g., a Pyroscope instance).
- default
Config boolean - Is it the default config, therefore undeletable?
- entity
Property {[key: string]: string}To Profile Label Mapping - Mapping of entity properties to profile labels.
- matches
Profile
Config Match[] - List of match rules for entity properties.
- name string
- The name of the profile configuration.
- priority number
- Priority of the profile configuration. A lower number means a higher priority.
- data_
source_ struid - DataSource to be queried (e.g., a Pyroscope instance).
- default_
config bool - Is it the default config, therefore undeletable?
- entity_
property_ Mapping[str, str]to_ profile_ label_ mapping - Mapping of entity properties to profile labels.
- matches
Sequence[Profile
Config Match Args] - List of match rules for entity properties.
- name str
- The name of the profile configuration.
- priority int
- Priority of the profile configuration. A lower number means a higher priority.
- data
Source StringUid - DataSource to be queried (e.g., a Pyroscope instance).
- default
Config Boolean - Is it the default config, therefore undeletable?
- entity
Property Map<String>To Profile Label Mapping - Mapping of entity properties to profile labels.
- matches List<Property Map>
- List of match rules for entity properties.
- name String
- The name of the profile configuration.
- priority Number
- Priority of the profile configuration. A lower number means a higher priority.
Supporting Types
ProfileConfigMatch, ProfileConfigMatchArgs
Import
$ pulumi import grafana:assert/profileConfig:ProfileConfig name "{{ name }}"
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 Tuesday, Mar 3, 2026 by pulumiverse
