
Grafana v0.0.10, May 21 23

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”).
- Region
Slug 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- Wait
For boolReadiness 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 stringReadiness Timeout 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”).
- Region
Slug 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- Wait
For boolReadiness 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 stringReadiness Timeout 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”).
- region
Slug 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- wait
For BooleanReadiness 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 StringReadiness Timeout 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”).
- region
Slug 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- wait
For booleanReadiness 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 stringReadiness Timeout 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_ boolreadiness 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_ strreadiness_ timeout 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”).
- region
Slug 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- wait
For BooleanReadiness 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 StringReadiness Timeout 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:
- Alertmanager
Name string Name of the Alertmanager instance configured for this stack.
- Alertmanager
Status string Status of the Alertmanager instance configured for this stack.
- Alertmanager
Url string Base URL of the Alertmanager instance configured for this stack.
- Alertmanager
User intId User ID of the Alertmanager instance configured for this stack.
- Graphite
Name string - Graphite
Status string - Graphite
Url string - Graphite
User intId - Id string
The provider-assigned unique ID for this managed resource.
- Logs
Name string - Logs
Status string - Logs
Url string - Logs
User intId - Org
Id int Organization id to assign to this stack.
- Org
Name string Organization name to assign to this stack.
- Org
Slug string Organization slug to assign to this stack.
- Prometheus
Name string Prometheus name for this instance.
- Prometheus
Remote stringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- Prometheus
Remote stringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- Prometheus
Status string Prometheus status for this instance.
- Prometheus
Url string Prometheus url for this instance.
- Prometheus
User intId Prometheus user ID. Used for e.g. remote_write.
- Status string
Status of the stack.
- Traces
Name string - Traces
Status string - Traces
Url string - Traces
User intId
- Alertmanager
Name string Name of the Alertmanager instance configured for this stack.
- Alertmanager
Status string Status of the Alertmanager instance configured for this stack.
- Alertmanager
Url string Base URL of the Alertmanager instance configured for this stack.
- Alertmanager
User intId User ID of the Alertmanager instance configured for this stack.
- Graphite
Name string - Graphite
Status string - Graphite
Url string - Graphite
User intId - Id string
The provider-assigned unique ID for this managed resource.
- Logs
Name string - Logs
Status string - Logs
Url string - Logs
User intId - Org
Id int Organization id to assign to this stack.
- Org
Name string Organization name to assign to this stack.
- Org
Slug string Organization slug to assign to this stack.
- Prometheus
Name string Prometheus name for this instance.
- Prometheus
Remote stringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- Prometheus
Remote stringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- Prometheus
Status string Prometheus status for this instance.
- Prometheus
Url string Prometheus url for this instance.
- Prometheus
User intId Prometheus user ID. Used for e.g. remote_write.
- Status string
Status of the stack.
- Traces
Name string - Traces
Status string - Traces
Url string - Traces
User intId
- alertmanager
Name String Name of the Alertmanager instance configured for this stack.
- alertmanager
Status String Status of the Alertmanager instance configured for this stack.
- alertmanager
Url String Base URL of the Alertmanager instance configured for this stack.
- alertmanager
User IntegerId User ID of the Alertmanager instance configured for this stack.
- graphite
Name String - graphite
Status String - graphite
Url String - graphite
User IntegerId - id String
The provider-assigned unique ID for this managed resource.
- logs
Name String - logs
Status String - logs
Url String - logs
User IntegerId - org
Id Integer Organization id to assign to this stack.
- org
Name String Organization name to assign to this stack.
- org
Slug String Organization slug to assign to this stack.
- prometheus
Name String Prometheus name for this instance.
- prometheus
Remote StringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus
Remote StringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- prometheus
Status String Prometheus status for this instance.
- prometheus
Url String Prometheus url for this instance.
- prometheus
User IntegerId Prometheus user ID. Used for e.g. remote_write.
- status String
Status of the stack.
- traces
Name String - traces
Status String - traces
Url String - traces
User IntegerId
- alertmanager
Name string Name of the Alertmanager instance configured for this stack.
- alertmanager
Status string Status of the Alertmanager instance configured for this stack.
- alertmanager
Url string Base URL of the Alertmanager instance configured for this stack.
- alertmanager
User numberId User ID of the Alertmanager instance configured for this stack.
- graphite
Name string - graphite
Status string - graphite
Url string - graphite
User numberId - id string
The provider-assigned unique ID for this managed resource.
- logs
Name string - logs
Status string - logs
Url string - logs
User numberId - org
Id number Organization id to assign to this stack.
- org
Name string Organization name to assign to this stack.
- org
Slug string Organization slug to assign to this stack.
- prometheus
Name string Prometheus name for this instance.
- prometheus
Remote stringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus
Remote stringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- prometheus
Status string Prometheus status for this instance.
- prometheus
Url string Prometheus url for this instance.
- prometheus
User numberId Prometheus user ID. Used for e.g. remote_write.
- status string
Status of the stack.
- traces
Name string - traces
Status string - traces
Url string - traces
User numberId
- 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_ intid User ID of the Alertmanager instance configured for this stack.
- graphite_
name str - graphite_
status str - graphite_
url str - graphite_
user_ intid - id str
The provider-assigned unique ID for this managed resource.
- logs_
name str - logs_
status str - logs_
url str - logs_
user_ intid - 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_ strendpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus_
remote_ strwrite_ endpoint 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_ intid 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_ intid
- alertmanager
Name String Name of the Alertmanager instance configured for this stack.
- alertmanager
Status String Status of the Alertmanager instance configured for this stack.
- alertmanager
Url String Base URL of the Alertmanager instance configured for this stack.
- alertmanager
User NumberId User ID of the Alertmanager instance configured for this stack.
- graphite
Name String - graphite
Status String - graphite
Url String - graphite
User NumberId - id String
The provider-assigned unique ID for this managed resource.
- logs
Name String - logs
Status String - logs
Url String - logs
User NumberId - org
Id Number Organization id to assign to this stack.
- org
Name String Organization name to assign to this stack.
- org
Slug String Organization slug to assign to this stack.
- prometheus
Name String Prometheus name for this instance.
- prometheus
Remote StringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus
Remote StringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- prometheus
Status String Prometheus status for this instance.
- prometheus
Url String Prometheus url for this instance.
- prometheus
User NumberId Prometheus user ID. Used for e.g. remote_write.
- status String
Status of the stack.
- traces
Name String - traces
Status String - traces
Url String - traces
User NumberId
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.
- Alertmanager
Name string Name of the Alertmanager instance configured for this stack.
- Alertmanager
Status string Status of the Alertmanager instance configured for this stack.
- Alertmanager
Url string Base URL of the Alertmanager instance configured for this stack.
- Alertmanager
User intId User ID of the Alertmanager instance configured for this stack.
- Description string
Description of stack.
- Graphite
Name string - Graphite
Status string - Graphite
Url string - Graphite
User intId - Logs
Name string - Logs
Status string - Logs
Url string - Logs
User intId - Name string
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 string Organization name to assign to this stack.
- Org
Slug string Organization slug to assign to this stack.
- Prometheus
Name string Prometheus name for this instance.
- Prometheus
Remote stringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- Prometheus
Remote stringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- Prometheus
Status string Prometheus status for this instance.
- Prometheus
Url string Prometheus url for this instance.
- Prometheus
User intId Prometheus user ID. Used for e.g. remote_write.
- Region
Slug 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.
- Traces
Name string - Traces
Status string - Traces
Url string - Traces
User intId - Url string
Custom URL for the Grafana instance. Must have a CNAME setup to point to
.grafana.net
before creating the stack- Wait
For boolReadiness 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 stringReadiness Timeout How long to wait for readiness (if enabled). Defaults to
5m0s
.
- Alertmanager
Name string Name of the Alertmanager instance configured for this stack.
- Alertmanager
Status string Status of the Alertmanager instance configured for this stack.
- Alertmanager
Url string Base URL of the Alertmanager instance configured for this stack.
- Alertmanager
User intId User ID of the Alertmanager instance configured for this stack.
- Description string
Description of stack.
- Graphite
Name string - Graphite
Status string - Graphite
Url string - Graphite
User intId - Logs
Name string - Logs
Status string - Logs
Url string - Logs
User intId - Name string
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 string Organization name to assign to this stack.
- Org
Slug string Organization slug to assign to this stack.
- Prometheus
Name string Prometheus name for this instance.
- Prometheus
Remote stringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- Prometheus
Remote stringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- Prometheus
Status string Prometheus status for this instance.
- Prometheus
Url string Prometheus url for this instance.
- Prometheus
User intId Prometheus user ID. Used for e.g. remote_write.
- Region
Slug 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.
- Traces
Name string - Traces
Status string - Traces
Url string - Traces
User intId - Url string
Custom URL for the Grafana instance. Must have a CNAME setup to point to
.grafana.net
before creating the stack- Wait
For boolReadiness 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 stringReadiness Timeout How long to wait for readiness (if enabled). Defaults to
5m0s
.
- alertmanager
Name String Name of the Alertmanager instance configured for this stack.
- alertmanager
Status String Status of the Alertmanager instance configured for this stack.
- alertmanager
Url String Base URL of the Alertmanager instance configured for this stack.
- alertmanager
User IntegerId User ID of the Alertmanager instance configured for this stack.
- description String
Description of stack.
- graphite
Name String - graphite
Status String - graphite
Url String - graphite
User IntegerId - logs
Name String - logs
Status String - logs
Url String - logs
User IntegerId - name String
Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).
- org
Id Integer Organization id to assign to this stack.
- org
Name String Organization name to assign to this stack.
- org
Slug String Organization slug to assign to this stack.
- prometheus
Name String Prometheus name for this instance.
- prometheus
Remote StringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus
Remote StringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- prometheus
Status String Prometheus status for this instance.
- prometheus
Url String Prometheus url for this instance.
- prometheus
User IntegerId Prometheus user ID. Used for e.g. remote_write.
- region
Slug 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.
- traces
Name String - traces
Status String - traces
Url String - traces
User IntegerId - url String
Custom URL for the Grafana instance. Must have a CNAME setup to point to
.grafana.net
before creating the stack- wait
For BooleanReadiness 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 StringReadiness Timeout How long to wait for readiness (if enabled). Defaults to
5m0s
.
- alertmanager
Name string Name of the Alertmanager instance configured for this stack.
- alertmanager
Status string Status of the Alertmanager instance configured for this stack.
- alertmanager
Url string Base URL of the Alertmanager instance configured for this stack.
- alertmanager
User numberId User ID of the Alertmanager instance configured for this stack.
- description string
Description of stack.
- graphite
Name string - graphite
Status string - graphite
Url string - graphite
User numberId - logs
Name string - logs
Status string - logs
Url string - logs
User numberId - name string
Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).
- org
Id number Organization id to assign to this stack.
- org
Name string Organization name to assign to this stack.
- org
Slug string Organization slug to assign to this stack.
- prometheus
Name string Prometheus name for this instance.
- prometheus
Remote stringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus
Remote stringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- prometheus
Status string Prometheus status for this instance.
- prometheus
Url string Prometheus url for this instance.
- prometheus
User numberId Prometheus user ID. Used for e.g. remote_write.
- region
Slug 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.
- traces
Name string - traces
Status string - traces
Url string - traces
User numberId - url string
Custom URL for the Grafana instance. Must have a CNAME setup to point to
.grafana.net
before creating the stack- wait
For booleanReadiness 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 stringReadiness Timeout 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_ intid 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_ intid - logs_
name str - logs_
status str - logs_
url str - logs_
user_ intid - 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_ strendpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus_
remote_ strwrite_ endpoint 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_ intid 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_ intid - url str
Custom URL for the Grafana instance. Must have a CNAME setup to point to
.grafana.net
before creating the stack- wait_
for_ boolreadiness 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_ strreadiness_ timeout How long to wait for readiness (if enabled). Defaults to
5m0s
.
- alertmanager
Name String Name of the Alertmanager instance configured for this stack.
- alertmanager
Status String Status of the Alertmanager instance configured for this stack.
- alertmanager
Url String Base URL of the Alertmanager instance configured for this stack.
- alertmanager
User NumberId User ID of the Alertmanager instance configured for this stack.
- description String
Description of stack.
- graphite
Name String - graphite
Status String - graphite
Url String - graphite
User NumberId - logs
Name String - logs
Status String - logs
Url String - logs
User NumberId - name String
Name of stack. Conventionally matches the url of the instance (e.g. “\n\n.grafana.net”).
- org
Id Number Organization id to assign to this stack.
- org
Name String Organization name to assign to this stack.
- org
Slug String Organization slug to assign to this stack.
- prometheus
Name String Prometheus name for this instance.
- prometheus
Remote StringEndpoint Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
- prometheus
Remote StringWrite Endpoint Use this URL to send prometheus metrics to Grafana cloud
- prometheus
Status String Prometheus status for this instance.
- prometheus
Url String Prometheus url for this instance.
- prometheus
User NumberId Prometheus user ID. Used for e.g. remote_write.
- region
Slug 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.
- traces
Name String - traces
Status String - traces
Url String - traces
User NumberId - url String
Custom URL for the Grafana instance. Must have a CNAME setup to point to
.grafana.net
before creating the stack- wait
For BooleanReadiness 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 StringReadiness Timeout 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.