grafana.syntheticMonitoring.Installation
Explore with Pulumi AI
Sets up Synthetic Monitoring on a Grafana cloud stack and generates a token. Once a Grafana Cloud stack is created, a user can either use this resource or go into the UI to install synthetic monitoring. This resource cannot be imported but it can be used on an existing Synthetic Monitoring installation without issues.
Note that this resource must be used on a provider configured with Grafana Cloud credentials.
Required access policy scopes:
- stacks:read
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const config = new pulumi.Config();
// Cloud Access Policy token for Grafana Cloud with the following scopes: accesspolicies:read|write|delete, stacks:read|write|delete
const cloudAccessPolicyToken = config.requireObject("cloudAccessPolicyToken");
const stackSlug = config.requireObject("stackSlug");
const cloudRegion = config.get("cloudRegion") || "us";
const smStack = new grafana.cloud.Stack("sm_stack", {
name: stackSlug,
slug: stackSlug,
regionSlug: cloudRegion,
});
// Step 2: Install Synthetic Monitoring on the stack
const smMetricsPublish = new grafana.cloud.AccessPolicy("sm_metrics_publish", {
region: cloudRegion,
name: "metric-publisher-for-sm",
scopes: [
"metrics:write",
"stacks:read",
"logs:write",
"traces:write",
],
realms: [{
type: "stack",
identifier: smStack.id,
}],
});
const smMetricsPublishAccessPolicyToken = new grafana.cloud.AccessPolicyToken("sm_metrics_publish", {
region: cloudRegion,
accessPolicyId: smMetricsPublish.policyId,
name: "metric-publisher-for-sm",
});
const smStackInstallation = new grafana.syntheticmonitoring.Installation("sm_stack", {
stackId: smStack.id,
metricsPublisherKey: smMetricsPublishAccessPolicyToken.token,
});
const main = grafana.syntheticMonitoring.getProbes({});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
config = pulumi.Config()
# Cloud Access Policy token for Grafana Cloud with the following scopes: accesspolicies:read|write|delete, stacks:read|write|delete
cloud_access_policy_token = config.require_object("cloudAccessPolicyToken")
stack_slug = config.require_object("stackSlug")
cloud_region = config.get("cloudRegion")
if cloud_region is None:
cloud_region = "us"
sm_stack = grafana.cloud.Stack("sm_stack",
name=stack_slug,
slug=stack_slug,
region_slug=cloud_region)
# Step 2: Install Synthetic Monitoring on the stack
sm_metrics_publish = grafana.cloud.AccessPolicy("sm_metrics_publish",
region=cloud_region,
name="metric-publisher-for-sm",
scopes=[
"metrics:write",
"stacks:read",
"logs:write",
"traces:write",
],
realms=[{
"type": "stack",
"identifier": sm_stack.id,
}])
sm_metrics_publish_access_policy_token = grafana.cloud.AccessPolicyToken("sm_metrics_publish",
region=cloud_region,
access_policy_id=sm_metrics_publish.policy_id,
name="metric-publisher-for-sm")
sm_stack_installation = grafana.synthetic_monitoring.Installation("sm_stack",
stack_id=sm_stack.id,
metrics_publisher_key=sm_metrics_publish_access_policy_token.token)
main = grafana.syntheticMonitoring.get_probes()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/cloud"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
// Cloud Access Policy token for Grafana Cloud with the following scopes: accesspolicies:read|write|delete, stacks:read|write|delete
cloudAccessPolicyToken := cfg.RequireObject("cloudAccessPolicyToken")
stackSlug := cfg.RequireObject("stackSlug")
cloudRegion := "us"
if param := cfg.Get("cloudRegion"); param != "" {
cloudRegion = param
}
smStack, err := cloud.NewStack(ctx, "sm_stack", &cloud.StackArgs{
Name: pulumi.Any(stackSlug),
Slug: pulumi.Any(stackSlug),
RegionSlug: pulumi.String(cloudRegion),
})
if err != nil {
return err
}
// Step 2: Install Synthetic Monitoring on the stack
smMetricsPublish, err := cloud.NewAccessPolicy(ctx, "sm_metrics_publish", &cloud.AccessPolicyArgs{
Region: pulumi.String(cloudRegion),
Name: pulumi.String("metric-publisher-for-sm"),
Scopes: pulumi.StringArray{
pulumi.String("metrics:write"),
pulumi.String("stacks:read"),
pulumi.String("logs:write"),
pulumi.String("traces:write"),
},
Realms: cloud.AccessPolicyRealmArray{
&cloud.AccessPolicyRealmArgs{
Type: pulumi.String("stack"),
Identifier: smStack.ID(),
},
},
})
if err != nil {
return err
}
smMetricsPublishAccessPolicyToken, err := cloud.NewAccessPolicyToken(ctx, "sm_metrics_publish", &cloud.AccessPolicyTokenArgs{
Region: pulumi.String(cloudRegion),
AccessPolicyId: smMetricsPublish.PolicyId,
Name: pulumi.String("metric-publisher-for-sm"),
})
if err != nil {
return err
}
_, err = syntheticMonitoring.NewInstallation(ctx, "sm_stack", &syntheticMonitoring.InstallationArgs{
StackId: smStack.ID(),
MetricsPublisherKey: smMetricsPublishAccessPolicyToken.Token,
})
if err != nil {
return err
}
_, err = syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var config = new Config();
// Cloud Access Policy token for Grafana Cloud with the following scopes: accesspolicies:read|write|delete, stacks:read|write|delete
var cloudAccessPolicyToken = config.RequireObject<dynamic>("cloudAccessPolicyToken");
var stackSlug = config.RequireObject<dynamic>("stackSlug");
var cloudRegion = config.Get("cloudRegion") ?? "us";
var smStack = new Grafana.Cloud.Stack("sm_stack", new()
{
Name = stackSlug,
Slug = stackSlug,
RegionSlug = cloudRegion,
});
// Step 2: Install Synthetic Monitoring on the stack
var smMetricsPublish = new Grafana.Cloud.AccessPolicy("sm_metrics_publish", new()
{
Region = cloudRegion,
Name = "metric-publisher-for-sm",
Scopes = new[]
{
"metrics:write",
"stacks:read",
"logs:write",
"traces:write",
},
Realms = new[]
{
new Grafana.Cloud.Inputs.AccessPolicyRealmArgs
{
Type = "stack",
Identifier = smStack.Id,
},
},
});
var smMetricsPublishAccessPolicyToken = new Grafana.Cloud.AccessPolicyToken("sm_metrics_publish", new()
{
Region = cloudRegion,
AccessPolicyId = smMetricsPublish.PolicyId,
Name = "metric-publisher-for-sm",
});
var smStackInstallation = new Grafana.SyntheticMonitoring.Installation("sm_stack", new()
{
StackId = smStack.Id,
MetricsPublisherKey = smMetricsPublishAccessPolicyToken.Token,
});
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.cloud.Stack;
import com.pulumi.grafana.cloud.StackArgs;
import com.pulumi.grafana.cloud.AccessPolicy;
import com.pulumi.grafana.cloud.AccessPolicyArgs;
import com.pulumi.grafana.cloud.inputs.AccessPolicyRealmArgs;
import com.pulumi.grafana.cloud.AccessPolicyToken;
import com.pulumi.grafana.cloud.AccessPolicyTokenArgs;
import com.pulumi.grafana.syntheticMonitoring.Installation;
import com.pulumi.grafana.syntheticMonitoring.InstallationArgs;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
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) {
final var config = ctx.config();
final var cloudAccessPolicyToken = config.get("cloudAccessPolicyToken");
final var stackSlug = config.get("stackSlug");
final var cloudRegion = config.get("cloudRegion").orElse("us");
var smStack = new Stack("smStack", StackArgs.builder()
.name(stackSlug)
.slug(stackSlug)
.regionSlug(cloudRegion)
.build());
// Step 2: Install Synthetic Monitoring on the stack
var smMetricsPublish = new AccessPolicy("smMetricsPublish", AccessPolicyArgs.builder()
.region(cloudRegion)
.name("metric-publisher-for-sm")
.scopes(
"metrics:write",
"stacks:read",
"logs:write",
"traces:write")
.realms(AccessPolicyRealmArgs.builder()
.type("stack")
.identifier(smStack.id())
.build())
.build());
var smMetricsPublishAccessPolicyToken = new AccessPolicyToken("smMetricsPublishAccessPolicyToken", AccessPolicyTokenArgs.builder()
.region(cloudRegion)
.accessPolicyId(smMetricsPublish.policyId())
.name("metric-publisher-for-sm")
.build());
var smStackInstallation = new Installation("smStackInstallation", InstallationArgs.builder()
.stackId(smStack.id())
.metricsPublisherKey(smMetricsPublishAccessPolicyToken.token())
.build());
final var main = SyntheticMonitoringFunctions.getProbes();
}
}
configuration:
cloudAccessPolicyToken:
type: dynamic
stackSlug:
type: dynamic
cloudRegion:
type: string
default: us
resources:
smStack:
type: grafana:cloud:Stack
name: sm_stack
properties:
name: ${stackSlug}
slug: ${stackSlug}
regionSlug: ${cloudRegion}
# Step 2: Install Synthetic Monitoring on the stack
smMetricsPublish:
type: grafana:cloud:AccessPolicy
name: sm_metrics_publish
properties:
region: ${cloudRegion}
name: metric-publisher-for-sm
scopes:
- metrics:write
- stacks:read
- logs:write
- traces:write
realms:
- type: stack
identifier: ${smStack.id}
smMetricsPublishAccessPolicyToken:
type: grafana:cloud:AccessPolicyToken
name: sm_metrics_publish
properties:
region: ${cloudRegion}
accessPolicyId: ${smMetricsPublish.policyId}
name: metric-publisher-for-sm
smStackInstallation:
type: grafana:syntheticMonitoring:Installation
name: sm_stack
properties:
stackId: ${smStack.id}
metricsPublisherKey: ${smMetricsPublishAccessPolicyToken.token}
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
Create Installation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Installation(name: string, args: InstallationArgs, opts?: CustomResourceOptions);
@overload
def Installation(resource_name: str,
args: InstallationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Installation(resource_name: str,
opts: Optional[ResourceOptions] = None,
metrics_publisher_key: Optional[str] = None,
stack_id: Optional[str] = None,
stack_sm_api_url: Optional[str] = None)
func NewInstallation(ctx *Context, name string, args InstallationArgs, opts ...ResourceOption) (*Installation, error)
public Installation(string name, InstallationArgs args, CustomResourceOptions? opts = null)
public Installation(String name, InstallationArgs args)
public Installation(String name, InstallationArgs args, CustomResourceOptions options)
type: grafana:syntheticMonitoring:Installation
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 InstallationArgs
- 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 InstallationArgs
- 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 InstallationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstallationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstallationArgs
- 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 installationResource = new Grafana.SyntheticMonitoring.Installation("installationResource", new()
{
MetricsPublisherKey = "string",
StackId = "string",
StackSmApiUrl = "string",
});
example, err := syntheticMonitoring.NewInstallation(ctx, "installationResource", &syntheticMonitoring.InstallationArgs{
MetricsPublisherKey: pulumi.String("string"),
StackId: pulumi.String("string"),
StackSmApiUrl: pulumi.String("string"),
})
var installationResource = new Installation("installationResource", InstallationArgs.builder()
.metricsPublisherKey("string")
.stackId("string")
.stackSmApiUrl("string")
.build());
installation_resource = grafana.synthetic_monitoring.Installation("installationResource",
metrics_publisher_key="string",
stack_id="string",
stack_sm_api_url="string")
const installationResource = new grafana.syntheticmonitoring.Installation("installationResource", {
metricsPublisherKey: "string",
stackId: "string",
stackSmApiUrl: "string",
});
type: grafana:syntheticMonitoring:Installation
properties:
metricsPublisherKey: string
stackId: string
stackSmApiUrl: string
Installation 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 Installation resource accepts the following input properties:
- Metrics
Publisher stringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - Stack
Id string - The ID or slug of the stack to install SM on.
- Stack
Sm stringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- Metrics
Publisher stringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - Stack
Id string - The ID or slug of the stack to install SM on.
- Stack
Sm stringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics
Publisher StringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - stack
Id String - The ID or slug of the stack to install SM on.
- stack
Sm StringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics
Publisher stringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - stack
Id string - The ID or slug of the stack to install SM on.
- stack
Sm stringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics_
publisher_ strkey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - stack_
id str - The ID or slug of the stack to install SM on.
- stack_
sm_ strapi_ url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics
Publisher StringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - stack
Id String - The ID or slug of the stack to install SM on.
- stack
Sm StringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
Outputs
All input properties are implicitly available as output properties. Additionally, the Installation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Sm
Access stringToken - Generated token to access the SM API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sm
Access stringToken - Generated token to access the SM API.
- id String
- The provider-assigned unique ID for this managed resource.
- sm
Access StringToken - Generated token to access the SM API.
- id string
- The provider-assigned unique ID for this managed resource.
- sm
Access stringToken - Generated token to access the SM API.
- id str
- The provider-assigned unique ID for this managed resource.
- sm_
access_ strtoken - Generated token to access the SM API.
- id String
- The provider-assigned unique ID for this managed resource.
- sm
Access StringToken - Generated token to access the SM API.
Look up Existing Installation Resource
Get an existing Installation 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?: InstallationState, opts?: CustomResourceOptions): Installation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
metrics_publisher_key: Optional[str] = None,
sm_access_token: Optional[str] = None,
stack_id: Optional[str] = None,
stack_sm_api_url: Optional[str] = None) -> Installation
func GetInstallation(ctx *Context, name string, id IDInput, state *InstallationState, opts ...ResourceOption) (*Installation, error)
public static Installation Get(string name, Input<string> id, InstallationState? state, CustomResourceOptions? opts = null)
public static Installation get(String name, Output<String> id, InstallationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Metrics
Publisher stringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - Sm
Access stringToken - Generated token to access the SM API.
- Stack
Id string - The ID or slug of the stack to install SM on.
- Stack
Sm stringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- Metrics
Publisher stringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - Sm
Access stringToken - Generated token to access the SM API.
- Stack
Id string - The ID or slug of the stack to install SM on.
- Stack
Sm stringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics
Publisher StringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - sm
Access StringToken - Generated token to access the SM API.
- stack
Id String - The ID or slug of the stack to install SM on.
- stack
Sm StringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics
Publisher stringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - sm
Access stringToken - Generated token to access the SM API.
- stack
Id string - The ID or slug of the stack to install SM on.
- stack
Sm stringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics_
publisher_ strkey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - sm_
access_ strtoken - Generated token to access the SM API.
- stack_
id str - The ID or slug of the stack to install SM on.
- stack_
sm_ strapi_ url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
- metrics
Publisher StringKey - The Grafana Cloud access policy with the following scopes:
stacks:read
,metrics:write
,logs:write
,traces:write
. This is used to publish metrics and logs to Grafana Cloud stack. - sm
Access StringToken - Generated token to access the SM API.
- stack
Id String - The ID or slug of the stack to install SM on.
- stack
Sm StringApi Url - The URL of the SM API to install SM on. This depends on the stack region, find the list of API URLs here: https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/#probe-api-server-url. A static mapping exists in the provider but it may not contain all the regions. If it does contain the stack's region, this field is computed automatically and readable.
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafana
Terraform Provider.