published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The Grafana resource allows the creation and management of Aiven Grafana services.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var gr1 = new Aiven.Grafana("gr1", new()
{
Project = data.Aiven_project.Ps1.Project,
CloudName = "google-europe-west1",
Plan = "startup-1",
MaintenanceWindowDow = "monday",
MaintenanceWindowTime = "10:00:00",
GrafanaUserConfig = new Aiven.Inputs.GrafanaGrafanaUserConfigArgs
{
AlertingEnabled = "true",
PublicAccess = new Aiven.Inputs.GrafanaGrafanaUserConfigPublicAccessArgs
{
Grafana = "true",
},
},
});
});
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.NewGrafana(ctx, "gr1", &aiven.GrafanaArgs{
Project: pulumi.Any(data.Aiven_project.Ps1.Project),
CloudName: pulumi.String("google-europe-west1"),
Plan: pulumi.String("startup-1"),
MaintenanceWindowDow: pulumi.String("monday"),
MaintenanceWindowTime: pulumi.String("10:00:00"),
GrafanaUserConfig: &aiven.GrafanaGrafanaUserConfigArgs{
AlertingEnabled: pulumi.String("true"),
PublicAccess: &aiven.GrafanaGrafanaUserConfigPublicAccessArgs{
Grafana: pulumi.String("true"),
},
},
})
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.aiven.Grafana;
import com.pulumi.aiven.GrafanaArgs;
import com.pulumi.aiven.inputs.GrafanaGrafanaUserConfigArgs;
import com.pulumi.aiven.inputs.GrafanaGrafanaUserConfigPublicAccessArgs;
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 gr1 = new Grafana("gr1", GrafanaArgs.builder()
.project(data.aiven_project().ps1().project())
.cloudName("google-europe-west1")
.plan("startup-1")
.maintenanceWindowDow("monday")
.maintenanceWindowTime("10:00:00")
.grafanaUserConfig(GrafanaGrafanaUserConfigArgs.builder()
.alertingEnabled(true)
.publicAccess(GrafanaGrafanaUserConfigPublicAccessArgs.builder()
.grafana(true)
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const gr1 = new aiven.Grafana("gr1", {
project: data.aiven_project.ps1.project,
cloudName: "google-europe-west1",
plan: "startup-1",
maintenanceWindowDow: "monday",
maintenanceWindowTime: "10:00:00",
grafanaUserConfig: {
alertingEnabled: "true",
publicAccess: {
grafana: "true",
},
},
});
import pulumi
import pulumi_aiven as aiven
gr1 = aiven.Grafana("gr1",
project=data["aiven_project"]["ps1"]["project"],
cloud_name="google-europe-west1",
plan="startup-1",
maintenance_window_dow="monday",
maintenance_window_time="10:00:00",
grafana_user_config=aiven.GrafanaGrafanaUserConfigArgs(
alerting_enabled="true",
public_access=aiven.GrafanaGrafanaUserConfigPublicAccessArgs(
grafana="true",
),
))
resources:
gr1:
type: aiven:Grafana
properties:
project: ${data.aiven_project.ps1.project}
cloudName: google-europe-west1
plan: startup-1
maintenanceWindowDow: monday
maintenanceWindowTime: 10:00:00
grafanaUserConfig:
alertingEnabled: true
publicAccess:
grafana: true
Create Grafana Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Grafana(name: string, args: GrafanaArgs, opts?: CustomResourceOptions);@overload
def Grafana(resource_name: str,
args: GrafanaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Grafana(resource_name: str,
opts: Optional[ResourceOptions] = None,
project: Optional[str] = None,
plan: Optional[str] = None,
disk_space: Optional[str] = None,
grafana_user_config: Optional[GrafanaGrafanaUserConfigArgs] = None,
maintenance_window_dow: Optional[str] = None,
maintenance_window_time: Optional[str] = None,
additional_disk_space: Optional[str] = None,
cloud_name: Optional[str] = None,
project_vpc_id: Optional[str] = None,
service_integrations: Optional[Sequence[GrafanaServiceIntegrationArgs]] = None,
service_name: Optional[str] = None,
static_ips: Optional[Sequence[str]] = None,
tags: Optional[Sequence[GrafanaTagArgs]] = None,
termination_protection: Optional[bool] = None)func NewGrafana(ctx *Context, name string, args GrafanaArgs, opts ...ResourceOption) (*Grafana, error)public Grafana(string name, GrafanaArgs args, CustomResourceOptions? opts = null)
public Grafana(String name, GrafanaArgs args)
public Grafana(String name, GrafanaArgs args, CustomResourceOptions options)
type: aiven:Grafana
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GrafanaArgs
- 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 GrafanaArgs
- 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 GrafanaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GrafanaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GrafanaArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var grafanaResource = new Aiven.Grafana("grafanaResource", new()
{
Project = "string",
Plan = "string",
DiskSpace = "string",
GrafanaUserConfig = new Aiven.Inputs.GrafanaGrafanaUserConfigArgs
{
AdditionalBackupRegions = "string",
AlertingEnabled = "string",
AlertingErrorOrTimeout = "string",
AlertingMaxAnnotationsToKeep = "string",
AlertingNodataOrNullvalues = "string",
AllowEmbedding = "string",
AuthAzuread = new Aiven.Inputs.GrafanaGrafanaUserConfigAuthAzureadArgs
{
AllowSignUp = "string",
AllowedDomains = new[]
{
"string",
},
AllowedGroups = new[]
{
"string",
},
AuthUrl = "string",
ClientId = "string",
ClientSecret = "string",
TokenUrl = "string",
},
AuthBasicEnabled = "string",
AuthGenericOauth = new Aiven.Inputs.GrafanaGrafanaUserConfigAuthGenericOauthArgs
{
AllowSignUp = "string",
AllowedDomains = new[]
{
"string",
},
AllowedOrganizations = new[]
{
"string",
},
ApiUrl = "string",
AuthUrl = "string",
ClientId = "string",
ClientSecret = "string",
Name = "string",
Scopes = new[]
{
"string",
},
TokenUrl = "string",
},
AuthGithub = new Aiven.Inputs.GrafanaGrafanaUserConfigAuthGithubArgs
{
AllowSignUp = "string",
AllowedOrganizations = new[]
{
"string",
},
ClientId = "string",
ClientSecret = "string",
TeamIds = new[]
{
"string",
},
},
AuthGitlab = new Aiven.Inputs.GrafanaGrafanaUserConfigAuthGitlabArgs
{
AllowSignUp = "string",
AllowedGroups = new[]
{
"string",
},
ApiUrl = "string",
AuthUrl = "string",
ClientId = "string",
ClientSecret = "string",
TokenUrl = "string",
},
AuthGoogle = new Aiven.Inputs.GrafanaGrafanaUserConfigAuthGoogleArgs
{
AllowSignUp = "string",
AllowedDomains = new[]
{
"string",
},
ClientId = "string",
ClientSecret = "string",
},
CookieSamesite = "string",
CustomDomain = "string",
DashboardPreviewsEnabled = "string",
DashboardsMinRefreshInterval = "string",
DashboardsVersionsToKeep = "string",
DataproxySendUserHeader = "string",
DataproxyTimeout = "string",
DateFormats = new Aiven.Inputs.GrafanaGrafanaUserConfigDateFormatsArgs
{
DefaultTimezone = "string",
FullDate = "string",
IntervalDay = "string",
IntervalHour = "string",
IntervalMinute = "string",
IntervalMonth = "string",
IntervalSecond = "string",
IntervalYear = "string",
},
DisableGravatar = "string",
EditorsCanAdmin = "string",
ExternalImageStorage = new Aiven.Inputs.GrafanaGrafanaUserConfigExternalImageStorageArgs
{
AccessKey = "string",
BucketUrl = "string",
Provider = "string",
SecretKey = "string",
},
GoogleAnalyticsUaId = "string",
IpFilterObjects = new[]
{
new Aiven.Inputs.GrafanaGrafanaUserConfigIpFilterObjectArgs
{
Description = "string",
Network = "string",
},
},
IpFilters = new[]
{
"string",
},
MetricsEnabled = "string",
PrivateAccess = new Aiven.Inputs.GrafanaGrafanaUserConfigPrivateAccessArgs
{
Grafana = "string",
},
PrivatelinkAccess = new Aiven.Inputs.GrafanaGrafanaUserConfigPrivatelinkAccessArgs
{
Grafana = "string",
},
ProjectToForkFrom = "string",
PublicAccess = new Aiven.Inputs.GrafanaGrafanaUserConfigPublicAccessArgs
{
Grafana = "string",
},
RecoveryBasebackupName = "string",
ServiceToForkFrom = "string",
SmtpServer = new Aiven.Inputs.GrafanaGrafanaUserConfigSmtpServerArgs
{
FromAddress = "string",
FromName = "string",
Host = "string",
Password = "string",
Port = "string",
SkipVerify = "string",
StarttlsPolicy = "string",
Username = "string",
},
StaticIps = "string",
UserAutoAssignOrg = "string",
UserAutoAssignOrgRole = "string",
ViewersCanEdit = "string",
},
MaintenanceWindowDow = "string",
MaintenanceWindowTime = "string",
AdditionalDiskSpace = "string",
CloudName = "string",
ProjectVpcId = "string",
ServiceIntegrations = new[]
{
new Aiven.Inputs.GrafanaServiceIntegrationArgs
{
IntegrationType = "string",
SourceServiceName = "string",
},
},
ServiceName = "string",
StaticIps = new[]
{
"string",
},
Tags = new[]
{
new Aiven.Inputs.GrafanaTagArgs
{
Key = "string",
Value = "string",
},
},
TerminationProtection = false,
});
example, err := aiven.NewGrafana(ctx, "grafanaResource", &aiven.GrafanaArgs{
Project: pulumi.String("string"),
Plan: pulumi.String("string"),
DiskSpace: pulumi.String("string"),
GrafanaUserConfig: &aiven.GrafanaGrafanaUserConfigArgs{
AdditionalBackupRegions: pulumi.String("string"),
AlertingEnabled: pulumi.String("string"),
AlertingErrorOrTimeout: pulumi.String("string"),
AlertingMaxAnnotationsToKeep: pulumi.String("string"),
AlertingNodataOrNullvalues: pulumi.String("string"),
AllowEmbedding: pulumi.String("string"),
AuthAzuread: &aiven.GrafanaGrafanaUserConfigAuthAzureadArgs{
AllowSignUp: pulumi.String("string"),
AllowedDomains: pulumi.StringArray{
pulumi.String("string"),
},
AllowedGroups: pulumi.StringArray{
pulumi.String("string"),
},
AuthUrl: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
TokenUrl: pulumi.String("string"),
},
AuthBasicEnabled: pulumi.String("string"),
AuthGenericOauth: &aiven.GrafanaGrafanaUserConfigAuthGenericOauthArgs{
AllowSignUp: pulumi.String("string"),
AllowedDomains: pulumi.StringArray{
pulumi.String("string"),
},
AllowedOrganizations: pulumi.StringArray{
pulumi.String("string"),
},
ApiUrl: pulumi.String("string"),
AuthUrl: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
Name: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
TokenUrl: pulumi.String("string"),
},
AuthGithub: &aiven.GrafanaGrafanaUserConfigAuthGithubArgs{
AllowSignUp: pulumi.String("string"),
AllowedOrganizations: pulumi.StringArray{
pulumi.String("string"),
},
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
TeamIds: pulumi.StringArray{
pulumi.String("string"),
},
},
AuthGitlab: &aiven.GrafanaGrafanaUserConfigAuthGitlabArgs{
AllowSignUp: pulumi.String("string"),
AllowedGroups: pulumi.StringArray{
pulumi.String("string"),
},
ApiUrl: pulumi.String("string"),
AuthUrl: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
TokenUrl: pulumi.String("string"),
},
AuthGoogle: &aiven.GrafanaGrafanaUserConfigAuthGoogleArgs{
AllowSignUp: pulumi.String("string"),
AllowedDomains: pulumi.StringArray{
pulumi.String("string"),
},
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
},
CookieSamesite: pulumi.String("string"),
CustomDomain: pulumi.String("string"),
DashboardPreviewsEnabled: pulumi.String("string"),
DashboardsMinRefreshInterval: pulumi.String("string"),
DashboardsVersionsToKeep: pulumi.String("string"),
DataproxySendUserHeader: pulumi.String("string"),
DataproxyTimeout: pulumi.String("string"),
DateFormats: &aiven.GrafanaGrafanaUserConfigDateFormatsArgs{
DefaultTimezone: pulumi.String("string"),
FullDate: pulumi.String("string"),
IntervalDay: pulumi.String("string"),
IntervalHour: pulumi.String("string"),
IntervalMinute: pulumi.String("string"),
IntervalMonth: pulumi.String("string"),
IntervalSecond: pulumi.String("string"),
IntervalYear: pulumi.String("string"),
},
DisableGravatar: pulumi.String("string"),
EditorsCanAdmin: pulumi.String("string"),
ExternalImageStorage: &aiven.GrafanaGrafanaUserConfigExternalImageStorageArgs{
AccessKey: pulumi.String("string"),
BucketUrl: pulumi.String("string"),
Provider: pulumi.String("string"),
SecretKey: pulumi.String("string"),
},
GoogleAnalyticsUaId: pulumi.String("string"),
IpFilterObjects: aiven.GrafanaGrafanaUserConfigIpFilterObjectArray{
&aiven.GrafanaGrafanaUserConfigIpFilterObjectArgs{
Description: pulumi.String("string"),
Network: pulumi.String("string"),
},
},
IpFilters: pulumi.StringArray{
pulumi.String("string"),
},
MetricsEnabled: pulumi.String("string"),
PrivateAccess: &aiven.GrafanaGrafanaUserConfigPrivateAccessArgs{
Grafana: pulumi.String("string"),
},
PrivatelinkAccess: &aiven.GrafanaGrafanaUserConfigPrivatelinkAccessArgs{
Grafana: pulumi.String("string"),
},
ProjectToForkFrom: pulumi.String("string"),
PublicAccess: &aiven.GrafanaGrafanaUserConfigPublicAccessArgs{
Grafana: pulumi.String("string"),
},
RecoveryBasebackupName: pulumi.String("string"),
ServiceToForkFrom: pulumi.String("string"),
SmtpServer: &aiven.GrafanaGrafanaUserConfigSmtpServerArgs{
FromAddress: pulumi.String("string"),
FromName: pulumi.String("string"),
Host: pulumi.String("string"),
Password: pulumi.String("string"),
Port: pulumi.String("string"),
SkipVerify: pulumi.String("string"),
StarttlsPolicy: pulumi.String("string"),
Username: pulumi.String("string"),
},
StaticIps: pulumi.String("string"),
UserAutoAssignOrg: pulumi.String("string"),
UserAutoAssignOrgRole: pulumi.String("string"),
ViewersCanEdit: pulumi.String("string"),
},
MaintenanceWindowDow: pulumi.String("string"),
MaintenanceWindowTime: pulumi.String("string"),
AdditionalDiskSpace: pulumi.String("string"),
CloudName: pulumi.String("string"),
ProjectVpcId: pulumi.String("string"),
ServiceIntegrations: aiven.GrafanaServiceIntegrationArray{
&aiven.GrafanaServiceIntegrationArgs{
IntegrationType: pulumi.String("string"),
SourceServiceName: pulumi.String("string"),
},
},
ServiceName: pulumi.String("string"),
StaticIps: pulumi.StringArray{
pulumi.String("string"),
},
Tags: aiven.GrafanaTagArray{
&aiven.GrafanaTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TerminationProtection: pulumi.Bool(false),
})
var grafanaResource = new Grafana("grafanaResource", GrafanaArgs.builder()
.project("string")
.plan("string")
.diskSpace("string")
.grafanaUserConfig(GrafanaGrafanaUserConfigArgs.builder()
.additionalBackupRegions("string")
.alertingEnabled("string")
.alertingErrorOrTimeout("string")
.alertingMaxAnnotationsToKeep("string")
.alertingNodataOrNullvalues("string")
.allowEmbedding("string")
.authAzuread(GrafanaGrafanaUserConfigAuthAzureadArgs.builder()
.allowSignUp("string")
.allowedDomains("string")
.allowedGroups("string")
.authUrl("string")
.clientId("string")
.clientSecret("string")
.tokenUrl("string")
.build())
.authBasicEnabled("string")
.authGenericOauth(GrafanaGrafanaUserConfigAuthGenericOauthArgs.builder()
.allowSignUp("string")
.allowedDomains("string")
.allowedOrganizations("string")
.apiUrl("string")
.authUrl("string")
.clientId("string")
.clientSecret("string")
.name("string")
.scopes("string")
.tokenUrl("string")
.build())
.authGithub(GrafanaGrafanaUserConfigAuthGithubArgs.builder()
.allowSignUp("string")
.allowedOrganizations("string")
.clientId("string")
.clientSecret("string")
.teamIds("string")
.build())
.authGitlab(GrafanaGrafanaUserConfigAuthGitlabArgs.builder()
.allowSignUp("string")
.allowedGroups("string")
.apiUrl("string")
.authUrl("string")
.clientId("string")
.clientSecret("string")
.tokenUrl("string")
.build())
.authGoogle(GrafanaGrafanaUserConfigAuthGoogleArgs.builder()
.allowSignUp("string")
.allowedDomains("string")
.clientId("string")
.clientSecret("string")
.build())
.cookieSamesite("string")
.customDomain("string")
.dashboardPreviewsEnabled("string")
.dashboardsMinRefreshInterval("string")
.dashboardsVersionsToKeep("string")
.dataproxySendUserHeader("string")
.dataproxyTimeout("string")
.dateFormats(GrafanaGrafanaUserConfigDateFormatsArgs.builder()
.defaultTimezone("string")
.fullDate("string")
.intervalDay("string")
.intervalHour("string")
.intervalMinute("string")
.intervalMonth("string")
.intervalSecond("string")
.intervalYear("string")
.build())
.disableGravatar("string")
.editorsCanAdmin("string")
.externalImageStorage(GrafanaGrafanaUserConfigExternalImageStorageArgs.builder()
.accessKey("string")
.bucketUrl("string")
.provider("string")
.secretKey("string")
.build())
.googleAnalyticsUaId("string")
.ipFilterObjects(GrafanaGrafanaUserConfigIpFilterObjectArgs.builder()
.description("string")
.network("string")
.build())
.ipFilters("string")
.metricsEnabled("string")
.privateAccess(GrafanaGrafanaUserConfigPrivateAccessArgs.builder()
.grafana("string")
.build())
.privatelinkAccess(GrafanaGrafanaUserConfigPrivatelinkAccessArgs.builder()
.grafana("string")
.build())
.projectToForkFrom("string")
.publicAccess(GrafanaGrafanaUserConfigPublicAccessArgs.builder()
.grafana("string")
.build())
.recoveryBasebackupName("string")
.serviceToForkFrom("string")
.smtpServer(GrafanaGrafanaUserConfigSmtpServerArgs.builder()
.fromAddress("string")
.fromName("string")
.host("string")
.password("string")
.port("string")
.skipVerify("string")
.starttlsPolicy("string")
.username("string")
.build())
.staticIps("string")
.userAutoAssignOrg("string")
.userAutoAssignOrgRole("string")
.viewersCanEdit("string")
.build())
.maintenanceWindowDow("string")
.maintenanceWindowTime("string")
.additionalDiskSpace("string")
.cloudName("string")
.projectVpcId("string")
.serviceIntegrations(GrafanaServiceIntegrationArgs.builder()
.integrationType("string")
.sourceServiceName("string")
.build())
.serviceName("string")
.staticIps("string")
.tags(GrafanaTagArgs.builder()
.key("string")
.value("string")
.build())
.terminationProtection(false)
.build());
grafana_resource = aiven.Grafana("grafanaResource",
project="string",
plan="string",
disk_space="string",
grafana_user_config={
"additional_backup_regions": "string",
"alerting_enabled": "string",
"alerting_error_or_timeout": "string",
"alerting_max_annotations_to_keep": "string",
"alerting_nodata_or_nullvalues": "string",
"allow_embedding": "string",
"auth_azuread": {
"allow_sign_up": "string",
"allowed_domains": ["string"],
"allowed_groups": ["string"],
"auth_url": "string",
"client_id": "string",
"client_secret": "string",
"token_url": "string",
},
"auth_basic_enabled": "string",
"auth_generic_oauth": {
"allow_sign_up": "string",
"allowed_domains": ["string"],
"allowed_organizations": ["string"],
"api_url": "string",
"auth_url": "string",
"client_id": "string",
"client_secret": "string",
"name": "string",
"scopes": ["string"],
"token_url": "string",
},
"auth_github": {
"allow_sign_up": "string",
"allowed_organizations": ["string"],
"client_id": "string",
"client_secret": "string",
"team_ids": ["string"],
},
"auth_gitlab": {
"allow_sign_up": "string",
"allowed_groups": ["string"],
"api_url": "string",
"auth_url": "string",
"client_id": "string",
"client_secret": "string",
"token_url": "string",
},
"auth_google": {
"allow_sign_up": "string",
"allowed_domains": ["string"],
"client_id": "string",
"client_secret": "string",
},
"cookie_samesite": "string",
"custom_domain": "string",
"dashboard_previews_enabled": "string",
"dashboards_min_refresh_interval": "string",
"dashboards_versions_to_keep": "string",
"dataproxy_send_user_header": "string",
"dataproxy_timeout": "string",
"date_formats": {
"default_timezone": "string",
"full_date": "string",
"interval_day": "string",
"interval_hour": "string",
"interval_minute": "string",
"interval_month": "string",
"interval_second": "string",
"interval_year": "string",
},
"disable_gravatar": "string",
"editors_can_admin": "string",
"external_image_storage": {
"access_key": "string",
"bucket_url": "string",
"provider": "string",
"secret_key": "string",
},
"google_analytics_ua_id": "string",
"ip_filter_objects": [{
"description": "string",
"network": "string",
}],
"ip_filters": ["string"],
"metrics_enabled": "string",
"private_access": {
"grafana": "string",
},
"privatelink_access": {
"grafana": "string",
},
"project_to_fork_from": "string",
"public_access": {
"grafana": "string",
},
"recovery_basebackup_name": "string",
"service_to_fork_from": "string",
"smtp_server": {
"from_address": "string",
"from_name": "string",
"host": "string",
"password": "string",
"port": "string",
"skip_verify": "string",
"starttls_policy": "string",
"username": "string",
},
"static_ips": "string",
"user_auto_assign_org": "string",
"user_auto_assign_org_role": "string",
"viewers_can_edit": "string",
},
maintenance_window_dow="string",
maintenance_window_time="string",
additional_disk_space="string",
cloud_name="string",
project_vpc_id="string",
service_integrations=[{
"integration_type": "string",
"source_service_name": "string",
}],
service_name="string",
static_ips=["string"],
tags=[{
"key": "string",
"value": "string",
}],
termination_protection=False)
const grafanaResource = new aiven.Grafana("grafanaResource", {
project: "string",
plan: "string",
diskSpace: "string",
grafanaUserConfig: {
additionalBackupRegions: "string",
alertingEnabled: "string",
alertingErrorOrTimeout: "string",
alertingMaxAnnotationsToKeep: "string",
alertingNodataOrNullvalues: "string",
allowEmbedding: "string",
authAzuread: {
allowSignUp: "string",
allowedDomains: ["string"],
allowedGroups: ["string"],
authUrl: "string",
clientId: "string",
clientSecret: "string",
tokenUrl: "string",
},
authBasicEnabled: "string",
authGenericOauth: {
allowSignUp: "string",
allowedDomains: ["string"],
allowedOrganizations: ["string"],
apiUrl: "string",
authUrl: "string",
clientId: "string",
clientSecret: "string",
name: "string",
scopes: ["string"],
tokenUrl: "string",
},
authGithub: {
allowSignUp: "string",
allowedOrganizations: ["string"],
clientId: "string",
clientSecret: "string",
teamIds: ["string"],
},
authGitlab: {
allowSignUp: "string",
allowedGroups: ["string"],
apiUrl: "string",
authUrl: "string",
clientId: "string",
clientSecret: "string",
tokenUrl: "string",
},
authGoogle: {
allowSignUp: "string",
allowedDomains: ["string"],
clientId: "string",
clientSecret: "string",
},
cookieSamesite: "string",
customDomain: "string",
dashboardPreviewsEnabled: "string",
dashboardsMinRefreshInterval: "string",
dashboardsVersionsToKeep: "string",
dataproxySendUserHeader: "string",
dataproxyTimeout: "string",
dateFormats: {
defaultTimezone: "string",
fullDate: "string",
intervalDay: "string",
intervalHour: "string",
intervalMinute: "string",
intervalMonth: "string",
intervalSecond: "string",
intervalYear: "string",
},
disableGravatar: "string",
editorsCanAdmin: "string",
externalImageStorage: {
accessKey: "string",
bucketUrl: "string",
provider: "string",
secretKey: "string",
},
googleAnalyticsUaId: "string",
ipFilterObjects: [{
description: "string",
network: "string",
}],
ipFilters: ["string"],
metricsEnabled: "string",
privateAccess: {
grafana: "string",
},
privatelinkAccess: {
grafana: "string",
},
projectToForkFrom: "string",
publicAccess: {
grafana: "string",
},
recoveryBasebackupName: "string",
serviceToForkFrom: "string",
smtpServer: {
fromAddress: "string",
fromName: "string",
host: "string",
password: "string",
port: "string",
skipVerify: "string",
starttlsPolicy: "string",
username: "string",
},
staticIps: "string",
userAutoAssignOrg: "string",
userAutoAssignOrgRole: "string",
viewersCanEdit: "string",
},
maintenanceWindowDow: "string",
maintenanceWindowTime: "string",
additionalDiskSpace: "string",
cloudName: "string",
projectVpcId: "string",
serviceIntegrations: [{
integrationType: "string",
sourceServiceName: "string",
}],
serviceName: "string",
staticIps: ["string"],
tags: [{
key: "string",
value: "string",
}],
terminationProtection: false,
});
type: aiven:Grafana
properties:
additionalDiskSpace: string
cloudName: string
diskSpace: string
grafanaUserConfig:
additionalBackupRegions: string
alertingEnabled: string
alertingErrorOrTimeout: string
alertingMaxAnnotationsToKeep: string
alertingNodataOrNullvalues: string
allowEmbedding: string
authAzuread:
allowSignUp: string
allowedDomains:
- string
allowedGroups:
- string
authUrl: string
clientId: string
clientSecret: string
tokenUrl: string
authBasicEnabled: string
authGenericOauth:
allowSignUp: string
allowedDomains:
- string
allowedOrganizations:
- string
apiUrl: string
authUrl: string
clientId: string
clientSecret: string
name: string
scopes:
- string
tokenUrl: string
authGithub:
allowSignUp: string
allowedOrganizations:
- string
clientId: string
clientSecret: string
teamIds:
- string
authGitlab:
allowSignUp: string
allowedGroups:
- string
apiUrl: string
authUrl: string
clientId: string
clientSecret: string
tokenUrl: string
authGoogle:
allowSignUp: string
allowedDomains:
- string
clientId: string
clientSecret: string
cookieSamesite: string
customDomain: string
dashboardPreviewsEnabled: string
dashboardsMinRefreshInterval: string
dashboardsVersionsToKeep: string
dataproxySendUserHeader: string
dataproxyTimeout: string
dateFormats:
defaultTimezone: string
fullDate: string
intervalDay: string
intervalHour: string
intervalMinute: string
intervalMonth: string
intervalSecond: string
intervalYear: string
disableGravatar: string
editorsCanAdmin: string
externalImageStorage:
accessKey: string
bucketUrl: string
provider: string
secretKey: string
googleAnalyticsUaId: string
ipFilterObjects:
- description: string
network: string
ipFilters:
- string
metricsEnabled: string
privateAccess:
grafana: string
privatelinkAccess:
grafana: string
projectToForkFrom: string
publicAccess:
grafana: string
recoveryBasebackupName: string
serviceToForkFrom: string
smtpServer:
fromAddress: string
fromName: string
host: string
password: string
port: string
skipVerify: string
starttlsPolicy: string
username: string
staticIps: string
userAutoAssignOrg: string
userAutoAssignOrgRole: string
viewersCanEdit: string
maintenanceWindowDow: string
maintenanceWindowTime: string
plan: string
project: string
projectVpcId: string
serviceIntegrations:
- integrationType: string
sourceServiceName: string
serviceName: string
staticIps:
- string
tags:
- key: string
value: string
terminationProtection: false
Grafana Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Grafana resource accepts the following input properties:
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Grafana
User GrafanaConfig Grafana User Config - Grafana user configurable settings
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Integrations List<GrafanaService Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Static
Ips List<string> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<Grafana
Tag> - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Grafana
User GrafanaConfig Grafana User Config Args - Grafana user configurable settings
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Integrations []GrafanaService Integration Args - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Static
Ips []string - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
[]Grafana
Tag Args - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- grafana
User GrafanaConfig Grafana User Config - Grafana user configurable settings
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations List<GrafanaService Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<Grafana
Tag> - Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- grafana
User GrafanaConfig Grafana User Config - Grafana user configurable settings
- maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations GrafanaService Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- static
Ips string[] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
Grafana
Tag[] - Tags are key-value pairs that allow you to categorize services.
- termination
Protection boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- additional_
disk_ strspace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud_
name str - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- grafana_
user_ Grafanaconfig Grafana User Config Args - Grafana user configurable settings
- maintenance_
window_ strdow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan str
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project_
vpc_ strid - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service_
integrations Sequence[GrafanaService Integration Args] - Service integrations to specify when creating a service. Not applied after initial service creation
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- static_
ips Sequence[str] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
Sequence[Grafana
Tag Args] - Tags are key-value pairs that allow you to categorize services.
- termination_
protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- grafana
User Property MapConfig - Grafana user configurable settings
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations List<Property Map> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Property Map>
- Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Outputs
All input properties are implicitly available as output properties. Additionally, the Grafana resource produces the following output properties:
- Components
List<Grafana
Component> - Service component information objects
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Grafana
Server List<GrafanaGrafana> - Grafana server provided values
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Host string - The hostname of the service.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- Components
[]Grafana
Component - Service component information objects
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Grafanas
[]Grafana
Grafana - Grafana server provided values
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Host string - The hostname of the service.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components
List<Grafana
Component> - Service component information objects
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- grafanas
List<Grafana
Grafana> - Grafana server provided values
- id String
- The provider-assigned unique ID for this managed resource.
- service
Host String - The hostname of the service.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Integer - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components
Grafana
Component[] - Service component information objects
- disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space stringUsed - Disk space that service is currently using
- grafanas
Grafana
Grafana[] - Grafana server provided values
- id string
- The provider-assigned unique ID for this managed resource.
- service
Host string - The hostname of the service.
- service
Password string - Password used for connecting to the service, if applicable
- service
Port number - The port of the service
- service
Type string - Aiven internal service type code
- service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string - Username used for connecting to the service, if applicable
- state string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components
Sequence[Grafana
Component] - Service component information objects
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk_
space_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk_
space_ strused - Disk space that service is currently using
- grafanas
Sequence[Grafana
Grafana] - Grafana server provided values
- id str
- The provider-assigned unique ID for this managed resource.
- service_
host str - The hostname of the service.
- service_
password str - Password used for connecting to the service, if applicable
- service_
port int - The port of the service
- service_
type str - Aiven internal service type code
- service_
uri str - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str - Username used for connecting to the service, if applicable
- state str
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
- components List<Property Map>
- Service component information objects
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- grafanas List<Property Map>
- Grafana server provided values
- id String
- The provider-assigned unique ID for this managed resource.
- service
Host String - The hostname of the service.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Number - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING
Look up Existing Grafana Resource
Get an existing Grafana 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?: GrafanaState, opts?: CustomResourceOptions): Grafana@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_disk_space: Optional[str] = None,
cloud_name: Optional[str] = None,
components: Optional[Sequence[GrafanaComponentArgs]] = None,
disk_space: Optional[str] = None,
disk_space_cap: Optional[str] = None,
disk_space_default: Optional[str] = None,
disk_space_step: Optional[str] = None,
disk_space_used: Optional[str] = None,
grafana_user_config: Optional[GrafanaGrafanaUserConfigArgs] = None,
grafanas: Optional[Sequence[GrafanaGrafanaArgs]] = None,
maintenance_window_dow: Optional[str] = None,
maintenance_window_time: Optional[str] = None,
plan: Optional[str] = None,
project: Optional[str] = None,
project_vpc_id: Optional[str] = None,
service_host: Optional[str] = None,
service_integrations: Optional[Sequence[GrafanaServiceIntegrationArgs]] = None,
service_name: Optional[str] = None,
service_password: Optional[str] = None,
service_port: Optional[int] = None,
service_type: Optional[str] = None,
service_uri: Optional[str] = None,
service_username: Optional[str] = None,
state: Optional[str] = None,
static_ips: Optional[Sequence[str]] = None,
tags: Optional[Sequence[GrafanaTagArgs]] = None,
termination_protection: Optional[bool] = None) -> Grafanafunc GetGrafana(ctx *Context, name string, id IDInput, state *GrafanaState, opts ...ResourceOption) (*Grafana, error)public static Grafana Get(string name, Input<string> id, GrafanaState? state, CustomResourceOptions? opts = null)public static Grafana get(String name, Output<String> id, GrafanaState state, CustomResourceOptions options)resources: _: type: aiven:Grafana get: id: ${id}- 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.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
List<Grafana
Component> - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Grafana
Server List<GrafanaGrafana> - Grafana server provided values
- Grafana
User GrafanaConfig Grafana User Config - Grafana user configurable settings
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string - The hostname of the service.
- Service
Integrations List<GrafanaService Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - Static
Ips List<string> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<Grafana
Tag> - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
[]Grafana
Component Args - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Grafana
User GrafanaConfig Grafana User Config Args - Grafana user configurable settings
- Grafanas
[]Grafana
Grafana Args - Grafana server provided values
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string - The hostname of the service.
- Service
Integrations []GrafanaService Integration Args - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - Static
Ips []string - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
[]Grafana
Tag Args - Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
List<Grafana
Component> - Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- grafana
User GrafanaConfig Grafana User Config - Grafana user configurable settings
- grafanas
List<Grafana
Grafana> - Grafana server provided values
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String - The hostname of the service.
- service
Integrations List<GrafanaService Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Integer - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
List<Grafana
Tag> - Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk stringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
Grafana
Component[] - Service component information objects
- disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space stringUsed - Disk space that service is currently using
- grafana
User GrafanaConfig Grafana User Config - Grafana user configurable settings
- grafanas
Grafana
Grafana[] - Grafana server provided values
- maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host string - The hostname of the service.
- service
Integrations GrafanaService Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password string - Password used for connecting to the service, if applicable
- service
Port number - The port of the service
- service
Type string - Aiven internal service type code
- service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string - Username used for connecting to the service, if applicable
- state string
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips string[] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
Grafana
Tag[] - Tags are key-value pairs that allow you to categorize services.
- termination
Protection boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional_
disk_ strspace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud_
name str - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
Sequence[Grafana
Component Args] - Service component information objects
- disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk_
space_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk_
space_ strused - Disk space that service is currently using
- grafana_
user_ Grafanaconfig Grafana User Config Args - Grafana user configurable settings
- grafanas
Sequence[Grafana
Grafana Args] - Grafana server provided values
- maintenance_
window_ strdow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan str
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project_
vpc_ strid - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service_
host str - The hostname of the service.
- service_
integrations Sequence[GrafanaService Integration Args] - Service integrations to specify when creating a service. Not applied after initial service creation
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service_
password str - Password used for connecting to the service, if applicable
- service_
port int - The port of the service
- service_
type str - Aiven internal service type code
- service_
uri str - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str - Username used for connecting to the service, if applicable
- state str
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static_
ips Sequence[str] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
-
Sequence[Grafana
Tag Args] - Tags are key-value pairs that allow you to categorize services.
- termination_
protection bool - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
provider name (
aws,azure,dogoogle,upcloud, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components List<Property Map>
- Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
Its also the minimum value for
disk_space - disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the
project.
disk_spaceneeds to increment fromdisk_space_defaultby increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- grafana
User Property MapConfig - Grafana user configurable settings
- grafanas List<Property Map>
- Grafana server provided values
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist,startup-x,business-xandpremium-xwherexis (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the Aiven pricing page. - project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String - The hostname of the service.
- service
Integrations List<Property Map> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Number - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF,REBALANCING,REBUILDINGorRUNNING - static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Property Map>
- Tags are key-value pairs that allow you to categorize services.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
truefor all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Supporting Types
GrafanaComponent, GrafanaComponentArgs
GrafanaGrafanaUserConfig, GrafanaGrafanaUserConfigArgs
- Additional
Backup stringRegions - Alerting
Enabled string - Alerting
Error stringOr Timeout - Alerting
Max stringAnnotations To Keep - Alerting
Nodata stringOr Nullvalues - Allow
Embedding string - Auth
Azuread GrafanaGrafana User Config Auth Azuread - Auth
Basic stringEnabled - Auth
Generic GrafanaOauth Grafana User Config Auth Generic Oauth - Auth
Github GrafanaGrafana User Config Auth Github - Auth
Gitlab GrafanaGrafana User Config Auth Gitlab - Auth
Google GrafanaGrafana User Config Auth Google - string
- Custom
Domain string - Dashboard
Previews stringEnabled - Dashboards
Min stringRefresh Interval - Dashboards
Versions stringTo Keep - Dataproxy
Send stringUser Header - Dataproxy
Timeout string - Date
Formats GrafanaGrafana User Config Date Formats - Disable
Gravatar string - Editors
Can stringAdmin - External
Image GrafanaStorage Grafana User Config External Image Storage - Google
Analytics stringUa Id - Ip
Filter List<GrafanaObjects Grafana User Config Ip Filter Object> - Ip
Filters List<string> - Metrics
Enabled string - Private
Access GrafanaGrafana User Config Private Access - Privatelink
Access GrafanaGrafana User Config Privatelink Access - Project
To stringFork From - Public
Access GrafanaGrafana User Config Public Access - Recovery
Basebackup stringName - Service
To stringFork From - Smtp
Server GrafanaGrafana User Config Smtp Server - Static
Ips string - User
Auto stringAssign Org - User
Auto stringAssign Org Role - Viewers
Can stringEdit
- Additional
Backup stringRegions - Alerting
Enabled string - Alerting
Error stringOr Timeout - Alerting
Max stringAnnotations To Keep - Alerting
Nodata stringOr Nullvalues - Allow
Embedding string - Auth
Azuread GrafanaGrafana User Config Auth Azuread - Auth
Basic stringEnabled - Auth
Generic GrafanaOauth Grafana User Config Auth Generic Oauth - Auth
Github GrafanaGrafana User Config Auth Github - Auth
Gitlab GrafanaGrafana User Config Auth Gitlab - Auth
Google GrafanaGrafana User Config Auth Google - string
- Custom
Domain string - Dashboard
Previews stringEnabled - Dashboards
Min stringRefresh Interval - Dashboards
Versions stringTo Keep - Dataproxy
Send stringUser Header - Dataproxy
Timeout string - Date
Formats GrafanaGrafana User Config Date Formats - Disable
Gravatar string - Editors
Can stringAdmin - External
Image GrafanaStorage Grafana User Config External Image Storage - Google
Analytics stringUa Id - Ip
Filter []GrafanaObjects Grafana User Config Ip Filter Object - Ip
Filters []string - Metrics
Enabled string - Private
Access GrafanaGrafana User Config Private Access - Privatelink
Access GrafanaGrafana User Config Privatelink Access - Project
To stringFork From - Public
Access GrafanaGrafana User Config Public Access - Recovery
Basebackup stringName - Service
To stringFork From - Smtp
Server GrafanaGrafana User Config Smtp Server - Static
Ips string - User
Auto stringAssign Org - User
Auto stringAssign Org Role - Viewers
Can stringEdit
- additional
Backup StringRegions - alerting
Enabled String - alerting
Error StringOr Timeout - alerting
Max StringAnnotations To Keep - alerting
Nodata StringOr Nullvalues - allow
Embedding String - auth
Azuread GrafanaGrafana User Config Auth Azuread - auth
Basic StringEnabled - auth
Generic GrafanaOauth Grafana User Config Auth Generic Oauth - auth
Github GrafanaGrafana User Config Auth Github - auth
Gitlab GrafanaGrafana User Config Auth Gitlab - auth
Google GrafanaGrafana User Config Auth Google - String
- custom
Domain String - dashboard
Previews StringEnabled - dashboards
Min StringRefresh Interval - dashboards
Versions StringTo Keep - dataproxy
Send StringUser Header - dataproxy
Timeout String - date
Formats GrafanaGrafana User Config Date Formats - disable
Gravatar String - editors
Can StringAdmin - external
Image GrafanaStorage Grafana User Config External Image Storage - google
Analytics StringUa Id - ip
Filter List<GrafanaObjects Grafana User Config Ip Filter Object> - ip
Filters List<String> - metrics
Enabled String - private
Access GrafanaGrafana User Config Private Access - privatelink
Access GrafanaGrafana User Config Privatelink Access - project
To StringFork From - public
Access GrafanaGrafana User Config Public Access - recovery
Basebackup StringName - service
To StringFork From - smtp
Server GrafanaGrafana User Config Smtp Server - static
Ips String - user
Auto StringAssign Org - user
Auto StringAssign Org Role - viewers
Can StringEdit
- additional
Backup stringRegions - alerting
Enabled string - alerting
Error stringOr Timeout - alerting
Max stringAnnotations To Keep - alerting
Nodata stringOr Nullvalues - allow
Embedding string - auth
Azuread GrafanaGrafana User Config Auth Azuread - auth
Basic stringEnabled - auth
Generic GrafanaOauth Grafana User Config Auth Generic Oauth - auth
Github GrafanaGrafana User Config Auth Github - auth
Gitlab GrafanaGrafana User Config Auth Gitlab - auth
Google GrafanaGrafana User Config Auth Google - string
- custom
Domain string - dashboard
Previews stringEnabled - dashboards
Min stringRefresh Interval - dashboards
Versions stringTo Keep - dataproxy
Send stringUser Header - dataproxy
Timeout string - date
Formats GrafanaGrafana User Config Date Formats - disable
Gravatar string - editors
Can stringAdmin - external
Image GrafanaStorage Grafana User Config External Image Storage - google
Analytics stringUa Id - ip
Filter GrafanaObjects Grafana User Config Ip Filter Object[] - ip
Filters string[] - metrics
Enabled string - private
Access GrafanaGrafana User Config Private Access - privatelink
Access GrafanaGrafana User Config Privatelink Access - project
To stringFork From - public
Access GrafanaGrafana User Config Public Access - recovery
Basebackup stringName - service
To stringFork From - smtp
Server GrafanaGrafana User Config Smtp Server - static
Ips string - user
Auto stringAssign Org - user
Auto stringAssign Org Role - viewers
Can stringEdit
- additional_
backup_ strregions - alerting_
enabled str - alerting_
error_ stror_ timeout - alerting_
max_ strannotations_ to_ keep - alerting_
nodata_ stror_ nullvalues - allow_
embedding str - auth_
azuread GrafanaGrafana User Config Auth Azuread - auth_
basic_ strenabled - auth_
generic_ Grafanaoauth Grafana User Config Auth Generic Oauth - auth_
github GrafanaGrafana User Config Auth Github - auth_
gitlab GrafanaGrafana User Config Auth Gitlab - auth_
google GrafanaGrafana User Config Auth Google - str
- custom_
domain str - dashboard_
previews_ strenabled - dashboards_
min_ strrefresh_ interval - dashboards_
versions_ strto_ keep - dataproxy_
send_ struser_ header - dataproxy_
timeout str - date_
formats GrafanaGrafana User Config Date Formats - disable_
gravatar str - editors_
can_ stradmin - external_
image_ Grafanastorage Grafana User Config External Image Storage - google_
analytics_ strua_ id - ip_
filter_ Sequence[Grafanaobjects Grafana User Config Ip Filter Object] - ip_
filters Sequence[str] - metrics_
enabled str - private_
access GrafanaGrafana User Config Private Access - privatelink_
access GrafanaGrafana User Config Privatelink Access - project_
to_ strfork_ from - public_
access GrafanaGrafana User Config Public Access - recovery_
basebackup_ strname - service_
to_ strfork_ from - smtp_
server GrafanaGrafana User Config Smtp Server - static_
ips str - user_
auto_ strassign_ org - user_
auto_ strassign_ org_ role - viewers_
can_ stredit
- additional
Backup StringRegions - alerting
Enabled String - alerting
Error StringOr Timeout - alerting
Max StringAnnotations To Keep - alerting
Nodata StringOr Nullvalues - allow
Embedding String - auth
Azuread Property Map - auth
Basic StringEnabled - auth
Generic Property MapOauth - auth
Github Property Map - auth
Gitlab Property Map - auth
Google Property Map - String
- custom
Domain String - dashboard
Previews StringEnabled - dashboards
Min StringRefresh Interval - dashboards
Versions StringTo Keep - dataproxy
Send StringUser Header - dataproxy
Timeout String - date
Formats Property Map - disable
Gravatar String - editors
Can StringAdmin - external
Image Property MapStorage - google
Analytics StringUa Id - ip
Filter List<Property Map>Objects - ip
Filters List<String> - metrics
Enabled String - private
Access Property Map - privatelink
Access Property Map - project
To StringFork From - public
Access Property Map - recovery
Basebackup StringName - service
To StringFork From - smtp
Server Property Map - static
Ips String - user
Auto StringAssign Org - user
Auto StringAssign Org Role - viewers
Can StringEdit
GrafanaGrafanaUserConfigAuthAzuread, GrafanaGrafanaUserConfigAuthAzureadArgs
- Allow
Sign stringUp - Allowed
Domains List<string> - Allowed
Groups List<string> - Auth
Url string - Client
Id string - Client
Secret string - Token
Url string
- Allow
Sign stringUp - Allowed
Domains []string - Allowed
Groups []string - Auth
Url string - Client
Id string - Client
Secret string - Token
Url string
- allow
Sign StringUp - allowed
Domains List<String> - allowed
Groups List<String> - auth
Url String - client
Id String - client
Secret String - token
Url String
- allow
Sign stringUp - allowed
Domains string[] - allowed
Groups string[] - auth
Url string - client
Id string - client
Secret string - token
Url string
- allow_
sign_ strup - allowed_
domains Sequence[str] - allowed_
groups Sequence[str] - auth_
url str - client_
id str - client_
secret str - token_
url str
- allow
Sign StringUp - allowed
Domains List<String> - allowed
Groups List<String> - auth
Url String - client
Id String - client
Secret String - token
Url String
GrafanaGrafanaUserConfigAuthGenericOauth, GrafanaGrafanaUserConfigAuthGenericOauthArgs
- Allow
Sign stringUp - Allowed
Domains List<string> - Allowed
Organizations List<string> - Api
Url string - Auth
Url string - Client
Id string - Client
Secret string - Name string
- Scopes List<string>
- Token
Url string
- Allow
Sign stringUp - Allowed
Domains []string - Allowed
Organizations []string - Api
Url string - Auth
Url string - Client
Id string - Client
Secret string - Name string
- Scopes []string
- Token
Url string
- allow
Sign StringUp - allowed
Domains List<String> - allowed
Organizations List<String> - api
Url String - auth
Url String - client
Id String - client
Secret String - name String
- scopes List<String>
- token
Url String
- allow
Sign stringUp - allowed
Domains string[] - allowed
Organizations string[] - api
Url string - auth
Url string - client
Id string - client
Secret string - name string
- scopes string[]
- token
Url string
- allow_
sign_ strup - 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
- allow
Sign StringUp - allowed
Domains List<String> - allowed
Organizations List<String> - api
Url String - auth
Url String - client
Id String - client
Secret String - name String
- scopes List<String>
- token
Url String
GrafanaGrafanaUserConfigAuthGithub, GrafanaGrafanaUserConfigAuthGithubArgs
- Allow
Sign stringUp - Allowed
Organizations List<string> - Client
Id string - Client
Secret string - Team
Ids List<string>
- Allow
Sign stringUp - Allowed
Organizations []string - Client
Id string - Client
Secret string - Team
Ids []string
- allow
Sign StringUp - allowed
Organizations List<String> - client
Id String - client
Secret String - team
Ids List<String>
- allow
Sign stringUp - allowed
Organizations string[] - client
Id string - client
Secret string - team
Ids string[]
- allow_
sign_ strup - allowed_
organizations Sequence[str] - client_
id str - client_
secret str - team_
ids Sequence[str]
- allow
Sign StringUp - allowed
Organizations List<String> - client
Id String - client
Secret String - team
Ids List<String>
GrafanaGrafanaUserConfigAuthGitlab, GrafanaGrafanaUserConfigAuthGitlabArgs
- Allow
Sign stringUp - Allowed
Groups List<string> - Api
Url string - Auth
Url string - Client
Id string - Client
Secret string - Token
Url string
- Allow
Sign stringUp - Allowed
Groups []string - Api
Url string - Auth
Url string - Client
Id string - Client
Secret string - Token
Url string
- allow
Sign StringUp - allowed
Groups List<String> - api
Url String - auth
Url String - client
Id String - client
Secret String - token
Url String
- allow
Sign stringUp - allowed
Groups string[] - api
Url string - auth
Url string - client
Id string - client
Secret string - token
Url string
- allow_
sign_ strup - allowed_
groups Sequence[str] - api_
url str - auth_
url str - client_
id str - client_
secret str - token_
url str
- allow
Sign StringUp - allowed
Groups List<String> - api
Url String - auth
Url String - client
Id String - client
Secret String - token
Url String
GrafanaGrafanaUserConfigAuthGoogle, GrafanaGrafanaUserConfigAuthGoogleArgs
- Allow
Sign stringUp - Allowed
Domains List<string> - Client
Id string - Client
Secret string
- Allow
Sign stringUp - Allowed
Domains []string - Client
Id string - Client
Secret string
- allow
Sign StringUp - allowed
Domains List<String> - client
Id String - client
Secret String
- allow
Sign stringUp - allowed
Domains string[] - client
Id string - client
Secret string
- allow_
sign_ strup - allowed_
domains Sequence[str] - client_
id str - client_
secret str
- allow
Sign StringUp - allowed
Domains List<String> - client
Id String - client
Secret String
GrafanaGrafanaUserConfigDateFormats, GrafanaGrafanaUserConfigDateFormatsArgs
- Default
Timezone string - Full
Date string - Interval
Day string - Interval
Hour string - Interval
Minute string - Interval
Month string - Interval
Second string - Interval
Year string
- Default
Timezone string - Full
Date string - Interval
Day string - Interval
Hour string - Interval
Minute string - Interval
Month string - Interval
Second string - Interval
Year string
- default
Timezone String - full
Date String - interval
Day String - interval
Hour String - interval
Minute String - interval
Month String - interval
Second String - interval
Year String
- default
Timezone string - full
Date string - interval
Day string - interval
Hour string - interval
Minute string - interval
Month string - interval
Second string - interval
Year string
- default_
timezone str - full_
date str - interval_
day str - interval_
hour str - interval_
minute str - interval_
month str - interval_
second str - interval_
year str
- default
Timezone String - full
Date String - interval
Day String - interval
Hour String - interval
Minute String - interval
Month String - interval
Second String - interval
Year String
GrafanaGrafanaUserConfigExternalImageStorage, GrafanaGrafanaUserConfigExternalImageStorageArgs
- access_
key str - bucket_
url str - provider str
- secret_
key str
GrafanaGrafanaUserConfigIpFilterObject, GrafanaGrafanaUserConfigIpFilterObjectArgs
- Description string
- Network string
- Description string
- Network string
- description String
- network String
- description string
- network string
- description str
- network str
- description String
- network String
GrafanaGrafanaUserConfigPrivateAccess, GrafanaGrafanaUserConfigPrivateAccessArgs
- Grafana string
- Grafana string
- grafana String
- grafana string
- grafana str
- grafana String
GrafanaGrafanaUserConfigPrivatelinkAccess, GrafanaGrafanaUserConfigPrivatelinkAccessArgs
- Grafana string
- Grafana string
- grafana String
- grafana string
- grafana str
- grafana String
GrafanaGrafanaUserConfigPublicAccess, GrafanaGrafanaUserConfigPublicAccessArgs
- Grafana string
- Grafana string
- grafana String
- grafana string
- grafana str
- grafana String
GrafanaGrafanaUserConfigSmtpServer, GrafanaGrafanaUserConfigSmtpServerArgs
- From
Address string - From
Name string - Host string
- Password string
- Port string
- Skip
Verify string - Starttls
Policy string - Username string
- From
Address string - From
Name string - Host string
- Password string
- Port string
- Skip
Verify string - Starttls
Policy string - Username string
- from
Address String - from
Name String - host String
- password String
- port String
- skip
Verify String - starttls
Policy String - username String
- from
Address string - from
Name string - host string
- password string
- port string
- skip
Verify string - starttls
Policy string - username string
- from_
address str - from_
name str - host str
- password str
- port str
- skip_
verify str - starttls_
policy str - username str
- from
Address String - from
Name String - host String
- password String
- port String
- skip
Verify String - starttls
Policy String - username String
GrafanaServiceIntegration, GrafanaServiceIntegrationArgs
- Integration
Type string - Source
Service stringName
- Integration
Type string - Source
Service stringName
- integration
Type String - source
Service StringName
- integration
Type string - source
Service stringName
- integration
Type String - source
Service StringName
GrafanaTag, GrafanaTagArgs
Import
$ pulumi import aiven:index/grafana:Grafana gr1 project/service_name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
