Aiven

Pulumi Official
Package maintained by Pulumi
v5.2.0 published on Wednesday, Jul 20, 2022 by Pulumi

getGrafana

The Grafana data source provides information about the existing Aiven Grafana service.

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var gr1 = Output.Create(Aiven.GetGrafana.InvokeAsync(new Aiven.GetGrafanaArgs
        {
            Project = data.Aiven_project.Ps1.Project,
            ServiceName = "my-gr1",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-aiven/sdk/v5/go/aiven"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aiven.LookupGrafana(ctx, &GetGrafanaArgs{
			Project:     data.Aiven_project.Ps1.Project,
			ServiceName: "my-gr1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var gr1 = Output.of(AivenFunctions.getGrafana(GetGrafanaArgs.builder()
            .project(data.aiven_project().ps1().project())
            .serviceName("my-gr1")
            .build()));

    }
}
import pulumi
import pulumi_aiven as aiven

gr1 = aiven.get_grafana(project=data["aiven_project"]["ps1"]["project"],
    service_name="my-gr1")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const gr1 = aiven.getGrafana({
    project: data.aiven_project.ps1.project,
    serviceName: "my-gr1",
});
variables:
  gr1:
    Fn::Invoke:
      Function: aiven:getGrafana
      Arguments:
        project: ${data.aiven_project.ps1.project}
        serviceName: my-gr1

