aiven.getGrafana
Explore with Pulumi AI
The Grafana data source provides information about the existing Aiven Grafana service.
Example Usage
using System.Collections.Generic;
using System.Linq;
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getGrafana Result
The following output properties are available:
- 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
,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<Get
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_space
needs to increment fromdisk_space_default
by increments of this size.- Disk
Space stringUsed Disk space that service is currently using
- Grafana
User List<GetConfigs Grafana Grafana User Config> Grafana user configurable settings
- Grafanas
List<Get
Grafana Grafana> Grafana server provided values
- Id string
The provider-assigned unique ID for this managed resource.
- 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-x
andpremium-x
wherex
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.
- 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<GetGrafana Service 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
,REBUILDING
orRUNNING
- 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<Get
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
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 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
,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
[]Get
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_space
needs to increment fromdisk_space_default
by increments of this size.- Disk
Space stringUsed Disk space that service is currently using
- Grafana
User []GetConfigs Grafana Grafana User Config Grafana user configurable settings
- Grafanas
[]Get
Grafana Grafana Grafana server provided values
- Id string
The provider-assigned unique ID for this managed resource.
- 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-x
andpremium-x
wherex
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.
- 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 []GetGrafana Service 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
,REBUILDING
orRUNNING
- 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
- []Get
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
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 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
,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<Get
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_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space StringUsed Disk space that service is currently using
- grafana
User List<GetConfigs Grafana Grafana User Config> Grafana user configurable settings
- grafanas
List<Get
Grafana Grafana> Grafana server provided values
- id String
The provider-assigned unique ID for this managed resource.
- 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-x
andpremium-x
wherex
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.
- 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<GetGrafana Service 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
,REBUILDING
orRUNNING
- 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<Get
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
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 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
,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
Get
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_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space stringUsed Disk space that service is currently using
- grafana
User GetConfigs Grafana Grafana User Config[] Grafana user configurable settings
- grafanas
Get
Grafana Grafana[] Grafana server provided values
- id string
The provider-assigned unique ID for this managed resource.
- 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-x
andpremium-x
wherex
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.
- 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 GetGrafana Service 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
,REBUILDING
orRUNNING
- 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
- Get
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
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_ 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
,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[Get
Grafana Component] 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_space
needs to increment fromdisk_space_default
by increments of this size.- disk_
space_ strused Disk space that service is currently using
- grafana_
user_ Sequence[Getconfigs Grafana Grafana User Config] Grafana user configurable settings
- grafanas
Sequence[Get
Grafana Grafana] Grafana server provided values
- id str
The provider-assigned unique ID for this managed resource.
- 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-x
andpremium-x
wherex
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_ 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[GetGrafana Service Integration] 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
orRUNNING
- 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[Get
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
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 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
,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
- 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_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space StringUsed Disk space that service is currently using
- grafana
User List<Property Map>Configs Grafana user configurable settings
- grafanas List<Property Map>
Grafana server provided values
- id String
The provider-assigned unique ID for this managed resource.
- 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-x
andpremium-x
wherex
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.
- 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
,REBUILDING
orRUNNING
- 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
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
GetGrafanaGrafanaUserConfig
- Additional
Backup stringRegions - Alerting
Enabled bool - Alerting
Error stringOr Timeout - Alerting
Max intAnnotations To Keep - Alerting
Nodata stringOr Nullvalues - Allow
Embedding bool - Auth
Azuread GetGrafana Grafana User Config Auth Azuread - Auth
Basic boolEnabled - Auth
Generic GetOauth Grafana Grafana User Config Auth Generic Oauth - Auth
Github GetGrafana Grafana User Config Auth Github - Auth
Gitlab GetGrafana Grafana User Config Auth Gitlab - Auth
Google GetGrafana Grafana User Config Auth Google - string
- Custom
Domain string - Dashboard
Previews boolEnabled - Dashboards
Min stringRefresh Interval - Dashboards
Versions intTo Keep - Dataproxy
Send boolUser Header - Dataproxy
Timeout int - Date
Formats GetGrafana Grafana User Config Date Formats - Disable
Gravatar bool - Editors
Can boolAdmin - External
Image GetStorage Grafana Grafana User Config External Image Storage - Google
Analytics stringUa Id - Ip
Filter List<GetObjects Grafana Grafana User Config Ip Filter Object> - Ip
Filter List<string>Strings - Ip
Filters List<string> This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- Metrics
Enabled bool - Oauth
Allow boolInsecure Email Lookup - Private
Access GetGrafana Grafana User Config Private Access - Privatelink
Access GetGrafana Grafana User Config Privatelink Access - Project
To stringFork From - Public
Access GetGrafana Grafana User Config Public Access - Recovery
Basebackup stringName - Service
To stringFork From - Smtp
Server GetGrafana Grafana User Config Smtp Server - Static
Ips bool - User
Auto boolAssign Org - User
Auto stringAssign Org Role - Viewers
Can boolEdit
- Additional
Backup stringRegions - Alerting
Enabled bool - Alerting
Error stringOr Timeout - Alerting
Max intAnnotations To Keep - Alerting
Nodata stringOr Nullvalues - Allow
Embedding bool - Auth
Azuread GetGrafana Grafana User Config Auth Azuread - Auth
Basic boolEnabled - Auth
Generic GetOauth Grafana Grafana User Config Auth Generic Oauth - Auth
Github GetGrafana Grafana User Config Auth Github - Auth
Gitlab GetGrafana Grafana User Config Auth Gitlab - Auth
Google GetGrafana Grafana User Config Auth Google - string
- Custom
Domain string - Dashboard
Previews boolEnabled - Dashboards
Min stringRefresh Interval - Dashboards
Versions intTo Keep - Dataproxy
Send boolUser Header - Dataproxy
Timeout int - Date
Formats GetGrafana Grafana User Config Date Formats - Disable
Gravatar bool - Editors
Can boolAdmin - External
Image GetStorage Grafana Grafana User Config External Image Storage - Google
Analytics stringUa Id - Ip
Filter []GetObjects Grafana Grafana User Config Ip Filter Object - Ip
Filter []stringStrings - Ip
Filters []string This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- Metrics
Enabled bool - Oauth
Allow boolInsecure Email Lookup - Private
Access GetGrafana Grafana User Config Private Access - Privatelink
Access GetGrafana Grafana User Config Privatelink Access - Project
To stringFork From - Public
Access GetGrafana Grafana User Config Public Access - Recovery
Basebackup stringName - Service
To stringFork From - Smtp
Server GetGrafana Grafana User Config Smtp Server - Static
Ips bool - User
Auto boolAssign Org - User
Auto stringAssign Org Role - Viewers
Can boolEdit
- additional
Backup StringRegions - alerting
Enabled Boolean - alerting
Error StringOr Timeout - alerting
Max IntegerAnnotations To Keep - alerting
Nodata StringOr Nullvalues - allow
Embedding Boolean - auth
Azuread GetGrafana Grafana User Config Auth Azuread - auth
Basic BooleanEnabled - auth
Generic GetOauth Grafana Grafana User Config Auth Generic Oauth - auth
Github GetGrafana Grafana User Config Auth Github - auth
Gitlab GetGrafana Grafana User Config Auth Gitlab - auth
Google GetGrafana Grafana User Config Auth Google - String
- custom
Domain String - dashboard
Previews BooleanEnabled - dashboards
Min StringRefresh Interval - dashboards
Versions IntegerTo Keep - dataproxy
Send BooleanUser Header - dataproxy
Timeout Integer - date
Formats GetGrafana Grafana User Config Date Formats - disable
Gravatar Boolean - editors
Can BooleanAdmin - external
Image GetStorage Grafana Grafana User Config External Image Storage - google
Analytics StringUa Id - ip
Filter List<GetObjects Grafana Grafana User Config Ip Filter Object> - ip
Filter List<String>Strings - ip
Filters List<String> This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- metrics
Enabled Boolean - oauth
Allow BooleanInsecure Email Lookup - private
Access GetGrafana Grafana User Config Private Access - privatelink
Access GetGrafana Grafana User Config Privatelink Access - project
To StringFork From - public
Access GetGrafana Grafana User Config Public Access - recovery
Basebackup StringName - service
To StringFork From - smtp
Server GetGrafana Grafana User Config Smtp Server - static
Ips Boolean - user
Auto BooleanAssign Org - user
Auto StringAssign Org Role - viewers
Can BooleanEdit
- additional
Backup stringRegions - alerting
Enabled boolean - alerting
Error stringOr Timeout - alerting
Max numberAnnotations To Keep - alerting
Nodata stringOr Nullvalues - allow
Embedding boolean - auth
Azuread GetGrafana Grafana User Config Auth Azuread - auth
Basic booleanEnabled - auth
Generic GetOauth Grafana Grafana User Config Auth Generic Oauth - auth
Github GetGrafana Grafana User Config Auth Github - auth
Gitlab GetGrafana Grafana User Config Auth Gitlab - auth
Google GetGrafana Grafana User Config Auth Google - string
- custom
Domain string - dashboard
Previews booleanEnabled - dashboards
Min stringRefresh Interval - dashboards
Versions numberTo Keep - dataproxy
Send booleanUser Header - dataproxy
Timeout number - date
Formats GetGrafana Grafana User Config Date Formats - disable
Gravatar boolean - editors
Can booleanAdmin - external
Image GetStorage Grafana Grafana User Config External Image Storage - google
Analytics stringUa Id - ip
Filter GetObjects Grafana Grafana User Config Ip Filter Object[] - ip
Filter string[]Strings - ip
Filters string[] This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- metrics
Enabled boolean - oauth
Allow booleanInsecure Email Lookup - private
Access GetGrafana Grafana User Config Private Access - privatelink
Access GetGrafana Grafana User Config Privatelink Access - project
To stringFork From - public
Access GetGrafana Grafana User Config Public Access - recovery
Basebackup stringName - service
To stringFork From - smtp
Server GetGrafana Grafana User Config Smtp Server - static
Ips boolean - user
Auto booleanAssign Org - user
Auto stringAssign Org Role - viewers
Can booleanEdit
- additional_
backup_ strregions - alerting_
enabled bool - alerting_
error_ stror_ timeout - alerting_
max_ intannotations_ to_ keep - alerting_
nodata_ stror_ nullvalues - allow_
embedding bool - auth_
azuread GetGrafana Grafana User Config Auth Azuread - auth_
basic_ boolenabled - auth_
generic_ Getoauth Grafana Grafana User Config Auth Generic Oauth - auth_
github GetGrafana Grafana User Config Auth Github - auth_
gitlab GetGrafana Grafana User Config Auth Gitlab - auth_
google GetGrafana Grafana User Config Auth Google - str
- custom_
domain str - dashboard_
previews_ boolenabled - dashboards_
min_ strrefresh_ interval - dashboards_
versions_ intto_ keep - dataproxy_
send_ booluser_ header - dataproxy_
timeout int - date_
formats GetGrafana Grafana User Config Date Formats - disable_
gravatar bool - editors_
can_ booladmin - external_
image_ Getstorage Grafana Grafana User Config External Image Storage - google_
analytics_ strua_ id - ip_
filter_ Sequence[Getobjects Grafana Grafana User Config Ip Filter Object] - ip_
filter_ Sequence[str]strings - ip_
filters Sequence[str] This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- metrics_
enabled bool - oauth_
allow_ boolinsecure_ email_ lookup - private_
access GetGrafana Grafana User Config Private Access - privatelink_
access GetGrafana Grafana User Config Privatelink Access - project_
to_ strfork_ from - public_
access GetGrafana Grafana User Config Public Access - recovery_
basebackup_ strname - service_
to_ strfork_ from - smtp_
server GetGrafana Grafana User Config Smtp Server - static_
ips bool - user_
auto_ boolassign_ org - user_
auto_ strassign_ org_ role - viewers_
can_ booledit
- additional
Backup StringRegions - alerting
Enabled Boolean - alerting
Error StringOr Timeout - alerting
Max NumberAnnotations To Keep - alerting
Nodata StringOr Nullvalues - allow
Embedding Boolean - auth
Azuread Property Map - auth
Basic BooleanEnabled - auth
Generic Property MapOauth - auth
Github Property Map - auth
Gitlab Property Map - auth
Google Property Map - String
- custom
Domain String - dashboard
Previews BooleanEnabled - dashboards
Min StringRefresh Interval - dashboards
Versions NumberTo Keep - dataproxy
Send BooleanUser Header - dataproxy
Timeout Number - date
Formats Property Map - disable
Gravatar Boolean - editors
Can BooleanAdmin - external
Image Property MapStorage - google
Analytics StringUa Id - ip
Filter List<Property Map>Objects - ip
Filter List<String>Strings - ip
Filters List<String> This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- metrics
Enabled Boolean - oauth
Allow BooleanInsecure Email Lookup - 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 Boolean - user
Auto BooleanAssign Org - user
Auto StringAssign Org Role - viewers
Can BooleanEdit
GetGrafanaGrafanaUserConfigAuthAzuread
- Auth
Url string - Client
Id string - Client
Secret string - Token
Url string - Allow
Sign boolUp - Allowed
Domains List<string> - Allowed
Groups List<string>
- Auth
Url string - Client
Id string - Client
Secret string - Token
Url string - Allow
Sign boolUp - Allowed
Domains []string - Allowed
Groups []string
- auth
Url String - client
Id String - client
Secret String - token
Url String - allow
Sign BooleanUp - allowed
Domains List<String> - allowed
Groups List<String>
- auth
Url string - client
Id string - client
Secret string - token
Url string - allow
Sign booleanUp - allowed
Domains string[] - allowed
Groups string[]
- auth_
url str - client_
id str - client_
secret str - token_
url str - allow_
sign_ boolup - allowed_
domains Sequence[str] - allowed_
groups Sequence[str]
- auth
Url String - client
Id String - client
Secret String - token
Url String - allow
Sign BooleanUp - allowed
Domains List<String> - allowed
Groups List<String>
GetGrafanaGrafanaUserConfigAuthGenericOauth
- Api
Url string - Auth
Url string - Client
Id string - Client
Secret string - Token
Url string - Allow
Sign boolUp - Allowed
Domains List<string> - Allowed
Organizations List<string> - Auto
Login bool - Name string
- Scopes List<string>
- Api
Url string - Auth
Url string - Client
Id string - Client
Secret string - Token
Url string - Allow
Sign boolUp - Allowed
Domains []string - Allowed
Organizations []string - Auto
Login bool - Name string
- Scopes []string
- api
Url String - auth
Url String - client
Id String - client
Secret String - token
Url String - allow
Sign BooleanUp - allowed
Domains List<String> - allowed
Organizations List<String> - auto
Login Boolean - name String
- scopes List<String>
- api
Url string - auth
Url string - client
Id string - client
Secret string - token
Url string - allow
Sign booleanUp - allowed
Domains string[] - allowed
Organizations string[] - auto
Login boolean - name string
- scopes string[]
- api_
url str - auth_
url str - client_
id str - client_
secret str - token_
url str - allow_
sign_ boolup - allowed_
domains Sequence[str] - allowed_
organizations Sequence[str] - auto_
login bool - name str
- scopes Sequence[str]
- api
Url String - auth
Url String - client
Id String - client
Secret String - token
Url String - allow
Sign BooleanUp - allowed
Domains List<String> - allowed
Organizations List<String> - auto
Login Boolean - name String
- scopes List<String>
GetGrafanaGrafanaUserConfigAuthGithub
- Client
Id string - Client
Secret string - Allow
Sign boolUp - Allowed
Organizations List<string> - Team
Ids List<int>
- Client
Id string - Client
Secret string - Allow
Sign boolUp - Allowed
Organizations []string - Team
Ids []int
- client
Id String - client
Secret String - allow
Sign BooleanUp - allowed
Organizations List<String> - team
Ids List<Integer>
- client
Id string - client
Secret string - allow
Sign booleanUp - allowed
Organizations string[] - team
Ids number[]
- client_
id str - client_
secret str - allow_
sign_ boolup - allowed_
organizations Sequence[str] - team_
ids Sequence[int]
- client
Id String - client
Secret String - allow
Sign BooleanUp - allowed
Organizations List<String> - team
Ids List<Number>
GetGrafanaGrafanaUserConfigAuthGitlab
- Client
Id string - Client
Secret string - Allow
Sign boolUp - Allowed
Groups List<string> - Api
Url string - Auth
Url string - Token
Url string
- Client
Id string - Client
Secret string - Allow
Sign boolUp - Allowed
Groups []string - Api
Url string - Auth
Url string - Token
Url string
- client
Id String - client
Secret String - allow
Sign BooleanUp - allowed
Groups List<String> - api
Url String - auth
Url String - token
Url String
- client
Id string - client
Secret string - allow
Sign booleanUp - allowed
Groups string[] - api
Url string - auth
Url string - token
Url string
- client_
id str - client_
secret str - allow_
sign_ boolup - allowed_
groups Sequence[str] - api_
url str - auth_
url str - token_
url str
- client
Id String - client
Secret String - allow
Sign BooleanUp - allowed
Groups List<String> - api
Url String - auth
Url String - token
Url String
GetGrafanaGrafanaUserConfigAuthGoogle
- Client
Id string - Client
Secret string - Allow
Sign boolUp - Allowed
Domains List<string>
- Client
Id string - Client
Secret string - Allow
Sign boolUp - Allowed
Domains []string
- client
Id String - client
Secret String - allow
Sign BooleanUp - allowed
Domains List<String>
- client
Id string - client
Secret string - allow
Sign booleanUp - allowed
Domains string[]
- client_
id str - client_
secret str - allow_
sign_ boolup - allowed_
domains Sequence[str]
- client
Id String - client
Secret String - allow
Sign BooleanUp - allowed
Domains List<String>
GetGrafanaGrafanaUserConfigDateFormats
- 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
GetGrafanaGrafanaUserConfigExternalImageStorage
- access_
key str - bucket_
url str - provider str
- secret_
key str
GetGrafanaGrafanaUserConfigIpFilterObject
- Network string
- Description string
- Network string
- Description string
- network String
- description String
- network string
- description string
- network str
- description str
- network String
- description String
GetGrafanaGrafanaUserConfigPrivateAccess
- Grafana bool
- Grafana bool
- grafana Boolean
- grafana boolean
- grafana bool
- grafana Boolean
GetGrafanaGrafanaUserConfigPrivatelinkAccess
- Grafana bool
- Grafana bool
- grafana Boolean
- grafana boolean
- grafana bool
- grafana Boolean
GetGrafanaGrafanaUserConfigPublicAccess
- Grafana bool
- Grafana bool
- grafana Boolean
- grafana boolean
- grafana bool
- grafana Boolean
GetGrafanaGrafanaUserConfigSmtpServer
- From
Address string - Host string
- Port int
- From
Name string - Password string
- Skip
Verify bool - Starttls
Policy string - Username string
- From
Address string - Host string
- Port int
- From
Name string - Password string
- Skip
Verify bool - Starttls
Policy string - Username string
- from
Address String - host String
- port Integer
- from
Name String - password String
- skip
Verify Boolean - starttls
Policy String - username String
- from
Address string - host string
- port number
- from
Name string - password string
- skip
Verify boolean - starttls
Policy string - username string
- from_
address str - host str
- port int
- from_
name str - password str
- skip_
verify bool - starttls_
policy str - username str
- from
Address String - host String
- port Number
- from
Name String - password String
- skip
Verify Boolean - starttls
Policy String - username String
GetGrafanaServiceIntegration
- 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
GetGrafanaTag
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aiven
Terraform Provider.