grafana logo
Grafana v0.0.10, May 21 23

grafana.CloudStack

Explore with Pulumi AI

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Lbrlabs.PulumiPackage.Grafana;

return await Deployment.RunAsync(() => 
{
    var test = new Grafana.CloudStack("test", new()
    {
        Description = "Test Grafana Cloud Stack",
        RegionSlug = "eu",
        Slug = "gcloudstacktest",
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-grafana/sdk/go/grafana"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := grafana.NewCloudStack(ctx, "test", &grafana.CloudStackArgs{
			Description: pulumi.String("Test Grafana Cloud Stack"),
			RegionSlug:  pulumi.String("eu"),
			Slug:        pulumi.String("gcloudstacktest"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.CloudStack;
import com.pulumi.grafana.CloudStackArgs;
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 test = new CloudStack("test", CloudStackArgs.builder()        
            .description("Test Grafana Cloud Stack")
            .regionSlug("eu")
            .slug("gcloudstacktest")
            .build());

    }
}
import pulumi
import lbrlabs_pulumi_grafana as grafana

test = grafana.CloudStack("test",
    description="Test Grafana Cloud Stack",
    region_slug="eu",
    slug="gcloudstacktest")
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@lbrlabs/pulumi-grafana";

const test = new grafana.CloudStack("test", {
    description: "Test Grafana Cloud Stack",
    regionSlug: "eu",
    slug: "gcloudstacktest",
});
resources:
  test:
    type: grafana:CloudStack
    properties:
      description: Test Grafana Cloud Stack
      regionSlug: eu
      slug: gcloudstacktest

Create CloudStack Resource

new CloudStack(name: string, args: CloudStackArgs, opts?: CustomResourceOptions);
@overload
def CloudStack(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               description: Optional[str] = None,
               name: Optional[str] = None,
               region_slug: Optional[str] = None,
               slug: Optional[str] = None,
               url: Optional[str] = None,
               wait_for_readiness: Optional[bool] = None,
               wait_for_readiness_timeout: Optional[str] = None)
@overload
def CloudStack(resource_name: str,
               args: CloudStackArgs,
               opts: Optional[ResourceOptions] = None)
func NewCloudStack(ctx *Context, name string, args CloudStackArgs, opts ...ResourceOption) (*CloudStack, error)
public CloudStack(string name, CloudStackArgs args, CustomResourceOptions? opts = null)
public CloudStack(String name, CloudStackArgs args)
public CloudStack(String name, CloudStackArgs args, CustomResourceOptions options)
type: grafana:CloudStack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CloudStackArgs
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 CloudStackArgs
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 CloudStackArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudStackArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CloudStackArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CloudStack Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CloudStack resource accepts the following input properties:

Slug string

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

Description string

Description of stack.

Name string

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

RegionSlug string

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

Url string

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

WaitForReadiness bool

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

WaitForReadinessTimeout string

How long to wait for readiness (if enabled). Defaults to 5m0s.

Slug string

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

Description string

Description of stack.

Name string

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

RegionSlug string

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

Url string

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

WaitForReadiness bool

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

WaitForReadinessTimeout string

How long to wait for readiness (if enabled). Defaults to 5m0s.

slug String

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

description String

Description of stack.

name String

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

regionSlug String

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

url String

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

waitForReadiness Boolean

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

waitForReadinessTimeout String

How long to wait for readiness (if enabled). Defaults to 5m0s.

slug string

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

description string

Description of stack.

name string

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

regionSlug string

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

url string

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

waitForReadiness boolean

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

waitForReadinessTimeout string

How long to wait for readiness (if enabled). Defaults to 5m0s.

slug str

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

description str

Description of stack.

name str

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

region_slug str

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

url str

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

wait_for_readiness bool

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

wait_for_readiness_timeout str

How long to wait for readiness (if enabled). Defaults to 5m0s.

slug String

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

description String

Description of stack.

name String

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

regionSlug String

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

url String

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

waitForReadiness Boolean

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

waitForReadinessTimeout String

How long to wait for readiness (if enabled). Defaults to 5m0s.

Outputs

All input properties are implicitly available as output properties. Additionally, the CloudStack resource produces the following output properties:

AlertmanagerName string

Name of the Alertmanager instance configured for this stack.

AlertmanagerStatus string

Status of the Alertmanager instance configured for this stack.

AlertmanagerUrl string

Base URL of the Alertmanager instance configured for this stack.

AlertmanagerUserId int

User ID of the Alertmanager instance configured for this stack.

GraphiteName string
GraphiteStatus string
GraphiteUrl string
GraphiteUserId int
Id string

The provider-assigned unique ID for this managed resource.

LogsName string
LogsStatus string
LogsUrl string
LogsUserId int
OrgId int

Organization id to assign to this stack.

OrgName string

Organization name to assign to this stack.

OrgSlug string

Organization slug to assign to this stack.

PrometheusName string

Prometheus name for this instance.

PrometheusRemoteEndpoint string

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

PrometheusRemoteWriteEndpoint string

Use this URL to send prometheus metrics to Grafana cloud

PrometheusStatus string

Prometheus status for this instance.

PrometheusUrl string

Prometheus url for this instance.

PrometheusUserId int

Prometheus user ID. Used for e.g. remote_write.

Status string

Status of the stack.

TracesName string
TracesStatus string
TracesUrl string
TracesUserId int
AlertmanagerName string

Name of the Alertmanager instance configured for this stack.

AlertmanagerStatus string

Status of the Alertmanager instance configured for this stack.

AlertmanagerUrl string

Base URL of the Alertmanager instance configured for this stack.

AlertmanagerUserId int

User ID of the Alertmanager instance configured for this stack.

GraphiteName string
GraphiteStatus string
GraphiteUrl string
GraphiteUserId int
Id string

The provider-assigned unique ID for this managed resource.

LogsName string
LogsStatus string
LogsUrl string
LogsUserId int
OrgId int

Organization id to assign to this stack.

OrgName string

Organization name to assign to this stack.

OrgSlug string

Organization slug to assign to this stack.

PrometheusName string

Prometheus name for this instance.

PrometheusRemoteEndpoint string

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

PrometheusRemoteWriteEndpoint string

Use this URL to send prometheus metrics to Grafana cloud

PrometheusStatus string

Prometheus status for this instance.

PrometheusUrl string

Prometheus url for this instance.

PrometheusUserId int

Prometheus user ID. Used for e.g. remote_write.

Status string

Status of the stack.

TracesName string
TracesStatus string
TracesUrl string
TracesUserId int
alertmanagerName String

Name of the Alertmanager instance configured for this stack.

alertmanagerStatus String

Status of the Alertmanager instance configured for this stack.

alertmanagerUrl String

Base URL of the Alertmanager instance configured for this stack.

alertmanagerUserId Integer

User ID of the Alertmanager instance configured for this stack.

graphiteName String
graphiteStatus String
graphiteUrl String
graphiteUserId Integer
id String

The provider-assigned unique ID for this managed resource.

logsName String
logsStatus String
logsUrl String
logsUserId Integer
orgId Integer

Organization id to assign to this stack.

orgName String

Organization name to assign to this stack.

orgSlug String

Organization slug to assign to this stack.

prometheusName String

Prometheus name for this instance.

prometheusRemoteEndpoint String

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheusRemoteWriteEndpoint String

Use this URL to send prometheus metrics to Grafana cloud

prometheusStatus String

Prometheus status for this instance.

prometheusUrl String

Prometheus url for this instance.

prometheusUserId Integer

Prometheus user ID. Used for e.g. remote_write.

status String

Status of the stack.

tracesName String
tracesStatus String
tracesUrl String
tracesUserId Integer
alertmanagerName string

Name of the Alertmanager instance configured for this stack.

alertmanagerStatus string

Status of the Alertmanager instance configured for this stack.

alertmanagerUrl string

Base URL of the Alertmanager instance configured for this stack.

alertmanagerUserId number

User ID of the Alertmanager instance configured for this stack.

graphiteName string
graphiteStatus string
graphiteUrl string
graphiteUserId number
id string

The provider-assigned unique ID for this managed resource.

logsName string
logsStatus string
logsUrl string
logsUserId number
orgId number

Organization id to assign to this stack.

orgName string

Organization name to assign to this stack.

orgSlug string

Organization slug to assign to this stack.

prometheusName string

Prometheus name for this instance.

prometheusRemoteEndpoint string

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheusRemoteWriteEndpoint string

Use this URL to send prometheus metrics to Grafana cloud

prometheusStatus string

Prometheus status for this instance.

prometheusUrl string

Prometheus url for this instance.

prometheusUserId number

Prometheus user ID. Used for e.g. remote_write.

status string

Status of the stack.

tracesName string
tracesStatus string
tracesUrl string
tracesUserId number
alertmanager_name str

Name of the Alertmanager instance configured for this stack.

alertmanager_status str

Status of the Alertmanager instance configured for this stack.

alertmanager_url str

Base URL of the Alertmanager instance configured for this stack.

alertmanager_user_id int

User ID of the Alertmanager instance configured for this stack.

graphite_name str
graphite_status str
graphite_url str
graphite_user_id int
id str

The provider-assigned unique ID for this managed resource.

logs_name str
logs_status str
logs_url str
logs_user_id int
org_id int

Organization id to assign to this stack.

org_name str

Organization name to assign to this stack.

org_slug str

Organization slug to assign to this stack.

prometheus_name str

Prometheus name for this instance.

prometheus_remote_endpoint str

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheus_remote_write_endpoint str

Use this URL to send prometheus metrics to Grafana cloud

prometheus_status str

Prometheus status for this instance.

prometheus_url str

Prometheus url for this instance.

prometheus_user_id int

Prometheus user ID. Used for e.g. remote_write.

status str

Status of the stack.

traces_name str
traces_status str
traces_url str
traces_user_id int
alertmanagerName String

Name of the Alertmanager instance configured for this stack.

alertmanagerStatus String

Status of the Alertmanager instance configured for this stack.

alertmanagerUrl String

Base URL of the Alertmanager instance configured for this stack.

alertmanagerUserId Number

User ID of the Alertmanager instance configured for this stack.

graphiteName String
graphiteStatus String
graphiteUrl String
graphiteUserId Number
id String

The provider-assigned unique ID for this managed resource.

logsName String
logsStatus String
logsUrl String
logsUserId Number
orgId Number

Organization id to assign to this stack.

orgName String

Organization name to assign to this stack.

orgSlug String

Organization slug to assign to this stack.

prometheusName String

Prometheus name for this instance.

prometheusRemoteEndpoint String

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheusRemoteWriteEndpoint String

Use this URL to send prometheus metrics to Grafana cloud

prometheusStatus String

Prometheus status for this instance.

prometheusUrl String

Prometheus url for this instance.

prometheusUserId Number

Prometheus user ID. Used for e.g. remote_write.

status String

Status of the stack.

tracesName String
tracesStatus String
tracesUrl String
tracesUserId Number

Look up Existing CloudStack Resource

Get an existing CloudStack 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?: CloudStackState, opts?: CustomResourceOptions): CloudStack
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        alertmanager_name: Optional[str] = None,
        alertmanager_status: Optional[str] = None,
        alertmanager_url: Optional[str] = None,
        alertmanager_user_id: Optional[int] = None,
        description: Optional[str] = None,
        graphite_name: Optional[str] = None,
        graphite_status: Optional[str] = None,
        graphite_url: Optional[str] = None,
        graphite_user_id: Optional[int] = None,
        logs_name: Optional[str] = None,
        logs_status: Optional[str] = None,
        logs_url: Optional[str] = None,
        logs_user_id: Optional[int] = None,
        name: Optional[str] = None,
        org_id: Optional[int] = None,
        org_name: Optional[str] = None,
        org_slug: Optional[str] = None,
        prometheus_name: Optional[str] = None,
        prometheus_remote_endpoint: Optional[str] = None,
        prometheus_remote_write_endpoint: Optional[str] = None,
        prometheus_status: Optional[str] = None,
        prometheus_url: Optional[str] = None,
        prometheus_user_id: Optional[int] = None,
        region_slug: Optional[str] = None,
        slug: Optional[str] = None,
        status: Optional[str] = None,
        traces_name: Optional[str] = None,
        traces_status: Optional[str] = None,
        traces_url: Optional[str] = None,
        traces_user_id: Optional[int] = None,
        url: Optional[str] = None,
        wait_for_readiness: Optional[bool] = None,
        wait_for_readiness_timeout: Optional[str] = None) -> CloudStack
func GetCloudStack(ctx *Context, name string, id IDInput, state *CloudStackState, opts ...ResourceOption) (*CloudStack, error)
public static CloudStack Get(string name, Input<string> id, CloudStackState? state, CustomResourceOptions? opts = null)
public static CloudStack get(String name, Output<String> id, CloudStackState 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.
The following state arguments are supported:
AlertmanagerName string

Name of the Alertmanager instance configured for this stack.

AlertmanagerStatus string

Status of the Alertmanager instance configured for this stack.

AlertmanagerUrl string

Base URL of the Alertmanager instance configured for this stack.

AlertmanagerUserId int

User ID of the Alertmanager instance configured for this stack.

Description string

Description of stack.

GraphiteName string
GraphiteStatus string
GraphiteUrl string
GraphiteUserId int
LogsName string
LogsStatus string
LogsUrl string
LogsUserId int
Name string

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

OrgId int

Organization id to assign to this stack.

OrgName string

Organization name to assign to this stack.

OrgSlug string

Organization slug to assign to this stack.

PrometheusName string

Prometheus name for this instance.

PrometheusRemoteEndpoint string

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

PrometheusRemoteWriteEndpoint string

Use this URL to send prometheus metrics to Grafana cloud

PrometheusStatus string

Prometheus status for this instance.

PrometheusUrl string

Prometheus url for this instance.

PrometheusUserId int

Prometheus user ID. Used for e.g. remote_write.

RegionSlug string

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

Slug string

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

Status string

Status of the stack.

TracesName string
TracesStatus string
TracesUrl string
TracesUserId int
Url string

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

WaitForReadiness bool

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

WaitForReadinessTimeout string

How long to wait for readiness (if enabled). Defaults to 5m0s.

AlertmanagerName string

Name of the Alertmanager instance configured for this stack.

AlertmanagerStatus string

Status of the Alertmanager instance configured for this stack.

AlertmanagerUrl string

Base URL of the Alertmanager instance configured for this stack.

AlertmanagerUserId int

User ID of the Alertmanager instance configured for this stack.

Description string

Description of stack.

GraphiteName string
GraphiteStatus string
GraphiteUrl string
GraphiteUserId int
LogsName string
LogsStatus string
LogsUrl string
LogsUserId int
Name string

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

OrgId int

Organization id to assign to this stack.

OrgName string

Organization name to assign to this stack.

OrgSlug string

Organization slug to assign to this stack.

PrometheusName string

Prometheus name for this instance.

PrometheusRemoteEndpoint string

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

PrometheusRemoteWriteEndpoint string

Use this URL to send prometheus metrics to Grafana cloud

PrometheusStatus string

Prometheus status for this instance.

PrometheusUrl string

Prometheus url for this instance.

PrometheusUserId int

Prometheus user ID. Used for e.g. remote_write.

RegionSlug string

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

Slug string

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

Status string

Status of the stack.

TracesName string
TracesStatus string
TracesUrl string
TracesUserId int
Url string

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

WaitForReadiness bool

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

WaitForReadinessTimeout string

How long to wait for readiness (if enabled). Defaults to 5m0s.

alertmanagerName String

Name of the Alertmanager instance configured for this stack.

alertmanagerStatus String

Status of the Alertmanager instance configured for this stack.

alertmanagerUrl String

Base URL of the Alertmanager instance configured for this stack.

alertmanagerUserId Integer

User ID of the Alertmanager instance configured for this stack.

description String

Description of stack.

graphiteName String
graphiteStatus String
graphiteUrl String
graphiteUserId Integer
logsName String
logsStatus String
logsUrl String
logsUserId Integer
name String

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

orgId Integer

Organization id to assign to this stack.

orgName String

Organization name to assign to this stack.

orgSlug String

Organization slug to assign to this stack.

prometheusName String

Prometheus name for this instance.

prometheusRemoteEndpoint String

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheusRemoteWriteEndpoint String

Use this URL to send prometheus metrics to Grafana cloud

prometheusStatus String

Prometheus status for this instance.

prometheusUrl String

Prometheus url for this instance.

prometheusUserId Integer

Prometheus user ID. Used for e.g. remote_write.

regionSlug String

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

slug String

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

status String

Status of the stack.

tracesName String
tracesStatus String
tracesUrl String
tracesUserId Integer
url String

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

waitForReadiness Boolean

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

waitForReadinessTimeout String

How long to wait for readiness (if enabled). Defaults to 5m0s.

alertmanagerName string

Name of the Alertmanager instance configured for this stack.

alertmanagerStatus string

Status of the Alertmanager instance configured for this stack.

alertmanagerUrl string

Base URL of the Alertmanager instance configured for this stack.

alertmanagerUserId number

User ID of the Alertmanager instance configured for this stack.

description string

Description of stack.

graphiteName string
graphiteStatus string
graphiteUrl string
graphiteUserId number
logsName string
logsStatus string
logsUrl string
logsUserId number
name string

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

orgId number

Organization id to assign to this stack.

orgName string

Organization name to assign to this stack.

orgSlug string

Organization slug to assign to this stack.

prometheusName string

Prometheus name for this instance.

prometheusRemoteEndpoint string

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheusRemoteWriteEndpoint string

Use this URL to send prometheus metrics to Grafana cloud

prometheusStatus string

Prometheus status for this instance.

prometheusUrl string

Prometheus url for this instance.

prometheusUserId number

Prometheus user ID. Used for e.g. remote_write.

regionSlug string

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

slug string

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

status string

Status of the stack.

tracesName string
tracesStatus string
tracesUrl string
tracesUserId number
url string

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

waitForReadiness boolean

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

waitForReadinessTimeout string

How long to wait for readiness (if enabled). Defaults to 5m0s.

alertmanager_name str

Name of the Alertmanager instance configured for this stack.

alertmanager_status str

Status of the Alertmanager instance configured for this stack.

alertmanager_url str

Base URL of the Alertmanager instance configured for this stack.

alertmanager_user_id int

User ID of the Alertmanager instance configured for this stack.

description str

Description of stack.

graphite_name str
graphite_status str
graphite_url str
graphite_user_id int
logs_name str
logs_status str
logs_url str
logs_user_id int
name str

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

org_id int

Organization id to assign to this stack.

org_name str

Organization name to assign to this stack.

org_slug str

Organization slug to assign to this stack.

prometheus_name str

Prometheus name for this instance.

prometheus_remote_endpoint str

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheus_remote_write_endpoint str

Use this URL to send prometheus metrics to Grafana cloud

prometheus_status str

Prometheus status for this instance.

prometheus_url str

Prometheus url for this instance.

prometheus_user_id int

Prometheus user ID. Used for e.g. remote_write.

region_slug str

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

slug str

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

status str

Status of the stack.

traces_name str
traces_status str
traces_url str
traces_user_id int
url str

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

wait_for_readiness bool

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

wait_for_readiness_timeout str

How long to wait for readiness (if enabled). Defaults to 5m0s.

alertmanagerName String

Name of the Alertmanager instance configured for this stack.

alertmanagerStatus String

Status of the Alertmanager instance configured for this stack.

alertmanagerUrl String

Base URL of the Alertmanager instance configured for this stack.

alertmanagerUserId Number

User ID of the Alertmanager instance configured for this stack.

description String

Description of stack.

graphiteName String
graphiteStatus String
graphiteUrl String
graphiteUserId Number
logsName String
logsStatus String
logsUrl String
logsUserId Number
name String

Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).

orgId Number

Organization id to assign to this stack.

orgName String

Organization name to assign to this stack.

orgSlug String

Organization slug to assign to this stack.

prometheusName String

Prometheus name for this instance.

prometheusRemoteEndpoint String

Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana

prometheusRemoteWriteEndpoint String

Use this URL to send prometheus metrics to Grafana cloud

prometheusStatus String

Prometheus status for this instance.

prometheusUrl String

Prometheus url for this instance.

prometheusUserId Number

Prometheus user ID. Used for e.g. remote_write.

regionSlug String

Region slug to assign to this stack. Changing region will destroy the existing stack and create a new one in the desired region. Use the region list API to get the list of available regions: https://grafana.com/docs/grafana-cloud/reference/cloud-api/#list-regions.

slug String

Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance available at “https://\n\n.grafana.net".

status String

Status of the stack.

tracesName String
tracesStatus String
tracesUrl String
tracesUserId Number
url String

Custom URL for the Grafana instance. Must have a CNAME setup to point to .grafana.net before creating the stack

waitForReadiness Boolean

Whether to wait for readiness of the stack after creating it. The check is a HEAD request to the stack URL (Grafana instance). Defaults to true.

waitForReadinessTimeout String

How long to wait for readiness (if enabled). Defaults to 5m0s.

Import

 $ pulumi import grafana:index/cloudStack:CloudStack stack_name {{stack_id}} // import by numerical ID
 $ pulumi import grafana:index/cloudStack:CloudStack stack_name {{stack_slug}} // or import by slug

Package Details

Repository
grafana lbrlabs/pulumi-grafana
License
Apache-2.0
Notes

This Pulumi package is based on the grafana Terraform Provider.