aiven.InfluxDb
Explore with Pulumi AI
The InfluxDB resource allows the creation and management of Aiven InfluxDB services.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var inf1 = new Aiven.InfluxDb("inf1", new()
{
Project = data.Aiven_project.Pr1.Project,
CloudName = "google-europe-west1",
Plan = "startup-4",
ServiceName = "my-inf1",
MaintenanceWindowDow = "monday",
MaintenanceWindowTime = "10:00:00",
InfluxdbUserConfig = new Aiven.Inputs.InfluxDbInfluxdbUserConfigArgs
{
PublicAccess = new Aiven.Inputs.InfluxDbInfluxdbUserConfigPublicAccessArgs
{
Influxdb = true,
},
},
});
});
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.NewInfluxDb(ctx, "inf1", &aiven.InfluxDbArgs{
Project: pulumi.Any(data.Aiven_project.Pr1.Project),
CloudName: pulumi.String("google-europe-west1"),
Plan: pulumi.String("startup-4"),
ServiceName: pulumi.String("my-inf1"),
MaintenanceWindowDow: pulumi.String("monday"),
MaintenanceWindowTime: pulumi.String("10:00:00"),
InfluxdbUserConfig: &aiven.InfluxDbInfluxdbUserConfigArgs{
PublicAccess: &aiven.InfluxDbInfluxdbUserConfigPublicAccessArgs{
Influxdb: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.InfluxDb;
import com.pulumi.aiven.InfluxDbArgs;
import com.pulumi.aiven.inputs.InfluxDbInfluxdbUserConfigArgs;
import com.pulumi.aiven.inputs.InfluxDbInfluxdbUserConfigPublicAccessArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var inf1 = new InfluxDb("inf1", InfluxDbArgs.builder()
.project(data.aiven_project().pr1().project())
.cloudName("google-europe-west1")
.plan("startup-4")
.serviceName("my-inf1")
.maintenanceWindowDow("monday")
.maintenanceWindowTime("10:00:00")
.influxdbUserConfig(InfluxDbInfluxdbUserConfigArgs.builder()
.publicAccess(InfluxDbInfluxdbUserConfigPublicAccessArgs.builder()
.influxdb(true)
.build())
.build())
.build());
}
}
import pulumi
import pulumi_aiven as aiven
inf1 = aiven.InfluxDb("inf1",
project=data["aiven_project"]["pr1"]["project"],
cloud_name="google-europe-west1",
plan="startup-4",
service_name="my-inf1",
maintenance_window_dow="monday",
maintenance_window_time="10:00:00",
influxdb_user_config=aiven.InfluxDbInfluxdbUserConfigArgs(
public_access=aiven.InfluxDbInfluxdbUserConfigPublicAccessArgs(
influxdb=True,
),
))
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const inf1 = new aiven.InfluxDb("inf1", {
project: data.aiven_project.pr1.project,
cloudName: "google-europe-west1",
plan: "startup-4",
serviceName: "my-inf1",
maintenanceWindowDow: "monday",
maintenanceWindowTime: "10:00:00",
influxdbUserConfig: {
publicAccess: {
influxdb: true,
},
},
});
resources:
inf1:
type: aiven:InfluxDb
properties:
project: ${data.aiven_project.pr1.project}
cloudName: google-europe-west1
plan: startup-4
serviceName: my-inf1
maintenanceWindowDow: monday
maintenanceWindowTime: 10:00:00
influxdbUserConfig:
publicAccess:
influxdb: true
Create InfluxDb Resource
new InfluxDb(name: string, args: InfluxDbArgs, opts?: CustomResourceOptions);
@overload
def InfluxDb(resource_name: str,
opts: Optional[ResourceOptions] = None,
additional_disk_space: Optional[str] = None,
cloud_name: Optional[str] = None,
disk_space: Optional[str] = None,
influxdb_user_config: Optional[InfluxDbInfluxdbUserConfigArgs] = None,
maintenance_window_dow: Optional[str] = None,
maintenance_window_time: Optional[str] = None,
plan: Optional[str] = None,
project: Optional[str] = None,
project_vpc_id: Optional[str] = None,
service_integrations: Optional[Sequence[InfluxDbServiceIntegrationArgs]] = None,
service_name: Optional[str] = None,
static_ips: Optional[Sequence[str]] = None,
tags: Optional[Sequence[InfluxDbTagArgs]] = None,
termination_protection: Optional[bool] = None)
@overload
def InfluxDb(resource_name: str,
args: InfluxDbArgs,
opts: Optional[ResourceOptions] = None)
func NewInfluxDb(ctx *Context, name string, args InfluxDbArgs, opts ...ResourceOption) (*InfluxDb, error)
public InfluxDb(string name, InfluxDbArgs args, CustomResourceOptions? opts = null)
public InfluxDb(String name, InfluxDbArgs args)
public InfluxDb(String name, InfluxDbArgs args, CustomResourceOptions options)
type: aiven:InfluxDb
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InfluxDbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InfluxDbArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InfluxDbArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InfluxDbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InfluxDbArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InfluxDb Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InfluxDb resource accepts the following input properties:
- 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.
- 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.
- 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.- 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- Influxdb
User InfluxConfig Db Influxdb User Config Influxdb user configurable settings
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Project
Vpc stringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Integrations List<InfluxDb Service Integration> Service integrations to specify when creating a service. Not applied after initial service creation
- Static
Ips List<string> Use static public IP addresses.
- List<Influx
Db 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.
- 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.
- 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.
- 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.- 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- Influxdb
User InfluxConfig Db Influxdb User Config Args Influxdb user configurable settings
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Project
Vpc stringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Integrations []InfluxDb Service Integration Args Service integrations to specify when creating a service. Not applied after initial service creation
- Static
Ips []string Use static public IP addresses.
- []Influx
Db Tag Args Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool Prevents the service from being deleted. It is recommended to set this to
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.
- 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.
- 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.
- 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.- 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- influxdb
User InfluxConfig Db Influxdb User Config Influxdb user configurable settings
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- project
Vpc StringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations List<InfluxDb Service Integration> Service integrations to specify when creating a service. Not applied after initial service creation
- static
Ips List<String> Use static public IP addresses.
- List<Influx
Db 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.
- 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.
- 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.
- 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.- 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- influxdb
User InfluxConfig Db Influxdb User Config Influxdb user configurable settings
- maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- project
Vpc stringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations InfluxDb Service Integration[] Service integrations to specify when creating a service. Not applied after initial service creation
- static
Ips string[] Use static public IP addresses.
- Influx
Db 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.
- 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.
- 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.
- 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.- 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- influxdb_
user_ Influxconfig Db Influxdb User Config Args Influxdb user configurable settings
- maintenance_
window_ strdow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- project_
vpc_ strid Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service_
integrations Sequence[InfluxDb Service Integration Args] Service integrations to specify when creating a service. Not applied after initial service creation
- static_
ips Sequence[str] Use static public IP addresses.
- Sequence[Influx
Db Tag Args] Tags are key-value pairs that allow you to categorize services.
- termination_
protection bool Prevents the service from being deleted. It is recommended to set this to
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.
- 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.
- 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.
- 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.- 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- influxdb
User Property MapConfig Influxdb user configurable settings
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- project
Vpc StringId Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Integrations List<Property Map> Service integrations to specify when creating a service. Not applied after initial service creation
- static
Ips List<String> Use static public IP addresses.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the InfluxDb resource produces the following output properties:
- Components
List<Influx
Db Component> Service component information objects
- Disk
Space stringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- Disk
Space stringUsed Disk space that service is currently using
- Id string
The provider-assigned unique ID for this managed resource.
- Influxdbs
List<Influx
Db Influxdb> influxdb.conf configuration values.
- Service
Host string The hostname of the service.
- Service
Password string Password used for connecting to the service, if applicable
- Service
Port int The port of the service
- Service
Type string Aiven internal service type code
- Service
Uri string URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string Username used for connecting to the service, if applicable
- State string
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Components
[]Influx
Db Component Service component information objects
- Disk
Space stringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- Disk
Space stringUsed Disk space that service is currently using
- Id string
The provider-assigned unique ID for this managed resource.
- Influxdbs
[]Influx
Db Influxdb influxdb.conf configuration values.
- Service
Host string The hostname of the service.
- Service
Password string Password used for connecting to the service, if applicable
- Service
Port int The port of the service
- Service
Type string Aiven internal service type code
- Service
Uri string URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string Username used for connecting to the service, if applicable
- State string
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- components
List<Influx
Db Component> Service component information objects
- disk
Space StringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space StringUsed Disk space that service is currently using
- id String
The provider-assigned unique ID for this managed resource.
- influxdbs
List<Influx
Db Influxdb> influxdb.conf configuration values.
- service
Host String The hostname of the service.
- service
Password String Password used for connecting to the service, if applicable
- service
Port Integer The port of the service
- service
Type String Aiven internal service type code
- service
Uri String URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String Username used for connecting to the service, if applicable
- state String
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- components
Influx
Db Component[] Service component information objects
- disk
Space stringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space stringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space stringUsed Disk space that service is currently using
- id string
The provider-assigned unique ID for this managed resource.
- influxdbs
Influx
Db Influxdb[] influxdb.conf configuration values.
- service
Host string The hostname of the service.
- service
Password string Password used for connecting to the service, if applicable
- service
Port number The port of the service
- service
Type string Aiven internal service type code
- service
Uri string URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string Username used for connecting to the service, if applicable
- state string
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- components
Sequence[Influx
Db Component] Service component information objects
- disk_
space_ strcap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk_
space_ strstep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk_
space_ strused Disk space that service is currently using
- id str
The provider-assigned unique ID for this managed resource.
- influxdbs
Sequence[Influx
Db Influxdb] influxdb.conf configuration values.
- service_
host str The hostname of the service.
- service_
password str Password used for connecting to the service, if applicable
- service_
port int The port of the service
- service_
type str Aiven internal service type code
- service_
uri str URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str Username used for connecting to the service, if applicable
- state str
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- components List<Property Map>
Service component information objects
- disk
Space StringCap The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size.- disk
Space StringUsed Disk space that service is currently using
- id String
The provider-assigned unique ID for this managed resource.
- influxdbs List<Property Map>
influxdb.conf configuration values.
- service
Host String The hostname of the service.
- service
Password String Password used for connecting to the service, if applicable
- service
Port Number The port of the service
- service
Type String Aiven internal service type code
- service
Uri String URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String Username used for connecting to the service, if applicable
- state String
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
Look up Existing InfluxDb Resource
Get an existing InfluxDb resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InfluxDbState, opts?: CustomResourceOptions): InfluxDb
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_disk_space: Optional[str] = None,
cloud_name: Optional[str] = None,
components: Optional[Sequence[InfluxDbComponentArgs]] = None,
disk_space: Optional[str] = None,
disk_space_cap: Optional[str] = None,
disk_space_default: Optional[str] = None,
disk_space_step: Optional[str] = None,
disk_space_used: Optional[str] = None,
influxdb_user_config: Optional[InfluxDbInfluxdbUserConfigArgs] = None,
influxdbs: Optional[Sequence[InfluxDbInfluxdbArgs]] = None,
maintenance_window_dow: Optional[str] = None,
maintenance_window_time: Optional[str] = None,
plan: Optional[str] = None,
project: Optional[str] = None,
project_vpc_id: Optional[str] = None,
service_host: Optional[str] = None,
service_integrations: Optional[Sequence[InfluxDbServiceIntegrationArgs]] = None,
service_name: Optional[str] = None,
service_password: Optional[str] = None,
service_port: Optional[int] = None,
service_type: Optional[str] = None,
service_uri: Optional[str] = None,
service_username: Optional[str] = None,
state: Optional[str] = None,
static_ips: Optional[Sequence[str]] = None,
tags: Optional[Sequence[InfluxDbTagArgs]] = None,
termination_protection: Optional[bool] = None) -> InfluxDb
func GetInfluxDb(ctx *Context, name string, id IDInput, state *InfluxDbState, opts ...ResourceOption) (*InfluxDb, error)
public static InfluxDb Get(string name, Input<string> id, InfluxDbState? state, CustomResourceOptions? opts = null)
public static InfluxDb get(String name, Output<String> id, InfluxDbState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Additional
Disk stringSpace Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Cloud
Name string Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,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<Influx
Db 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- 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
- Influxdb
User InfluxConfig Db Influxdb User Config Influxdb user configurable settings
- Influxdbs
List<Influx
Db Influxdb> influxdb.conf configuration values.
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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<InfluxDb 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> Use static public IP addresses.
- List<Influx
Db 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
[]Influx
Db Component Args Service component information objects
- Disk
Space string Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- 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
- Influxdb
User InfluxConfig Db Influxdb User Config Args Influxdb user configurable settings
- Influxdbs
[]Influx
Db Influxdb Args influxdb.conf configuration values.
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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 []InfluxDb Service Integration Args Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string Password used for connecting to the service, if applicable
- Service
Port int The port of the service
- Service
Type string Aiven internal service type code
- Service
Uri string URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string Username used for connecting to the service, if applicable
- State string
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Static
Ips []string Use static public IP addresses.
- []Influx
Db Tag Args Tags are key-value pairs that allow you to categorize services.
- Termination
Protection bool Prevents the service from being deleted. It is recommended to set this to
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<Influx
Db 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- 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
- influxdb
User InfluxConfig Db Influxdb User Config Influxdb user configurable settings
- influxdbs
List<Influx
Db Influxdb> influxdb.conf configuration values.
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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<InfluxDb 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> Use static public IP addresses.
- List<Influx
Db 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
Influx
Db 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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- 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
- influxdb
User InfluxConfig Db Influxdb User Config Influxdb user configurable settings
- influxdbs
Influx
Db Influxdb[] influxdb.conf configuration values.
- maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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 InfluxDb 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[] Use static public IP addresses.
- Influx
Db 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[Influx
Db Component Args] Service component information objects
- disk_
space str Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- 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
- influxdb_
user_ Influxconfig Db Influxdb User Config Args Influxdb user configurable settings
- influxdbs
Sequence[Influx
Db Influxdb Args] influxdb.conf configuration values.
- maintenance_
window_ strdow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan str
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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[InfluxDb Service Integration Args] Service integrations to specify when creating a service. Not applied after initial service creation
- service_
name str Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service_
password str Password used for connecting to the service, if applicable
- service_
port int The port of the service
- service_
type str Aiven internal service type code
- service_
uri str URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str Username used for connecting to the service, if applicable
- state str
Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static_
ips Sequence[str] Use static public IP addresses.
- Sequence[Influx
Db Tag Args] Tags are key-value pairs that allow you to categorize services.
- termination_
protection bool Prevents the service from being deleted. It is recommended to set this to
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.
This will be removed in v5.0.0. Please use
additional_disk_space
to specify the space to be added to the defaultdisk_space
defined by the plan.- 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
- influxdb
User Property MapConfig Influxdb user configurable settings
- influxdbs List<Property Map>
influxdb.conf configuration values.
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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> Use static public IP addresses.
- 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
InfluxDbComponent, InfluxDbComponentArgs
InfluxDbInfluxdb, InfluxDbInfluxdbArgs
- Database
Name string
- Database
Name string
- database
Name String
- database
Name string
- database_
name str
- database
Name String
InfluxDbInfluxdbUserConfig, InfluxDbInfluxdbUserConfigArgs
- Additional
Backup stringRegions Additional Cloud Regions for Backup Replication.
- Custom
Domain string Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
- Influxdb
Influx
Db Influxdb User Config Influxdb influxdb.conf configuration values.
- Ip
Filter List<InfluxObjects Db Influxdb User Config Ip Filter Object> Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- Ip
Filter List<string>Strings Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- Ip
Filters List<string> Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- Private
Access InfluxDb Influxdb User Config Private Access Allow access to selected service ports from private networks.
- Privatelink
Access InfluxDb Influxdb User Config Privatelink Access Allow access to selected service components through Privatelink.
- Project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- Public
Access InfluxDb Influxdb User Config Public Access Allow access to selected service ports from the public Internet.
- Recovery
Basebackup stringName Name of the basebackup to restore in forked service.
- Service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- Static
Ips bool Use static public IP addresses.
- Additional
Backup stringRegions Additional Cloud Regions for Backup Replication.
- Custom
Domain string Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
- Influxdb
Influx
Db Influxdb User Config Influxdb influxdb.conf configuration values.
- Ip
Filter []InfluxObjects Db Influxdb User Config Ip Filter Object Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- Ip
Filter []stringStrings Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- Ip
Filters []string Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- Private
Access InfluxDb Influxdb User Config Private Access Allow access to selected service ports from private networks.
- Privatelink
Access InfluxDb Influxdb User Config Privatelink Access Allow access to selected service components through Privatelink.
- Project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- Public
Access InfluxDb Influxdb User Config Public Access Allow access to selected service ports from the public Internet.
- Recovery
Basebackup stringName Name of the basebackup to restore in forked service.
- Service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- Static
Ips bool Use static public IP addresses.
- additional
Backup StringRegions Additional Cloud Regions for Backup Replication.
- custom
Domain String Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
- influxdb
Influx
Db Influxdb User Config Influxdb influxdb.conf configuration values.
- ip
Filter List<InfluxObjects Db Influxdb User Config Ip Filter Object> Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip
Filter List<String>Strings Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip
Filters List<String> Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- private
Access InfluxDb Influxdb User Config Private Access Allow access to selected service ports from private networks.
- privatelink
Access InfluxDb Influxdb User Config Privatelink Access Allow access to selected service components through Privatelink.
- project
To StringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- public
Access InfluxDb Influxdb User Config Public Access Allow access to selected service ports from the public Internet.
- recovery
Basebackup StringName Name of the basebackup to restore in forked service.
- service
To StringFork From Name of another service to fork from. This has effect only when a new service is being created.
- static
Ips Boolean Use static public IP addresses.
- additional
Backup stringRegions Additional Cloud Regions for Backup Replication.
- custom
Domain string Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
- influxdb
Influx
Db Influxdb User Config Influxdb influxdb.conf configuration values.
- ip
Filter InfluxObjects Db Influxdb User Config Ip Filter Object[] Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip
Filter string[]Strings Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip
Filters string[] Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- private
Access InfluxDb Influxdb User Config Private Access Allow access to selected service ports from private networks.
- privatelink
Access InfluxDb Influxdb User Config Privatelink Access Allow access to selected service components through Privatelink.
- project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- public
Access InfluxDb Influxdb User Config Public Access Allow access to selected service ports from the public Internet.
- recovery
Basebackup stringName Name of the basebackup to restore in forked service.
- service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- static
Ips boolean Use static public IP addresses.
- additional_
backup_ strregions Additional Cloud Regions for Backup Replication.
- custom_
domain str Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
- influxdb
Influx
Db Influxdb User Config Influxdb influxdb.conf configuration values.
- ip_
filter_ Sequence[Influxobjects Db Influxdb User Config Ip Filter Object] Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip_
filter_ Sequence[str]strings Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip_
filters Sequence[str] Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- private_
access InfluxDb Influxdb User Config Private Access Allow access to selected service ports from private networks.
- privatelink_
access InfluxDb Influxdb User Config Privatelink Access Allow access to selected service components through Privatelink.
- project_
to_ strfork_ from Name of another project to fork a service from. This has effect only when a new service is being created.
- public_
access InfluxDb Influxdb User Config Public Access Allow access to selected service ports from the public Internet.
- recovery_
basebackup_ strname Name of the basebackup to restore in forked service.
- service_
to_ strfork_ from Name of another service to fork from. This has effect only when a new service is being created.
- static_
ips bool Use static public IP addresses.
- additional
Backup StringRegions Additional Cloud Regions for Backup Replication.
- custom
Domain String Serve the web frontend using a custom CNAME pointing to the Aiven DNS name.
- influxdb Property Map
influxdb.conf configuration values.
- ip
Filter List<Property Map>Objects Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip
Filter List<String>Strings Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
- ip
Filters List<String> Allow incoming connections from CIDR address block, e.g. '10.20.0.0/16'.
This will be removed in v5.0.0 and replaced with ip_filter_string instead.
- private
Access Property Map Allow access to selected service ports from private networks.
- privatelink
Access Property Map Allow access to selected service components through Privatelink.
- project
To StringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- public
Access Property Map Allow access to selected service ports from the public Internet.
- recovery
Basebackup StringName Name of the basebackup to restore in forked service.
- service
To StringFork From Name of another service to fork from. This has effect only when a new service is being created.
- static
Ips Boolean Use static public IP addresses.
InfluxDbInfluxdbUserConfigInfluxdb, InfluxDbInfluxdbUserConfigInfluxdbArgs
- Log
Queries intAfter The maximum duration in seconds before a query is logged as a slow query. Setting this to 0 (the default) will never log slow queries.
- Max
Connection intLimit Maximum number of connections to InfluxDB. Setting this to 0 (default) means no limit. If using maxconnectionlimit, it is recommended to set the value to be large enough in order to not block clients unnecessarily.
- Max
Row intLimit The maximum number of rows returned in a non-chunked query. Setting this to 0 (the default) allows an unlimited number to be returned.
- Max
Select intBuckets The maximum number of
GROUP BY time()
buckets that can be processed in a query. Setting this to 0 (the default) allows an unlimited number to be processed.- Max
Select intPoint The maximum number of points that can be processed in a SELECT statement. Setting this to 0 (the default) allows an unlimited number to be processed.
- Query
Log boolEnabled Whether queries should be logged before execution. May log sensitive data contained within a query.
- Query
Timeout int The maximum duration in seconds before a query is killed. Setting this to 0 (the default) will never kill slow queries.
- Log
Queries intAfter The maximum duration in seconds before a query is logged as a slow query. Setting this to 0 (the default) will never log slow queries.
- Max
Connection intLimit Maximum number of connections to InfluxDB. Setting this to 0 (default) means no limit. If using maxconnectionlimit, it is recommended to set the value to be large enough in order to not block clients unnecessarily.
- Max
Row intLimit The maximum number of rows returned in a non-chunked query. Setting this to 0 (the default) allows an unlimited number to be returned.
- Max
Select intBuckets The maximum number of
GROUP BY time()
buckets that can be processed in a query. Setting this to 0 (the default) allows an unlimited number to be processed.- Max
Select intPoint The maximum number of points that can be processed in a SELECT statement. Setting this to 0 (the default) allows an unlimited number to be processed.
- Query
Log boolEnabled Whether queries should be logged before execution. May log sensitive data contained within a query.
- Query
Timeout int The maximum duration in seconds before a query is killed. Setting this to 0 (the default) will never kill slow queries.
- log
Queries IntegerAfter The maximum duration in seconds before a query is logged as a slow query. Setting this to 0 (the default) will never log slow queries.
- max
Connection IntegerLimit Maximum number of connections to InfluxDB. Setting this to 0 (default) means no limit. If using maxconnectionlimit, it is recommended to set the value to be large enough in order to not block clients unnecessarily.
- max
Row IntegerLimit The maximum number of rows returned in a non-chunked query. Setting this to 0 (the default) allows an unlimited number to be returned.
- max
Select IntegerBuckets The maximum number of
GROUP BY time()
buckets that can be processed in a query. Setting this to 0 (the default) allows an unlimited number to be processed.- max
Select IntegerPoint The maximum number of points that can be processed in a SELECT statement. Setting this to 0 (the default) allows an unlimited number to be processed.
- query
Log BooleanEnabled Whether queries should be logged before execution. May log sensitive data contained within a query.
- query
Timeout Integer The maximum duration in seconds before a query is killed. Setting this to 0 (the default) will never kill slow queries.
- log
Queries numberAfter The maximum duration in seconds before a query is logged as a slow query. Setting this to 0 (the default) will never log slow queries.
- max
Connection numberLimit Maximum number of connections to InfluxDB. Setting this to 0 (default) means no limit. If using maxconnectionlimit, it is recommended to set the value to be large enough in order to not block clients unnecessarily.
- max
Row numberLimit The maximum number of rows returned in a non-chunked query. Setting this to 0 (the default) allows an unlimited number to be returned.
- max
Select numberBuckets The maximum number of
GROUP BY time()
buckets that can be processed in a query. Setting this to 0 (the default) allows an unlimited number to be processed.- max
Select numberPoint The maximum number of points that can be processed in a SELECT statement. Setting this to 0 (the default) allows an unlimited number to be processed.
- query
Log booleanEnabled Whether queries should be logged before execution. May log sensitive data contained within a query.
- query
Timeout number The maximum duration in seconds before a query is killed. Setting this to 0 (the default) will never kill slow queries.
- log_
queries_ intafter The maximum duration in seconds before a query is logged as a slow query. Setting this to 0 (the default) will never log slow queries.
- max_
connection_ intlimit Maximum number of connections to InfluxDB. Setting this to 0 (default) means no limit. If using maxconnectionlimit, it is recommended to set the value to be large enough in order to not block clients unnecessarily.
- max_
row_ intlimit The maximum number of rows returned in a non-chunked query. Setting this to 0 (the default) allows an unlimited number to be returned.
- max_
select_ intbuckets The maximum number of
GROUP BY time()
buckets that can be processed in a query. Setting this to 0 (the default) allows an unlimited number to be processed.- max_
select_ intpoint The maximum number of points that can be processed in a SELECT statement. Setting this to 0 (the default) allows an unlimited number to be processed.
- query_
log_ boolenabled Whether queries should be logged before execution. May log sensitive data contained within a query.
- query_
timeout int The maximum duration in seconds before a query is killed. Setting this to 0 (the default) will never kill slow queries.
- log
Queries NumberAfter The maximum duration in seconds before a query is logged as a slow query. Setting this to 0 (the default) will never log slow queries.
- max
Connection NumberLimit Maximum number of connections to InfluxDB. Setting this to 0 (default) means no limit. If using maxconnectionlimit, it is recommended to set the value to be large enough in order to not block clients unnecessarily.
- max
Row NumberLimit The maximum number of rows returned in a non-chunked query. Setting this to 0 (the default) allows an unlimited number to be returned.
- max
Select NumberBuckets The maximum number of
GROUP BY time()
buckets that can be processed in a query. Setting this to 0 (the default) allows an unlimited number to be processed.- max
Select NumberPoint The maximum number of points that can be processed in a SELECT statement. Setting this to 0 (the default) allows an unlimited number to be processed.
- query
Log BooleanEnabled Whether queries should be logged before execution. May log sensitive data contained within a query.
- query
Timeout Number The maximum duration in seconds before a query is killed. Setting this to 0 (the default) will never kill slow queries.
InfluxDbInfluxdbUserConfigIpFilterObject, InfluxDbInfluxdbUserConfigIpFilterObjectArgs
- Network string
CIDR address block.
- Description string
Description for IP filter list entry.
- Network string
CIDR address block.
- Description string
Description for IP filter list entry.
- network String
CIDR address block.
- description String
Description for IP filter list entry.
- network string
CIDR address block.
- description string
Description for IP filter list entry.
- network str
CIDR address block.
- description str
Description for IP filter list entry.
- network String
CIDR address block.
- description String
Description for IP filter list entry.
InfluxDbInfluxdbUserConfigPrivateAccess, InfluxDbInfluxdbUserConfigPrivateAccessArgs
- Influxdb bool
influxdb.conf configuration values.
- Influxdb bool
influxdb.conf configuration values.
- influxdb Boolean
influxdb.conf configuration values.
- influxdb boolean
influxdb.conf configuration values.
- influxdb bool
influxdb.conf configuration values.
- influxdb Boolean
influxdb.conf configuration values.
InfluxDbInfluxdbUserConfigPrivatelinkAccess, InfluxDbInfluxdbUserConfigPrivatelinkAccessArgs
- Influxdb bool
influxdb.conf configuration values.
- Influxdb bool
influxdb.conf configuration values.
- influxdb Boolean
influxdb.conf configuration values.
- influxdb boolean
influxdb.conf configuration values.
- influxdb bool
influxdb.conf configuration values.
- influxdb Boolean
influxdb.conf configuration values.
InfluxDbInfluxdbUserConfigPublicAccess, InfluxDbInfluxdbUserConfigPublicAccessArgs
- Influxdb bool
influxdb.conf configuration values.
- Influxdb bool
influxdb.conf configuration values.
- influxdb Boolean
influxdb.conf configuration values.
- influxdb boolean
influxdb.conf configuration values.
- influxdb bool
influxdb.conf configuration values.
- influxdb Boolean
influxdb.conf configuration values.
InfluxDbServiceIntegration, InfluxDbServiceIntegrationArgs
- Integration
Type string Type of the service integration. The only supported value at the moment is
read_replica
- Source
Service stringName Name of the source service
- Integration
Type string Type of the service integration. The only supported value at the moment is
read_replica
- Source
Service stringName Name of the source service
- integration
Type String Type of the service integration. The only supported value at the moment is
read_replica
- source
Service StringName Name of the source service
- integration
Type string Type of the service integration. The only supported value at the moment is
read_replica
- source
Service stringName Name of the source service
- integration_
type str Type of the service integration. The only supported value at the moment is
read_replica
- source_
service_ strname Name of the source service
- integration
Type String Type of the service integration. The only supported value at the moment is
read_replica
- source
Service StringName Name of the source service
InfluxDbTag, InfluxDbTagArgs
Import
$ pulumi import aiven:index/influxDb:InfluxDb inf1 project/service_name
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aiven
Terraform Provider.