Grafana

v0.0.3 published on Sunday, Sep 18, 2022 by lbrlabs

getCloudStack

Data source for Grafana Stack

Using getCloudStack

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCloudStack(args: GetCloudStackArgs, opts?: InvokeOptions): Promise<GetCloudStackResult>
function getCloudStackOutput(args: GetCloudStackOutputArgs, opts?: InvokeOptions): Output<GetCloudStackResult>
def get_cloud_stack(slug: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCloudStackResult
def get_cloud_stack_output(slug: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetCloudStackResult]
func LookupCloudStack(ctx *Context, args *LookupCloudStackArgs, opts ...InvokeOption) (*LookupCloudStackResult, error)
func LookupCloudStackOutput(ctx *Context, args *LookupCloudStackOutputArgs, opts ...InvokeOption) LookupCloudStackResultOutput

> Note: This function is named LookupCloudStack in the Go SDK.

public static class GetCloudStack 
{
    public static Task<GetCloudStackResult> InvokeAsync(GetCloudStackArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudStackResult> Invoke(GetCloudStackInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudStackResult> getCloudStack(GetCloudStackArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: grafana:index/getCloudStack:getCloudStack
  Arguments:
    # Arguments dictionary

The following arguments are supported:

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".

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".

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".

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".

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".

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".

getCloudStack Result

The following output properties are available:

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
Id string

The stack id assigned to this stack by Grafana.

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

The region this stack is deployed to.

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

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
Id string

The stack id assigned to this stack by Grafana.

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

The region this stack is deployed to.

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

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
id String

The stack id assigned to this stack by Grafana.

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

The region this stack is deployed to.

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

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
id string

The stack id assigned to this stack by Grafana.

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

The region this stack is deployed to.

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

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
id str

The stack id assigned to this stack by Grafana.

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

The region this stack is deployed to.

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

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
id String

The stack id assigned to this stack by Grafana.

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

The region this stack is deployed to.

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

Package Details

Repository
https://github.com/lbrlabs/pulumi-grafana
License
Apache-2.0
Notes

This Pulumi package is based on the grafana Terraform Provider.