aiven logo
Aiven v6.1.0, Mar 31 23

aiven.getGrafana

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

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aiven = Pulumi.Aiven;

return await Deployment.RunAsync(() => 
{
    var gr1 = Aiven.GetGrafana.Invoke(new()
    {
        Project = data.Aiven_project.Ps1.Project,
        ServiceName = "my-gr1",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aiven.LookupGrafana(ctx, &aiven.LookupGrafanaArgs{
			Project:     data.Aiven_project.Ps1.Project,
			ServiceName: "my-gr1",
		}, nil)
		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.AivenFunctions;
import com.pulumi.aiven.inputs.GetGrafanaArgs;
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) {
        final var gr1 = AivenFunctions.getGrafana(GetGrafanaArgs.builder()
            .project(data.aiven_project().ps1().project())
            .serviceName("my-gr1")
            .build());

    }
}
import pulumi
import pulumi_aiven as aiven

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

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

Using getGrafana

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

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

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

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

The following arguments are supported:

Project string

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.

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

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.

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

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.

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

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.

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

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.

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.

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.

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

getGrafana Result

The following output properties are available:

AdditionalDiskSpace string

Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.

CloudName 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, do google, 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<GetGrafanaComponent>

Service component information objects

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

DiskSpaceCap string

The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.

DiskSpaceDefault string

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

DiskSpaceStep string

The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.

DiskSpaceUsed string

Disk space that service is currently using

GrafanaUserConfigs List<GetGrafanaGrafanaUserConfig>

Grafana user configurable settings

Grafanas List<GetGrafanaGrafana>

Grafana server provided values

Id string

The provider-assigned unique ID for this managed resource.

MaintenanceWindowDow string

Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.

MaintenanceWindowTime string

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-x and premium-x where x is (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.

ProjectVpcId string

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.

ServiceHost string

The hostname of the service.

ServiceIntegrations List<GetGrafanaServiceIntegration>

Service integrations to specify when creating a service. Not applied after initial service creation

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

ServicePassword string

Password used for connecting to the service, if applicable

ServicePort int

The port of the service

ServiceType string

Aiven internal service type code

ServiceUri string

URI for connecting to the service. Service specific info is under "kafka", "pg", etc.

ServiceUsername string

Username used for connecting to the service, if applicable

State string

Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING

StaticIps 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

Tags List<GetGrafanaTag>

Tags are key-value pairs that allow you to categorize services.

TerminationProtection bool

Prevents the service from being deleted. It is recommended to set this to true for 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.

AdditionalDiskSpace string

Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.

CloudName 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, do google, 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 []GetGrafanaComponent

Service component information objects

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

DiskSpaceCap string

The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.

DiskSpaceDefault string

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

DiskSpaceStep string

The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.

DiskSpaceUsed string

Disk space that service is currently using

GrafanaUserConfigs []GetGrafanaGrafanaUserConfig

Grafana user configurable settings

Grafanas []GetGrafanaGrafana

Grafana server provided values

Id string

The provider-assigned unique ID for this managed resource.

MaintenanceWindowDow string

Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.

MaintenanceWindowTime string

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-x and premium-x where x is (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.

ProjectVpcId string

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.

ServiceHost string

The hostname of the service.

ServiceIntegrations []GetGrafanaServiceIntegration

Service integrations to specify when creating a service. Not applied after initial service creation

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

ServicePassword string

Password used for connecting to the service, if applicable

ServicePort int

The port of the service

ServiceType string

Aiven internal service type code

ServiceUri string

URI for connecting to the service. Service specific info is under "kafka", "pg", etc.

ServiceUsername string

Username used for connecting to the service, if applicable

State string

Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING

StaticIps []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

Tags []GetGrafanaTag

Tags are key-value pairs that allow you to categorize services.

TerminationProtection bool

Prevents the service from being deleted. It is recommended to set this to true for 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.

additionalDiskSpace String

Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.

cloudName 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, do google, 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<GetGrafanaComponent>

Service component information objects

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

diskSpaceCap String

The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.

diskSpaceDefault String

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

diskSpaceStep String

The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.

diskSpaceUsed String

Disk space that service is currently using

grafanaUserConfigs List<GetGrafanaGrafanaUserConfig>

Grafana user configurable settings

grafanas List<GetGrafanaGrafana>

Grafana server provided values

id String

The provider-assigned unique ID for this managed resource.

maintenanceWindowDow String

Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.

maintenanceWindowTime String

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-x and premium-x where x is (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.

projectVpcId String

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.

serviceHost String

The hostname of the service.

serviceIntegrations List<GetGrafanaServiceIntegration>

Service integrations to specify when creating a service. Not applied after initial service creation

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

servicePassword String

Password used for connecting to the service, if applicable

servicePort Integer

The port of the service

serviceType String

Aiven internal service type code

serviceUri String

URI for connecting to the service. Service specific info is under "kafka", "pg", etc.

serviceUsername String

Username used for connecting to the service, if applicable

state String

Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING

staticIps 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

tags List<GetGrafanaTag>

Tags are key-value pairs that allow you to categorize services.

terminationProtection Boolean

Prevents the service from being deleted. It is recommended to set this to true for 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.

additionalDiskSpace string

Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.

cloudName 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, do google, 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 GetGrafanaComponent[]

Service component information objects

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

diskSpaceCap string

The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.

diskSpaceDefault string

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

diskSpaceStep string

The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.

diskSpaceUsed string

Disk space that service is currently using

grafanaUserConfigs GetGrafanaGrafanaUserConfig[]

Grafana user configurable settings

grafanas GetGrafanaGrafana[]

Grafana server provided values

id string

The provider-assigned unique ID for this managed resource.

maintenanceWindowDow string

Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.

maintenanceWindowTime string

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-x and premium-x where x is (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.

projectVpcId string

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.

serviceHost string

The hostname of the service.

serviceIntegrations GetGrafanaServiceIntegration[]

Service integrations to specify when creating a service. Not applied after initial service creation

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

servicePassword string

Password used for connecting to the service, if applicable

servicePort number

The port of the service

serviceType string

Aiven internal service type code

serviceUri string

URI for connecting to the service. Service specific info is under "kafka", "pg", etc.

serviceUsername string

Username used for connecting to the service, if applicable

state string

Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING

staticIps 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

tags GetGrafanaTag[]

Tags are key-value pairs that allow you to categorize services.

terminationProtection boolean

Prevents the service from being deleted. It is recommended to set this to true for 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_space str

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, do google, 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[GetGrafanaComponent]

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

The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.

disk_space_default str

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

The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.

disk_space_used str

Disk space that service is currently using

grafana_user_configs Sequence[GetGrafanaGrafanaUserConfig]

Grafana user configurable settings

grafanas Sequence[GetGrafanaGrafana]

Grafana server provided values

id str

The provider-assigned unique ID for this managed resource.

maintenance_window_dow str

Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.

maintenance_window_time str

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-x and premium-x where x is (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_id str

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[GetGrafanaServiceIntegration]

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, REBUILDING or RUNNING

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

tags Sequence[GetGrafanaTag]

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 true for 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.

additionalDiskSpace String

Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.

cloudName 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, do google, 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

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

diskSpaceCap String

The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.

diskSpaceDefault String

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

diskSpaceStep String

The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_space needs to increment from disk_space_default by increments of this size.

diskSpaceUsed String

Disk space that service is currently using

grafanaUserConfigs List<Property Map>

Grafana user configurable settings

grafanas List<Property Map>

Grafana server provided values

id String

The provider-assigned unique ID for this managed resource.

maintenanceWindowDow String

Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.

maintenanceWindowTime String

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-x and premium-x where x is (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.

projectVpcId String

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.

serviceHost String

The hostname of the service.

serviceIntegrations List<Property Map>

Service integrations to specify when creating a service. Not applied after initial service creation

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

servicePassword String

Password used for connecting to the service, if applicable

servicePort Number

The port of the service

serviceType String

Aiven internal service type code

serviceUri String

URI for connecting to the service. Service specific info is under "kafka", "pg", etc.

serviceUsername String

Username used for connecting to the service, if applicable

state String

Service state. One of POWEROFF, REBALANCING, REBUILDING or RUNNING

staticIps 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

tags List<Property Map>

Tags are key-value pairs that allow you to categorize services.

terminationProtection Boolean

Prevents the service from being deleted. It is recommended to set this to true for 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

GetGrafanaComponent

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

GetGrafanaGrafanaUserConfig

AdditionalBackupRegions string
AlertingEnabled bool
AlertingErrorOrTimeout string
AlertingMaxAnnotationsToKeep int
AlertingNodataOrNullvalues string
AllowEmbedding bool
AuthAzuread GetGrafanaGrafanaUserConfigAuthAzuread
AuthBasicEnabled bool
AuthGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
AuthGithub GetGrafanaGrafanaUserConfigAuthGithub
AuthGitlab GetGrafanaGrafanaUserConfigAuthGitlab
AuthGoogle GetGrafanaGrafanaUserConfigAuthGoogle
CookieSamesite string
CustomDomain string
DashboardPreviewsEnabled bool
DashboardsMinRefreshInterval string
DashboardsVersionsToKeep int
DataproxySendUserHeader bool
DataproxyTimeout int
DateFormats GetGrafanaGrafanaUserConfigDateFormats
DisableGravatar bool
EditorsCanAdmin bool
ExternalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
GoogleAnalyticsUaId string
IpFilterObjects List<GetGrafanaGrafanaUserConfigIpFilterObject>
IpFilterStrings List<string>
IpFilters List<string>

Deprecated:

This will be removed in v5.0.0 and replaced with ip_filter_string instead. When switching to ip_filter_string, please apply the changes twice due to technical limitations.

MetricsEnabled bool
PrivateAccess GetGrafanaGrafanaUserConfigPrivateAccess
PrivatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
ProjectToForkFrom string
PublicAccess GetGrafanaGrafanaUserConfigPublicAccess
RecoveryBasebackupName string
ServiceToForkFrom string
SmtpServer GetGrafanaGrafanaUserConfigSmtpServer
StaticIps bool

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

UserAutoAssignOrg bool
UserAutoAssignOrgRole string
ViewersCanEdit bool
AdditionalBackupRegions string
AlertingEnabled bool
AlertingErrorOrTimeout string
AlertingMaxAnnotationsToKeep int
AlertingNodataOrNullvalues string
AllowEmbedding bool
AuthAzuread GetGrafanaGrafanaUserConfigAuthAzuread
AuthBasicEnabled bool
AuthGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
AuthGithub GetGrafanaGrafanaUserConfigAuthGithub
AuthGitlab GetGrafanaGrafanaUserConfigAuthGitlab
AuthGoogle GetGrafanaGrafanaUserConfigAuthGoogle
CookieSamesite string
CustomDomain string
DashboardPreviewsEnabled bool
DashboardsMinRefreshInterval string
DashboardsVersionsToKeep int
DataproxySendUserHeader bool
DataproxyTimeout int
DateFormats GetGrafanaGrafanaUserConfigDateFormats
DisableGravatar bool
EditorsCanAdmin bool
ExternalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
GoogleAnalyticsUaId string
IpFilterObjects []GetGrafanaGrafanaUserConfigIpFilterObject
IpFilterStrings []string
IpFilters []string

Deprecated:

This will be removed in v5.0.0 and replaced with ip_filter_string instead. When switching to ip_filter_string, please apply the changes twice due to technical limitations.

MetricsEnabled bool
PrivateAccess GetGrafanaGrafanaUserConfigPrivateAccess
PrivatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
ProjectToForkFrom string
PublicAccess GetGrafanaGrafanaUserConfigPublicAccess
RecoveryBasebackupName string
ServiceToForkFrom string
SmtpServer GetGrafanaGrafanaUserConfigSmtpServer
StaticIps bool

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

UserAutoAssignOrg bool
UserAutoAssignOrgRole string
ViewersCanEdit bool
additionalBackupRegions String
alertingEnabled Boolean
alertingErrorOrTimeout String
alertingMaxAnnotationsToKeep Integer
alertingNodataOrNullvalues String
allowEmbedding Boolean
authAzuread GetGrafanaGrafanaUserConfigAuthAzuread
authBasicEnabled Boolean
authGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
authGithub GetGrafanaGrafanaUserConfigAuthGithub
authGitlab GetGrafanaGrafanaUserConfigAuthGitlab
authGoogle GetGrafanaGrafanaUserConfigAuthGoogle
cookieSamesite String
customDomain String
dashboardPreviewsEnabled Boolean
dashboardsMinRefreshInterval String
dashboardsVersionsToKeep Integer
dataproxySendUserHeader Boolean
dataproxyTimeout Integer
dateFormats GetGrafanaGrafanaUserConfigDateFormats
disableGravatar Boolean
editorsCanAdmin Boolean
externalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
googleAnalyticsUaId String
ipFilterObjects List<GetGrafanaGrafanaUserConfigIpFilterObject>
ipFilterStrings List<String>
ipFilters List<String>

Deprecated:

This will be removed in v5.0.0 and replaced with ip_filter_string instead. When switching to ip_filter_string, please apply the changes twice due to technical limitations.

metricsEnabled Boolean
privateAccess GetGrafanaGrafanaUserConfigPrivateAccess
privatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
projectToForkFrom String
publicAccess GetGrafanaGrafanaUserConfigPublicAccess
recoveryBasebackupName String
serviceToForkFrom String
smtpServer GetGrafanaGrafanaUserConfigSmtpServer
staticIps Boolean

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

userAutoAssignOrg Boolean
userAutoAssignOrgRole String
viewersCanEdit Boolean
additionalBackupRegions string
alertingEnabled boolean
alertingErrorOrTimeout string
alertingMaxAnnotationsToKeep number
alertingNodataOrNullvalues string
allowEmbedding boolean
authAzuread GetGrafanaGrafanaUserConfigAuthAzuread
authBasicEnabled boolean
authGenericOauth GetGrafanaGrafanaUserConfigAuthGenericOauth
authGithub GetGrafanaGrafanaUserConfigAuthGithub
authGitlab GetGrafanaGrafanaUserConfigAuthGitlab
authGoogle GetGrafanaGrafanaUserConfigAuthGoogle
cookieSamesite string
customDomain string
dashboardPreviewsEnabled boolean
dashboardsMinRefreshInterval string
dashboardsVersionsToKeep number
dataproxySendUserHeader boolean
dataproxyTimeout number
dateFormats GetGrafanaGrafanaUserConfigDateFormats
disableGravatar boolean
editorsCanAdmin boolean
externalImageStorage GetGrafanaGrafanaUserConfigExternalImageStorage
googleAnalyticsUaId string
ipFilterObjects GetGrafanaGrafanaUserConfigIpFilterObject[]
ipFilterStrings string[]
ipFilters string[]

Deprecated:

This will be removed in v5.0.0 and replaced with ip_filter_string instead. When switching to ip_filter_string, please apply the changes twice due to technical limitations.

metricsEnabled boolean
privateAccess GetGrafanaGrafanaUserConfigPrivateAccess
privatelinkAccess GetGrafanaGrafanaUserConfigPrivatelinkAccess
projectToForkFrom string
publicAccess GetGrafanaGrafanaUserConfigPublicAccess
recoveryBasebackupName string
serviceToForkFrom string
smtpServer GetGrafanaGrafanaUserConfigSmtpServer
staticIps boolean

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

userAutoAssignOrg boolean
userAutoAssignOrgRole string
viewersCanEdit boolean
additional_backup_regions str
alerting_enabled bool
alerting_error_or_timeout str
alerting_max_annotations_to_keep int
alerting_nodata_or_nullvalues str
allow_embedding bool
auth_azuread GetGrafanaGrafanaUserConfigAuthAzuread
auth_basic_enabled bool
auth_generic_oauth GetGrafanaGrafanaUserConfigAuthGenericOauth
auth_github GetGrafanaGrafanaUserConfigAuthGithub
auth_gitlab GetGrafanaGrafanaUserConfigAuthGitlab
auth_google GetGrafanaGrafanaUserConfigAuthGoogle
cookie_samesite str
custom_domain str
dashboard_previews_enabled bool
dashboards_min_refresh_interval str
dashboards_versions_to_keep int
dataproxy_send_user_header bool
dataproxy_timeout int
date_formats GetGrafanaGrafanaUserConfigDateFormats
disable_gravatar bool
editors_can_admin bool
external_image_storage GetGrafanaGrafanaUserConfigExternalImageStorage
google_analytics_ua_id str
ip_filter_objects Sequence[GetGrafanaGrafanaUserConfigIpFilterObject]
ip_filter_strings Sequence[str]
ip_filters Sequence[str]

Deprecated:

This will be removed in v5.0.0 and replaced with ip_filter_string instead. When switching to ip_filter_string, please apply the changes twice due to technical limitations.

metrics_enabled bool
private_access GetGrafanaGrafanaUserConfigPrivateAccess
privatelink_access GetGrafanaGrafanaUserConfigPrivatelinkAccess
project_to_fork_from str
public_access GetGrafanaGrafanaUserConfigPublicAccess
recovery_basebackup_name str
service_to_fork_from str
smtp_server GetGrafanaGrafanaUserConfigSmtpServer
static_ips bool

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

user_auto_assign_org bool
user_auto_assign_org_role str
viewers_can_edit bool
additionalBackupRegions String
alertingEnabled Boolean
alertingErrorOrTimeout String
alertingMaxAnnotationsToKeep Number
alertingNodataOrNullvalues String
allowEmbedding Boolean
authAzuread Property Map
authBasicEnabled Boolean
authGenericOauth Property Map
authGithub Property Map
authGitlab Property Map
authGoogle Property Map
cookieSamesite String
customDomain String
dashboardPreviewsEnabled Boolean
dashboardsMinRefreshInterval String
dashboardsVersionsToKeep Number
dataproxySendUserHeader Boolean
dataproxyTimeout Number
dateFormats Property Map
disableGravatar Boolean
editorsCanAdmin Boolean
externalImageStorage Property Map
googleAnalyticsUaId String
ipFilterObjects List<Property Map>
ipFilterStrings List<String>
ipFilters List<String>

Deprecated:

This will be removed in v5.0.0 and replaced with ip_filter_string instead. When switching to ip_filter_string, please apply the changes twice due to technical limitations.

metricsEnabled Boolean
privateAccess Property Map
privatelinkAccess Property Map
projectToForkFrom String
publicAccess Property Map
recoveryBasebackupName String
serviceToForkFrom String
smtpServer Property Map
staticIps Boolean

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

userAutoAssignOrg Boolean
userAutoAssignOrgRole String
viewersCanEdit Boolean

GetGrafanaGrafanaUserConfigAuthAzuread

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

GetGrafanaGrafanaUserConfigAuthGenericOauth

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

GetGrafanaGrafanaUserConfigAuthGithub

ClientId string
ClientSecret string
AllowSignUp bool
AllowedOrganizations List<string>
TeamIds List<int>
clientId String
clientSecret String
allowSignUp Boolean
allowedOrganizations List<String>
teamIds List<Integer>
clientId string
clientSecret string
allowSignUp boolean
allowedOrganizations string[]
teamIds number[]
clientId String
clientSecret String
allowSignUp Boolean
allowedOrganizations List<String>
teamIds List<Number>

GetGrafanaGrafanaUserConfigAuthGitlab

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

GetGrafanaGrafanaUserConfigAuthGoogle

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

GetGrafanaGrafanaUserConfigDateFormats

GetGrafanaGrafanaUserConfigExternalImageStorage

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

GetGrafanaGrafanaUserConfigIpFilterObject

Network string
Description string
Network string
Description string
network String
description String
network string
description string
network String
description String

GetGrafanaGrafanaUserConfigPrivateAccess

Grafana bool

Grafana server provided values

Grafana bool

Grafana server provided values

grafana Boolean

Grafana server provided values

grafana boolean

Grafana server provided values

grafana bool

Grafana server provided values

grafana Boolean

Grafana server provided values

GetGrafanaGrafanaUserConfigPrivatelinkAccess

Grafana bool

Grafana server provided values

Grafana bool

Grafana server provided values

grafana Boolean

Grafana server provided values

grafana boolean

Grafana server provided values

grafana bool

Grafana server provided values

grafana Boolean

Grafana server provided values

GetGrafanaGrafanaUserConfigPublicAccess

Grafana bool

Grafana server provided values

Grafana bool

Grafana server provided values

grafana Boolean

Grafana server provided values

grafana boolean

Grafana server provided values

grafana bool

Grafana server provided values

grafana Boolean

Grafana server provided values

GetGrafanaGrafanaUserConfigSmtpServer

FromAddress string
Host string
Port int
FromName string
Password string
SkipVerify bool
StarttlsPolicy string
Username string
FromAddress string
Host string
Port int
FromName string
Password string
SkipVerify bool
StarttlsPolicy string
Username string
fromAddress String
host String
port Integer
fromName String
password String
skipVerify Boolean
starttlsPolicy String
username String
fromAddress string
host string
port number
fromName string
password string
skipVerify boolean
starttlsPolicy string
username string
fromAddress String
host String
port Number
fromName String
password String
skipVerify Boolean
starttlsPolicy String
username String

GetGrafanaServiceIntegration

GetGrafanaTag

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

Package Details

Repository
Aiven pulumi/pulumi-aiven
License
Apache-2.0
Notes

This Pulumi package is based on the aiven Terraform Provider.