published on Friday, Aug 7, 2026 by pulumiverse
published on Friday, Aug 7, 2026 by pulumiverse
Manages services in Grafana Service Center via the Service Model API (servicemodel.ext.grafana.com/v1alpha1, kind Component).
Services are catalog components of type service (the default for spec.type). Service Center currently
displays components of type service; components of other types are stored but not shown.
Availability: Grafana Cloud. The API is v1alpha1 and may evolve; the attributes exposed here are stable.
Naming: metadata.uid is the object name, e.g. checkout-service. It can only contain lowercase
letters, numbers and dashes, must start and end with a letter or number, and must be 2 to 63 characters long.
Changing metadata.uid replaces the resource (destroy and create). The uid is also the service identifier:
dashboards, alerts, SLOs and other resources are matched to the service when they carry a serviceName label
or tag equal to it; the identifiers block can add further values to match.
Backstage catalog sync: services imported from Backstage must be managed there, not in Terraform; otherwise the two will repeatedly overwrite each other.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumiverse/grafana";
// A minimal service.
const payments = new grafana.cloud.v1alpha1.ServiceModelComponent("payments", {
metadata: {
uid: "payments-api",
},
spec: {
title: "Payments API",
},
});
const checkout = new grafana.oss.Team("checkout", {name: "Checkout Team"});
// A service with ownership, dependencies and links.
const checkoutServiceModelComponent = new grafana.cloud.v1alpha1.ServiceModelComponent("checkout", {
metadata: {
uid: "checkout-service",
},
spec: {
title: "Checkout Service",
description: "Handles checkout and payment orchestration.",
identifiers: [
{
key: "service_name",
value: "Checkout_Service",
},
{
key: "namespace",
value: "checkout-prod",
},
],
ownerRef: {
name: checkout.teamUid,
},
dependsOnRefs: [{
name: payments.metadata.apply(metadata => metadata?.uid),
}],
links: [{
url: "https://github.com/example/checkout",
title: "Source code",
type: "repository",
}],
},
});
import pulumi
import pulumiverse_grafana as grafana
# A minimal service.
payments = grafana.cloud.v1alpha1.ServiceModelComponent("payments",
metadata={
"uid": "payments-api",
},
spec={
"title": "Payments API",
})
checkout = grafana.oss.Team("checkout", name="Checkout Team")
# A service with ownership, dependencies and links.
checkout_service_model_component = grafana.cloud.v1alpha1.ServiceModelComponent("checkout",
metadata={
"uid": "checkout-service",
},
spec={
"title": "Checkout Service",
"description": "Handles checkout and payment orchestration.",
"identifiers": [
{
"key": "service_name",
"value": "Checkout_Service",
},
{
"key": "namespace",
"value": "checkout-prod",
},
],
"owner_ref": {
"name": checkout.team_uid,
},
"depends_on_refs": [{
"name": payments.metadata.uid,
}],
"links": [{
"url": "https://github.com/example/checkout",
"title": "Source code",
"type": "repository",
}],
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/v2/go/grafana/cloud"
cloudv1alpha1 "github.com/pulumiverse/pulumi-grafana/sdk/v2/go/grafana/cloud/v1alpha1"
"github.com/pulumiverse/pulumi-grafana/sdk/v2/go/grafana/oss"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// A minimal service.
payments, err := cloud.NewServiceModelComponent(ctx, "payments", &cloud.ServiceModelComponentArgs{
Metadata: &cloudv1alpha1.ServiceModelComponentMetadataArgs{
Uid: pulumi.String("payments-api"),
},
Spec: &cloudv1alpha1.ServiceModelComponentSpecArgs{
Title: pulumi.String("Payments API"),
},
})
if err != nil {
return err
}
checkout, err := oss.NewTeam(ctx, "checkout", &oss.TeamArgs{
Name: pulumi.String("Checkout Team"),
})
if err != nil {
return err
}
// A service with ownership, dependencies and links.
_, err = cloud.NewServiceModelComponent(ctx, "checkout", &cloud.ServiceModelComponentArgs{
Metadata: &cloudv1alpha1.ServiceModelComponentMetadataArgs{
Uid: pulumi.String("checkout-service"),
},
Spec: &cloudv1alpha1.ServiceModelComponentSpecArgs{
Title: pulumi.String("Checkout Service"),
Description: pulumi.String("Handles checkout and payment orchestration."),
Identifiers: cloudv1alpha1.ServiceModelComponentSpecIdentifierArray{
&cloudv1alpha1.ServiceModelComponentSpecIdentifierArgs{
Key: pulumi.String("service_name"),
Value: pulumi.String("Checkout_Service"),
},
&cloudv1alpha1.ServiceModelComponentSpecIdentifierArgs{
Key: pulumi.String("namespace"),
Value: pulumi.String("checkout-prod"),
},
},
OwnerRef: &cloudv1alpha1.ServiceModelComponentSpecOwnerRefArgs{
Name: checkout.TeamUid,
},
DependsOnRefs: cloudv1alpha1.ServiceModelComponentSpecDependsOnRefArray{
&cloudv1alpha1.ServiceModelComponentSpecDependsOnRefArgs{
Name: payments.Metadata.ApplyT(func(metadata cloudv1alpha1.ServiceModelComponentMetadata) (*string, error) {
return &metadata.Uid, nil
}).(pulumi.StringPtrOutput),
},
},
Links: cloudv1alpha1.ServiceModelComponentSpecLinkArray{
&cloudv1alpha1.ServiceModelComponentSpecLinkArgs{
Url: pulumi.String("https://github.com/example/checkout"),
Title: pulumi.String("Source code"),
Type: pulumi.String("repository"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
// A minimal service.
var payments = new Grafana.Cloud.V1Alpha1.ServiceModelComponent("payments", new()
{
Metadata = new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentMetadataArgs
{
Uid = "payments-api",
},
Spec = new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentSpecArgs
{
Title = "Payments API",
},
});
var checkout = new Grafana.Oss.Team("checkout", new()
{
Name = "Checkout Team",
});
// A service with ownership, dependencies and links.
var checkoutServiceModelComponent = new Grafana.Cloud.V1Alpha1.ServiceModelComponent("checkout", new()
{
Metadata = new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentMetadataArgs
{
Uid = "checkout-service",
},
Spec = new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentSpecArgs
{
Title = "Checkout Service",
Description = "Handles checkout and payment orchestration.",
Identifiers = new[]
{
new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentSpecIdentifierArgs
{
Key = "service_name",
Value = "Checkout_Service",
},
new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentSpecIdentifierArgs
{
Key = "namespace",
Value = "checkout-prod",
},
},
OwnerRef = new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentSpecOwnerRefArgs
{
Name = checkout.TeamUid,
},
DependsOnRefs = new[]
{
new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentSpecDependsOnRefArgs
{
Name = payments.Metadata.Apply(metadata => metadata?.Uid),
},
},
Links = new[]
{
new Grafana.Cloud.V1Alpha1.Inputs.ServiceModelComponentSpecLinkArgs
{
Url = "https://github.com/example/checkout",
Title = "Source code",
Type = "repository",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.cloud_v1alpha1.ServiceModelComponent;
import com.pulumi.grafana.cloud_v1alpha1.ServiceModelComponentArgs;
import com.pulumi.grafana.cloud.inputs.ServiceModelComponentMetadataArgs;
import com.pulumi.grafana.cloud.inputs.ServiceModelComponentSpecArgs;
import com.pulumi.grafana.oss.Team;
import com.pulumi.grafana.oss.TeamArgs;
import com.pulumi.grafana.cloud.inputs.ServiceModelComponentSpecOwnerRefArgs;
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) {
// A minimal service.
var payments = new ServiceModelComponent("payments", ServiceModelComponentArgs.builder()
.metadata(ServiceModelComponentMetadataArgs.builder()
.uid("payments-api")
.build())
.spec(ServiceModelComponentSpecArgs.builder()
.title("Payments API")
.build())
.build());
var checkout = new Team("checkout", TeamArgs.builder()
.name("Checkout Team")
.build());
// A service with ownership, dependencies and links.
var checkoutServiceModelComponent = new ServiceModelComponent("checkoutServiceModelComponent", ServiceModelComponentArgs.builder()
.metadata(ServiceModelComponentMetadataArgs.builder()
.uid("checkout-service")
.build())
.spec(ServiceModelComponentSpecArgs.builder()
.title("Checkout Service")
.description("Handles checkout and payment orchestration.")
.identifiers(
ServiceModelComponentSpecIdentifierArgs.builder()
.key("service_name")
.value("Checkout_Service")
.build(),
ServiceModelComponentSpecIdentifierArgs.builder()
.key("namespace")
.value("checkout-prod")
.build())
.ownerRef(ServiceModelComponentSpecOwnerRefArgs.builder()
.name(checkout.teamUid())
.build())
.dependsOnRefs(ServiceModelComponentSpecDependsOnRefArgs.builder()
.name(payments.metadata().applyValue(_metadata -> _metadata.uid()))
.build())
.links(ServiceModelComponentSpecLinkArgs.builder()
.url("https://github.com/example/checkout")
.title("Source code")
.type("repository")
.build())
.build())
.build());
}
}
resources:
# A minimal service.
payments:
type: grafana:cloud/v1alpha1:ServiceModelComponent
properties:
metadata:
uid: payments-api
spec:
title: Payments API
checkout:
type: grafana:oss:Team
properties:
name: Checkout Team
# A service with ownership, dependencies and links.
checkoutServiceModelComponent:
type: grafana:cloud/v1alpha1:ServiceModelComponent
name: checkout
properties:
metadata:
uid: checkout-service
spec:
title: Checkout Service
description: Handles checkout and payment orchestration.
identifiers:
- key: service_name
value: Checkout_Service
- key: namespace
value: checkout-prod
ownerRef:
name: ${checkout.teamUid}
dependsOnRefs:
- name: ${payments.metadata.uid}
links:
- url: https://github.com/example/checkout
title: Source code
type: repository
Example coming soon!
Create ServiceModelComponent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceModelComponent(name: string, args?: ServiceModelComponentArgs, opts?: CustomResourceOptions);@overload
def ServiceModelComponent(resource_name: str,
args: Optional[ServiceModelComponentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceModelComponent(resource_name: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[ServiceModelComponentMetadataArgs] = None,
options: Optional[ServiceModelComponentOptionsArgs] = None,
spec: Optional[ServiceModelComponentSpecArgs] = None)func NewServiceModelComponent(ctx *Context, name string, args *ServiceModelComponentArgs, opts ...ResourceOption) (*ServiceModelComponent, error)public ServiceModelComponent(string name, ServiceModelComponentArgs? args = null, CustomResourceOptions? opts = null)
public ServiceModelComponent(String name, ServiceModelComponentArgs args)
public ServiceModelComponent(String name, ServiceModelComponentArgs args, CustomResourceOptions options)
type: grafana:cloud/v1alpha1/serviceModelComponent:ServiceModelComponent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "grafana_cloud_v1alpha1_service_model_component" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ServiceModelComponentArgs
- 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 ServiceModelComponentArgs
- 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 ServiceModelComponentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceModelComponentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceModelComponentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServiceModelComponent 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 ServiceModelComponent resource accepts the following input properties:
- Metadata
Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Spec - The spec of the resource.
- Metadata
Service
Model Component Metadata Args - The metadata of the resource.
- Options
Service
Model Component Options Args - Options for applying the resource.
- Spec
Service
Model Component Spec Args - The spec of the resource.
- metadata
Service
Model Component Metadata - The metadata of the resource.
- options
Service
Model Component Options - Options for applying the resource.
- spec
Service
Model Component Spec - The spec of the resource.
- metadata
Service
Model Component Metadata - The metadata of the resource.
- options
Service
Model Component Options - Options for applying the resource.
- spec
Service
Model Component Spec - The spec of the resource.
- metadata
Service
Model Component Metadata Args - The metadata of the resource.
- options
Service
Model Component Options Args - Options for applying the resource.
- spec
Service
Model Component Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceModelComponent 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 ServiceModelComponent Resource
Get an existing ServiceModelComponent 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?: ServiceModelComponentState, opts?: CustomResourceOptions): ServiceModelComponent@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[ServiceModelComponentMetadataArgs] = None,
options: Optional[ServiceModelComponentOptionsArgs] = None,
spec: Optional[ServiceModelComponentSpecArgs] = None) -> ServiceModelComponentfunc GetServiceModelComponent(ctx *Context, name string, id IDInput, state *ServiceModelComponentState, opts ...ResourceOption) (*ServiceModelComponent, error)public static ServiceModelComponent Get(string name, Input<string> id, ServiceModelComponentState? state, CustomResourceOptions? opts = null)public static ServiceModelComponent get(String name, Output<String> id, ServiceModelComponentState state, CustomResourceOptions options)resources: _: type: grafana:cloud/v1alpha1/serviceModelComponent:ServiceModelComponent get: id: ${id}import {
to = grafana_cloud_v1alpha1_service_model_component.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.
- Metadata
Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Spec - The spec of the resource.
- Metadata
Service
Model Component Metadata Args - The metadata of the resource.
- Options
Service
Model Component Options Args - Options for applying the resource.
- Spec
Service
Model Component Spec Args - The spec of the resource.
- metadata
Service
Model Component Metadata - The metadata of the resource.
- options
Service
Model Component Options - Options for applying the resource.
- spec
Service
Model Component Spec - The spec of the resource.
- metadata
Service
Model Component Metadata - The metadata of the resource.
- options
Service
Model Component Options - Options for applying the resource.
- spec
Service
Model Component Spec - The spec of the resource.
- metadata
Service
Model Component Metadata Args - The metadata of the resource.
- options
Service
Model Component Options Args - Options for applying the resource.
- spec
Service
Model Component Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Supporting Types
ServiceModelComponentMetadata, ServiceModelComponentMetadataArgs
- Uid string
- The unique identifier of the resource.
- Annotations Dictionary<string, string>
- Annotations of the resource.
- Folder
Uid string - The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
- Url string
- The full URL of the resource.
- Uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- Version string
- The version of the resource.
- Uid string
- The unique identifier of the resource.
- Annotations map[string]string
- Annotations of the resource.
- Folder
Uid string - The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
- Url string
- The full URL of the resource.
- Uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- Version string
- The version of the resource.
- uid string
- The unique identifier of the resource.
- annotations map(string)
- Annotations of the resource.
- folder_
uid string - The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
- url string
- The full URL of the resource.
- uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- version string
- The version of the resource.
- uid String
- The unique identifier of the resource.
- annotations Map<String,String>
- Annotations of the resource.
- folder
Uid String - The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
- url String
- The full URL of the resource.
- uuid String
- The globally unique identifier of a resource, used by the API for tracking.
- version String
- The version of the resource.
- uid string
- The unique identifier of the resource.
- annotations {[key: string]: string}
- Annotations of the resource.
- folder
Uid string - The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
- url string
- The full URL of the resource.
- uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- version string
- The version of the resource.
- uid str
- The unique identifier of the resource.
- annotations Mapping[str, str]
- Annotations of the resource.
- folder_
uid str - The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
- url str
- The full URL of the resource.
- uuid str
- The globally unique identifier of a resource, used by the API for tracking.
- version str
- The version of the resource.
- uid String
- The unique identifier of the resource.
- annotations Map<String>
- Annotations of the resource.
- folder
Uid String - The UID of the folder to save the resource in. For example, it's supported for dashboards and folders. To know if it's supported for the specific resource you're using check the documentation.
- url String
- The full URL of the resource.
- uuid String
- The globally unique identifier of a resource, used by the API for tracking.
- version String
- The version of the resource.
ServiceModelComponentOptions, ServiceModelComponentOptionsArgs
- Manager
Identity string - Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- Manager
Identity string - Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- manager_
identity string - Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
- overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- manager
Identity String - Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- manager
Identity string - Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
- overwrite boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- manager_
identity str - Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
- overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- manager
Identity String - Override the identity stamped on this resource's manager metadata. Defaults to "grafana-terraform-provider". Use this to distinguish resources managed by different Pulumi Stacks targeting the same Grafana instance.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
ServiceModelComponentSpec, ServiceModelComponentSpecArgs
- Title string
- Display name of the service.
- Depends
On List<Pulumiverse.Refs Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Spec Depends On Ref> - References to services this service depends on.
- Description string
- Description of the service.
- Identifiers
List<Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Spec Identifier> - Additional key/value pairs used to match resources to the service: a resource matches when it has a label or tag with the same key and value. For example, an identifier with key
namespaceand valuecheckout-prodmatches alerts, SLOs and dashboards labeled or taggednamespace=checkout-prod. Maximum of 5. AserviceNameidentifier equal tometadata.uidis implicit; add an explicitserviceNamewhen the telemetry value differs from the uid, for example because it contains characters the uid does not allow (such as uppercase letters, dots or underscores); the explicit value is matched in addition to the uid. - Links
List<Pulumiverse.
Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Spec Link> - Links attached to the service (documentation, repository, etc.).
- Owner
Ref Pulumiverse.Grafana. Cloud. V1Alpha1. Inputs. Service Model Component Spec Owner Ref - Reference to the team owning the service. Set
nameto the Grafana team UID;apiVersionandkinddefault to a Grafana IAM team reference. - Type string
- Component type. Defaults to
service, the only type currently displayed by Service Center.
- Title string
- Display name of the service.
- Depends
On []ServiceRefs Model Component Spec Depends On Ref - References to services this service depends on.
- Description string
- Description of the service.
- Identifiers
[]Service
Model Component Spec Identifier - Additional key/value pairs used to match resources to the service: a resource matches when it has a label or tag with the same key and value. For example, an identifier with key
namespaceand valuecheckout-prodmatches alerts, SLOs and dashboards labeled or taggednamespace=checkout-prod. Maximum of 5. AserviceNameidentifier equal tometadata.uidis implicit; add an explicitserviceNamewhen the telemetry value differs from the uid, for example because it contains characters the uid does not allow (such as uppercase letters, dots or underscores); the explicit value is matched in addition to the uid. - Links
[]Service
Model Component Spec Link - Links attached to the service (documentation, repository, etc.).
- Owner
Ref ServiceModel Component Spec Owner Ref - Reference to the team owning the service. Set
nameto the Grafana team UID;apiVersionandkinddefault to a Grafana IAM team reference. - Type string
- Component type. Defaults to
service, the only type currently displayed by Service Center.
- title string
- Display name of the service.
- depends_
on_ list(object)refs - References to services this service depends on.
- description string
- Description of the service.
- identifiers list(object)
- Additional key/value pairs used to match resources to the service: a resource matches when it has a label or tag with the same key and value. For example, an identifier with key
namespaceand valuecheckout-prodmatches alerts, SLOs and dashboards labeled or taggednamespace=checkout-prod. Maximum of 5. AserviceNameidentifier equal tometadata.uidis implicit; add an explicitserviceNamewhen the telemetry value differs from the uid, for example because it contains characters the uid does not allow (such as uppercase letters, dots or underscores); the explicit value is matched in addition to the uid. - links list(object)
- Links attached to the service (documentation, repository, etc.).
- owner_
ref object - Reference to the team owning the service. Set
nameto the Grafana team UID;apiVersionandkinddefault to a Grafana IAM team reference. - type string
- Component type. Defaults to
service, the only type currently displayed by Service Center.
- title String
- Display name of the service.
- depends
On List<ServiceRefs Model Component Spec Depends On Ref> - References to services this service depends on.
- description String
- Description of the service.
- identifiers
List<Service
Model Component Spec Identifier> - Additional key/value pairs used to match resources to the service: a resource matches when it has a label or tag with the same key and value. For example, an identifier with key
namespaceand valuecheckout-prodmatches alerts, SLOs and dashboards labeled or taggednamespace=checkout-prod. Maximum of 5. AserviceNameidentifier equal tometadata.uidis implicit; add an explicitserviceNamewhen the telemetry value differs from the uid, for example because it contains characters the uid does not allow (such as uppercase letters, dots or underscores); the explicit value is matched in addition to the uid. - links
List<Service
Model Component Spec Link> - Links attached to the service (documentation, repository, etc.).
- owner
Ref ServiceModel Component Spec Owner Ref - Reference to the team owning the service. Set
nameto the Grafana team UID;apiVersionandkinddefault to a Grafana IAM team reference. - type String
- Component type. Defaults to
service, the only type currently displayed by Service Center.
- title string
- Display name of the service.
- depends
On ServiceRefs Model Component Spec Depends On Ref[] - References to services this service depends on.
- description string
- Description of the service.
- identifiers
Service
Model Component Spec Identifier[] - Additional key/value pairs used to match resources to the service: a resource matches when it has a label or tag with the same key and value. For example, an identifier with key
namespaceand valuecheckout-prodmatches alerts, SLOs and dashboards labeled or taggednamespace=checkout-prod. Maximum of 5. AserviceNameidentifier equal tometadata.uidis implicit; add an explicitserviceNamewhen the telemetry value differs from the uid, for example because it contains characters the uid does not allow (such as uppercase letters, dots or underscores); the explicit value is matched in addition to the uid. - links
Service
Model Component Spec Link[] - Links attached to the service (documentation, repository, etc.).
- owner
Ref ServiceModel Component Spec Owner Ref - Reference to the team owning the service. Set
nameto the Grafana team UID;apiVersionandkinddefault to a Grafana IAM team reference. - type string
- Component type. Defaults to
service, the only type currently displayed by Service Center.
- title str
- Display name of the service.
- depends_
on_ Sequence[Servicerefs Model Component Spec Depends On Ref] - References to services this service depends on.
- description str
- Description of the service.
- identifiers
Sequence[Service
Model Component Spec Identifier] - Additional key/value pairs used to match resources to the service: a resource matches when it has a label or tag with the same key and value. For example, an identifier with key
namespaceand valuecheckout-prodmatches alerts, SLOs and dashboards labeled or taggednamespace=checkout-prod. Maximum of 5. AserviceNameidentifier equal tometadata.uidis implicit; add an explicitserviceNamewhen the telemetry value differs from the uid, for example because it contains characters the uid does not allow (such as uppercase letters, dots or underscores); the explicit value is matched in addition to the uid. - links
Sequence[Service
Model Component Spec Link] - Links attached to the service (documentation, repository, etc.).
- owner_
ref ServiceModel Component Spec Owner Ref - Reference to the team owning the service. Set
nameto the Grafana team UID;apiVersionandkinddefault to a Grafana IAM team reference. - type str
- Component type. Defaults to
service, the only type currently displayed by Service Center.
- title String
- Display name of the service.
- depends
On List<Property Map>Refs - References to services this service depends on.
- description String
- Description of the service.
- identifiers List<Property Map>
- Additional key/value pairs used to match resources to the service: a resource matches when it has a label or tag with the same key and value. For example, an identifier with key
namespaceand valuecheckout-prodmatches alerts, SLOs and dashboards labeled or taggednamespace=checkout-prod. Maximum of 5. AserviceNameidentifier equal tometadata.uidis implicit; add an explicitserviceNamewhen the telemetry value differs from the uid, for example because it contains characters the uid does not allow (such as uppercase letters, dots or underscores); the explicit value is matched in addition to the uid. - links List<Property Map>
- Links attached to the service (documentation, repository, etc.).
- owner
Ref Property Map - Reference to the team owning the service. Set
nameto the Grafana team UID;apiVersionandkinddefault to a Grafana IAM team reference. - type String
- Component type. Defaults to
service, the only type currently displayed by Service Center.
ServiceModelComponentSpecDependsOnRef, ServiceModelComponentSpecDependsOnRefArgs
- Name string
- Name (
metadata.uid) of the component this service depends on. - Api
Version string - API version of the referenced object. Defaults to
servicemodel.ext.grafana.com/v1alpha1. - Kind string
- Kind of the referenced object. Defaults to
Component.
- Name string
- Name (
metadata.uid) of the component this service depends on. - Api
Version string - API version of the referenced object. Defaults to
servicemodel.ext.grafana.com/v1alpha1. - Kind string
- Kind of the referenced object. Defaults to
Component.
- name string
- Name (
metadata.uid) of the component this service depends on. - api_
version string - API version of the referenced object. Defaults to
servicemodel.ext.grafana.com/v1alpha1. - kind string
- Kind of the referenced object. Defaults to
Component.
- name String
- Name (
metadata.uid) of the component this service depends on. - api
Version String - API version of the referenced object. Defaults to
servicemodel.ext.grafana.com/v1alpha1. - kind String
- Kind of the referenced object. Defaults to
Component.
- name string
- Name (
metadata.uid) of the component this service depends on. - api
Version string - API version of the referenced object. Defaults to
servicemodel.ext.grafana.com/v1alpha1. - kind string
- Kind of the referenced object. Defaults to
Component.
- name str
- Name (
metadata.uid) of the component this service depends on. - api_
version str - API version of the referenced object. Defaults to
servicemodel.ext.grafana.com/v1alpha1. - kind str
- Kind of the referenced object. Defaults to
Component.
- name String
- Name (
metadata.uid) of the component this service depends on. - api
Version String - API version of the referenced object. Defaults to
servicemodel.ext.grafana.com/v1alpha1. - kind String
- Kind of the referenced object. Defaults to
Component.
ServiceModelComponentSpecIdentifier, ServiceModelComponentSpecIdentifierArgs
ServiceModelComponentSpecLink, ServiceModelComponentSpecLinkArgs
ServiceModelComponentSpecOwnerRef, ServiceModelComponentSpecOwnerRefArgs
- Api
Version string - API version of the referenced object. Defaults to
iam.grafana.app/v0alpha1. - Kind string
- Kind of the referenced object. Defaults to
Team. - Name string
- Name of the referenced object. For the default team reference, this is the Grafana team UID.
- Api
Version string - API version of the referenced object. Defaults to
iam.grafana.app/v0alpha1. - Kind string
- Kind of the referenced object. Defaults to
Team. - Name string
- Name of the referenced object. For the default team reference, this is the Grafana team UID.
- api_
version string - API version of the referenced object. Defaults to
iam.grafana.app/v0alpha1. - kind string
- Kind of the referenced object. Defaults to
Team. - name string
- Name of the referenced object. For the default team reference, this is the Grafana team UID.
- api
Version String - API version of the referenced object. Defaults to
iam.grafana.app/v0alpha1. - kind String
- Kind of the referenced object. Defaults to
Team. - name String
- Name of the referenced object. For the default team reference, this is the Grafana team UID.
- api
Version string - API version of the referenced object. Defaults to
iam.grafana.app/v0alpha1. - kind string
- Kind of the referenced object. Defaults to
Team. - name string
- Name of the referenced object. For the default team reference, this is the Grafana team UID.
- api_
version str - API version of the referenced object. Defaults to
iam.grafana.app/v0alpha1. - kind str
- Kind of the referenced object. Defaults to
Team. - name str
- Name of the referenced object. For the default team reference, this is the Grafana team UID.
- api
Version String - API version of the referenced object. Defaults to
iam.grafana.app/v0alpha1. - kind String
- Kind of the referenced object. Defaults to
Team. - name String
- Name of the referenced object. For the default team reference, this is the Grafana team UID.
Import
!/bin/bash Import an existing Service Center component by its UID (the Kubernetes object name).
$ pulumi import grafana:cloud/v1alpha1/serviceModelComponent:ServiceModelComponent checkout checkout-service
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 Friday, Aug 7, 2026 by pulumiverse