Using getGrafana

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 getGrafana(args: GetGrafanaArgs, opts?: InvokeOptions): Promise<GetGrafanaResult>
function getGrafanaOutput(args: GetGrafanaOutputArgs, opts?: InvokeOptions): Output<GetGrafanaResult>
def get_grafana(project: Optional[str] = None,
                service_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetGrafanaResult
def get_grafana_output(project: Optional[pulumi.Input[str]] = None,
                service_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetGrafanaResult]
func LookupGrafana(ctx *Context, args *LookupGrafanaArgs, opts ...InvokeOption) (*LookupGrafanaResult, error)
func LookupGrafanaOutput(ctx *Context, args *LookupGrafanaOutputArgs, opts ...InvokeOption) LookupGrafanaResultOutput

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

public static class GetGrafana 
{
    public static Task<GetGrafanaResult> InvokeAsync(GetGrafanaArgs args, InvokeOptions? opts = null)
    public static Output<GetGrafanaResult> Invoke(GetGrafanaInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGrafanaResult> getGrafana(GetGrafanaArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aiven:index/getGrafana:getGrafana
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Project string
ServiceName string
Project string
ServiceName string
project String
serviceName String
project string
serviceName string
project String
serviceName String

getGrafana Result

The following output properties are available:

Supporting Types

GetGrafanaComponent

Component string
Host string
KafkaAuthenticationMethod string
Port int
Route string
Ssl bool
Usage string
Component string
Host string
KafkaAuthenticationMethod string
Port int
Route string
Ssl bool
Usage string
component String
host String
kafkaAuthenticationMethod String
port Integer
route String
ssl Boolean
usage String
component string
host string
kafkaAuthenticationMethod string
port number
route string
ssl boolean
usage string
component String
host String
kafkaAuthenticationMethod String
port Number
route String
ssl Boolean
usage String

GetGrafanaGrafanaUserConfig

AlertingEnabled string
AlertingErrorOrTimeout string
AlertingMaxAnnotationsToKeep string
AlertingNodataOrNullvalues string
AllowEmbedding string
AuthAzuread GetGrafanaGrafanaUserConfigAuthAzuread
AuthBasicEnabled string
AuthGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
AuthGithub GetGrafanaGrafanaUserConfigAuthGithub
AuthGitlab GetGrafanaGrafanaUserConfigAuthGitlab
AuthGoogle GetGrafanaGrafanaUserConfigAuthGoogle
CookieSamesite string
CustomDomain string
DashboardsMinRefreshInterval string
DashboardsVersionsToKeep string
DataproxySendUserHeader string
DataproxyTimeout string
DateFormats GetGrafanaGrafanaUserConfigDateFormats
DisableGravatar string
EditorsCanAdmin string
ExternalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
GoogleAnalyticsUaId string
IpFilters List<string>
MetricsEnabled string
PrivateAccess GetGrafanaGrafanaUserConfigPrivateAccess
PrivatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
ProjectToForkFrom string
PublicAccess GetGrafanaGrafanaUserConfigPublicAccess
RecoveryBasebackupName string
ServiceToForkFrom string
SmtpServer GetGrafanaGrafanaUserConfigSmtpServer
StaticIps string
UserAutoAssignOrg string
UserAutoAssignOrgRole string
ViewersCanEdit string
AlertingEnabled string
AlertingErrorOrTimeout string
AlertingMaxAnnotationsToKeep string
AlertingNodataOrNullvalues string
AllowEmbedding string
AuthAzuread GetGrafanaGrafanaUserConfigAuthAzuread
AuthBasicEnabled string
AuthGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
AuthGithub GetGrafanaGrafanaUserConfigAuthGithub
AuthGitlab GetGrafanaGrafanaUserConfigAuthGitlab
AuthGoogle GetGrafanaGrafanaUserConfigAuthGoogle
CookieSamesite string
CustomDomain string
DashboardsMinRefreshInterval string
DashboardsVersionsToKeep string
DataproxySendUserHeader string
DataproxyTimeout string
DateFormats GetGrafanaGrafanaUserConfigDateFormats
DisableGravatar string
EditorsCanAdmin string
ExternalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
GoogleAnalyticsUaId string
IpFilters []string
MetricsEnabled string
PrivateAccess GetGrafanaGrafanaUserConfigPrivateAccess
PrivatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
ProjectToForkFrom string
PublicAccess GetGrafanaGrafanaUserConfigPublicAccess
RecoveryBasebackupName string
ServiceToForkFrom string
SmtpServer GetGrafanaGrafanaUserConfigSmtpServer
StaticIps string
UserAutoAssignOrg string
UserAutoAssignOrgRole string
ViewersCanEdit string
alertingEnabled String
alertingErrorOrTimeout String
alertingMaxAnnotationsToKeep String
alertingNodataOrNullvalues String
allowEmbedding String
authAzuread GetGrafanaGrafanaUserConfigAuthAzuread
authBasicEnabled String
authGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
authGithub GetGrafanaGrafanaUserConfigAuthGithub
authGitlab GetGrafanaGrafanaUserConfigAuthGitlab
authGoogle GetGrafanaGrafanaUserConfigAuthGoogle
cookieSamesite String
customDomain String
dashboardsMinRefreshInterval String
dashboardsVersionsToKeep String
dataproxySendUserHeader String
dataproxyTimeout String
dateFormats GetGrafanaGrafanaUserConfigDateFormats
disableGravatar String
editorsCanAdmin String
externalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
googleAnalyticsUaId String
ipFilters List<String>
metricsEnabled String
privateAccess GetGrafanaGrafanaUserConfigPrivateAccess
privatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
projectToForkFrom String
publicAccess GetGrafanaGrafanaUserConfigPublicAccess
recoveryBasebackupName String
serviceToForkFrom String
smtpServer GetGrafanaGrafanaUserConfigSmtpServer
staticIps String
userAutoAssignOrg String
userAutoAssignOrgRole String
viewersCanEdit String
alertingEnabled string
alertingErrorOrTimeout string
alertingMaxAnnotationsToKeep string
alertingNodataOrNullvalues string
allowEmbedding string
authAzuread GetGrafanaGrafanaUserConfigAuthAzuread
authBasicEnabled string
authGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
authGithub GetGrafanaGrafanaUserConfigAuthGithub
authGitlab GetGrafanaGrafanaUserConfigAuthGitlab
authGoogle GetGrafanaGrafanaUserConfigAuthGoogle
cookieSamesite string
customDomain string
dashboardsMinRefreshInterval string
dashboardsVersionsToKeep string
dataproxySendUserHeader string
dataproxyTimeout string
dateFormats GetGrafanaGrafanaUserConfigDateFormats
disableGravatar string
editorsCanAdmin string
externalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
googleAnalyticsUaId string
ipFilters string[]
metricsEnabled string
privateAccess GetGrafanaGrafanaUserConfigPrivateAccess
privatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
projectToForkFrom string
publicAccess GetGrafanaGrafanaUserConfigPublicAccess
recoveryBasebackupName string
serviceToForkFrom string
smtpServer GetGrafanaGrafanaUserConfigSmtpServer
staticIps string
userAutoAssignOrg string
userAutoAssignOrgRole string
viewersCanEdit string
alerting_enabled str
alerting_error_or_timeout str
alerting_max_annotations_to_keep str
alerting_nodata_or_nullvalues str
allow_embedding str
auth_azuread GetGrafanaGrafanaUserConfigAuthAzuread
auth_basic_enabled str
auth_generic_oauth GetGrafanaGrafanaUserConfigAuthGenericOauth
auth_github GetGrafanaGrafanaUserConfigAuthGithub
auth_gitlab GetGrafanaGrafanaUserConfigAuthGitlab
auth_google GetGrafanaGrafanaUserConfigAuthGoogle
cookie_samesite str
custom_domain str
dashboards_min_refresh_interval str
dashboards_versions_to_keep str
dataproxy_send_user_header str
dataproxy_timeout str
date_formats GetGrafanaGrafanaUserConfigDateFormats
disable_gravatar str
editors_can_admin str
external_image_storage GetGrafanaGrafanaUserConfigExternalImageStorage
google_analytics_ua_id str
ip_filters Sequence[str]
metrics_enabled str
private_access GetGrafanaGrafanaUserConfigPrivateAccess
privatelink_access GetGrafanaGrafanaUserConfigPrivatelinkAccess
project_to_fork_from str
public_access GetGrafanaGrafanaUserConfigPublicAccess
recovery_basebackup_name str
service_to_fork_from str
smtp_server GetGrafanaGrafanaUserConfigSmtpServer
static_ips str
user_auto_assign_org str
user_auto_assign_org_role str
viewers_can_edit str
alertingEnabled String
alertingErrorOrTimeout String
alertingMaxAnnotationsToKeep String
alertingNodataOrNullvalues String
allowEmbedding String
authAzuread Property Map
authBasicEnabled String
authGenericOauth Property Map
authGithub Property Map
authGitlab Property Map
authGoogle Property Map
cookieSamesite String
customDomain String
dashboardsMinRefreshInterval String
dashboardsVersionsToKeep String
dataproxySendUserHeader String
dataproxyTimeout String
dateFormats Property Map
disableGravatar String
editorsCanAdmin String
externalImageStorage Property Map
googleAnalyticsUaId String
ipFilters List<String>
metricsEnabled String
privateAccess Property Map
privatelinkAccess Property Map
projectToForkFrom String
publicAccess Property Map
recoveryBasebackupName String
serviceToForkFrom String
smtpServer Property Map
staticIps String
userAutoAssignOrg String
userAutoAssignOrgRole String
viewersCanEdit String

GetGrafanaGrafanaUserConfigAuthAzuread

AllowSignUp string
AllowedDomains List<string>
AllowedGroups List<string>
AuthUrl string
ClientId string
ClientSecret string
TokenUrl string
AllowSignUp string
AllowedDomains []string
AllowedGroups []string
AuthUrl string
ClientId string
ClientSecret string
TokenUrl string
allowSignUp String
allowedDomains List<String>
allowedGroups List<String>
authUrl String
clientId String
clientSecret String
tokenUrl String
allowSignUp string
allowedDomains string[]
allowedGroups string[]
authUrl string
clientId string
clientSecret string
tokenUrl string
allowSignUp String
allowedDomains List<String>
allowedGroups List<String>
authUrl String
clientId String
clientSecret String
tokenUrl String

GetGrafanaGrafanaUserConfigAuthGenericOauth

AllowSignUp string
AllowedDomains List<string>
AllowedOrganizations List<string>
ApiUrl string
AuthUrl string
ClientId string
ClientSecret string
Name string
Scopes List<string>
TokenUrl string
AllowSignUp string
AllowedDomains []string
AllowedOrganizations []string
ApiUrl string
AuthUrl string
ClientId string
ClientSecret string
Name string
Scopes []string
TokenUrl string
allowSignUp String
allowedDomains List<String>
allowedOrganizations List<String>
apiUrl String
authUrl String
clientId String
clientSecret String
name String
scopes List<String>
tokenUrl String
allowSignUp string
allowedDomains string[]
allowedOrganizations string[]
apiUrl string
authUrl string
clientId string
clientSecret string
name string
scopes string[]
tokenUrl string
allow_sign_up str
allowed_domains Sequence[str]
allowed_organizations Sequence[str]
api_url str
auth_url str
client_id str
client_secret str
name str
scopes Sequence[str]
token_url str
allowSignUp String
allowedDomains List<String>
allowedOrganizations List<String>
apiUrl String
authUrl String
clientId String
clientSecret String
name String
scopes List<String>
tokenUrl String

GetGrafanaGrafanaUserConfigAuthGithub

AllowSignUp string
AllowedOrganizations List<string>
ClientId string
ClientSecret string
TeamIds List<string>
AllowSignUp string
AllowedOrganizations []string
ClientId string
ClientSecret string
TeamIds []string
allowSignUp String
allowedOrganizations List<String>
clientId String
clientSecret String
teamIds List<String>
allowSignUp string
allowedOrganizations string[]
clientId string
clientSecret string
teamIds string[]
allowSignUp String
allowedOrganizations List<String>
clientId String
clientSecret String
teamIds List<String>

GetGrafanaGrafanaUserConfigAuthGitlab

AllowSignUp string
AllowedGroups List<string>
ApiUrl string
AuthUrl string
ClientId string
ClientSecret string
TokenUrl string
AllowSignUp string
AllowedGroups []string
ApiUrl string
AuthUrl string
ClientId string
ClientSecret string
TokenUrl string
allowSignUp String
allowedGroups List<String>
apiUrl String
authUrl String
clientId String
clientSecret String
tokenUrl String
allowSignUp string
allowedGroups string[]
apiUrl string
authUrl string
clientId string
clientSecret string
tokenUrl string
allowSignUp String
allowedGroups List<String>
apiUrl String
authUrl String
clientId String
clientSecret String
tokenUrl String

GetGrafanaGrafanaUserConfigAuthGoogle

AllowSignUp string
AllowedDomains List<string>
ClientId string
ClientSecret string
AllowSignUp string
AllowedDomains []string
ClientId string
ClientSecret string
allowSignUp String
allowedDomains List<String>
clientId String
clientSecret String
allowSignUp string
allowedDomains string[]
clientId string
clientSecret string
allowSignUp String
allowedDomains List<String>
clientId String
clientSecret String

GetGrafanaGrafanaUserConfigDateFormats

GetGrafanaGrafanaUserConfigExternalImageStorage

AccessKey string
BucketUrl string
Provider string
SecretKey string
AccessKey string
BucketUrl string
Provider string
SecretKey string
accessKey String
bucketUrl String
provider String
secretKey String
accessKey string
bucketUrl string
provider string
secretKey string
accessKey String
bucketUrl String
provider String
secretKey String

GetGrafanaGrafanaUserConfigPrivateAccess

Grafana string
Grafana string
grafana String
grafana string
grafana String

GetGrafanaGrafanaUserConfigPrivatelinkAccess

Grafana string
Grafana string
grafana String
grafana string
grafana String

GetGrafanaGrafanaUserConfigPublicAccess

Grafana string
Grafana string
grafana String
grafana string
grafana String

GetGrafanaGrafanaUserConfigSmtpServer

FromAddress string
FromName string
Host string
Password string
Port string
SkipVerify string
StarttlsPolicy string
Username string
FromAddress string
FromName string
Host string
Password string
Port string
SkipVerify string
StarttlsPolicy string
Username string
fromAddress String
fromName String
host String
password String
port String
skipVerify String
starttlsPolicy String
username String
fromAddress string
fromName string
host string
password string
port string
skipVerify string
starttlsPolicy string
username string
fromAddress String
fromName String
host String
password String
port String
skipVerify String
starttlsPolicy String
username String

GetGrafanaServiceIntegration

GetGrafanaTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

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

This Pulumi package is based on the aiven Terraform Provider.