aiven.getM3Db
Explore with Pulumi AI
The M3 DB data source provides information about the existing Aiven M3 services.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var m3 = Aiven.GetM3Db.Invoke(new()
{
Project = data.Aiven_project.Foo.Project,
ServiceName = "my-m3db",
});
});
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.LookupM3Db(ctx, &aiven.LookupM3DbArgs{
Project: data.Aiven_project.Foo.Project,
ServiceName: "my-m3db",
}, 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.GetM3DbArgs;
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 m3 = AivenFunctions.getM3Db(GetM3DbArgs.builder()
.project(data.aiven_project().foo().project())
.serviceName("my-m3db")
.build());
}
}
import pulumi
import pulumi_aiven as aiven
m3 = aiven.get_m3_db(project=data["aiven_project"]["foo"]["project"],
service_name="my-m3db")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const m3 = aiven.getM3Db({
project: data.aiven_project.foo.project,
serviceName: "my-m3db",
});
variables:
m3:
fn::invoke:
Function: aiven:getM3Db
Arguments:
project: ${data.aiven_project.foo.project}
serviceName: my-m3db
Using getM3Db
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 getM3Db(args: GetM3DbArgs, opts?: InvokeOptions): Promise<GetM3DbResult>
function getM3DbOutput(args: GetM3DbOutputArgs, opts?: InvokeOptions): Output<GetM3DbResult>
def get_m3_db(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetM3DbResult
def get_m3_db_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetM3DbResult]
func LookupM3Db(ctx *Context, args *LookupM3DbArgs, opts ...InvokeOption) (*LookupM3DbResult, error)
func LookupM3DbOutput(ctx *Context, args *LookupM3DbOutputArgs, opts ...InvokeOption) LookupM3DbResultOutput
> Note: This function is named LookupM3Db
in the Go SDK.
public static class GetM3Db
{
public static Task<GetM3DbResult> InvokeAsync(GetM3DbArgs args, InvokeOptions? opts = null)
public static Output<GetM3DbResult> Invoke(GetM3DbInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetM3DbResult> getM3Db(GetM3DbArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aiven:index/getM3Db:getM3Db
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.
getM3Db 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
M3Db 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
- Id string
The provider-assigned unique ID for this managed resource.
- M3db
User List<GetConfigs M3Db M3db User Config> M3db user configurable settings
- M3dbs
List<Get
M3Db M3db> M3 specific server provided values
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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<GetM3Db 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
M3Db 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
M3Db 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
- Id string
The provider-assigned unique ID for this managed resource.
- M3db
User []GetConfigs M3Db M3db User Config M3db user configurable settings
- M3dbs
[]Get
M3Db M3db M3 specific server provided values
- Maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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 []GetM3Db 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
M3Db 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
M3Db 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
- id String
The provider-assigned unique ID for this managed resource.
- m3db
User List<GetConfigs M3Db M3db User Config> M3db user configurable settings
- m3dbs
List<Get
M3Db M3db> M3 specific server provided values
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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<GetM3Db 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
M3Db 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
M3Db 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
- id string
The provider-assigned unique ID for this managed resource.
- m3db
User GetConfigs M3Db M3db User Config[] M3db user configurable settings
- m3dbs
Get
M3Db M3db[] M3 specific server provided values
- maintenance
Window stringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan string
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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 GetM3Db 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
M3Db 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
M3Db 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
- id str
The provider-assigned unique ID for this managed resource.
- m3db_
user_ Sequence[Getconfigs M3Db M3db User Config] M3db user configurable settings
- m3dbs
Sequence[Get
M3Db M3db] M3 specific server provided values
- maintenance_
window_ strdow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan str
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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[GetM3Db 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
M3Db 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
- id String
The provider-assigned unique ID for this managed resource.
- m3db
User List<Property Map>Configs M3db user configurable settings
- m3dbs List<Property Map>
M3 specific server provided values
- maintenance
Window StringDow Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-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
GetM3DbComponent
GetM3DbM3dbUserConfig
- Additional
Backup stringRegions - Custom
Domain string - Ip
Filter List<GetObjects M3Db M3db 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.
- Limits
Get
M3Db M3db User Config Limits - M3
Get
M3Db M3db User Config M3 - M3Version string
Usage of this field is discouraged.
- M3coordinator
Enable boolGraphite Carbon Ingest - M3db
Version string - Namespaces
List<Get
M3Db M3db User Config Namespace> - Private
Access GetM3Db M3db User Config Private Access - Project
To stringFork From - Public
Access GetM3Db M3db User Config Public Access - Rules
Get
M3Db M3db User Config Rules - Service
To stringFork From - Static
Ips bool
- Additional
Backup stringRegions - Custom
Domain string - Ip
Filter []GetObjects M3Db M3db 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.
- Limits
Get
M3Db M3db User Config Limits - M3
Get
M3Db M3db User Config M3 - M3Version string
Usage of this field is discouraged.
- M3coordinator
Enable boolGraphite Carbon Ingest - M3db
Version string - Namespaces
[]Get
M3Db M3db User Config Namespace - Private
Access GetM3Db M3db User Config Private Access - Project
To stringFork From - Public
Access GetM3Db M3db User Config Public Access - Rules
Get
M3Db M3db User Config Rules - Service
To stringFork From - Static
Ips bool
- additional
Backup StringRegions - custom
Domain String - ip
Filter List<GetObjects M3Db M3db 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.
- limits
Get
M3Db M3db User Config Limits - m3
Get
M3Db M3db User Config M3 - m3Version String
Usage of this field is discouraged.
- m3coordinator
Enable BooleanGraphite Carbon Ingest - m3db
Version String - namespaces
List<Get
M3Db M3db User Config Namespace> - private
Access GetM3Db M3db User Config Private Access - project
To StringFork From - public
Access GetM3Db M3db User Config Public Access - rules
Get
M3Db M3db User Config Rules - service
To StringFork From - static
Ips Boolean
- additional
Backup stringRegions - custom
Domain string - ip
Filter GetObjects M3Db M3db 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.
- limits
Get
M3Db M3db User Config Limits - m3
Get
M3Db M3db User Config M3 - m3Version string
Usage of this field is discouraged.
- m3coordinator
Enable booleanGraphite Carbon Ingest - m3db
Version string - namespaces
Get
M3Db M3db User Config Namespace[] - private
Access GetM3Db M3db User Config Private Access - project
To stringFork From - public
Access GetM3Db M3db User Config Public Access - rules
Get
M3Db M3db User Config Rules - service
To stringFork From - static
Ips boolean
- additional_
backup_ strregions - custom_
domain str - ip_
filter_ Sequence[Getobjects M3Db M3db 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.
- limits
Get
M3Db M3db User Config Limits - m3
Get
M3Db M3db User Config M3 - m3_
version str Usage of this field is discouraged.
- m3coordinator_
enable_ boolgraphite_ carbon_ ingest - m3db_
version str - namespaces
Sequence[Get
M3Db M3db User Config Namespace] - private_
access GetM3Db M3db User Config Private Access - project_
to_ strfork_ from - public_
access GetM3Db M3db User Config Public Access - rules
Get
M3Db M3db User Config Rules - service_
to_ strfork_ from - static_
ips bool
- additional
Backup StringRegions - custom
Domain String - 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.
- limits Property Map
- m3 Property Map
- m3Version String
Usage of this field is discouraged.
- m3coordinator
Enable BooleanGraphite Carbon Ingest - m3db
Version String - namespaces List<Property Map>
- private
Access Property Map - project
To StringFork From - public
Access Property Map - rules Property Map
- service
To StringFork From - static
Ips Boolean
GetM3DbM3dbUserConfigIpFilterObject
- Network string
- Description string
- Network string
- Description string
- network String
- description String
- network string
- description string
- network str
- description str
- network String
- description String
GetM3DbM3dbUserConfigLimits
- max
Recently IntegerQueried Series Blocks - max
Recently IntegerQueried Series Disk Bytes Read - max
Recently StringQueried Series Lookback - query
Docs Integer - query
Require BooleanExhaustive - query
Series Integer
- max
Recently numberQueried Series Blocks - max
Recently numberQueried Series Disk Bytes Read - max
Recently stringQueried Series Lookback - query
Docs number - query
Require booleanExhaustive - query
Series number
- max
Recently NumberQueried Series Blocks - max
Recently NumberQueried Series Disk Bytes Read - max
Recently StringQueried Series Lookback - query
Docs Number - query
Require BooleanExhaustive - query
Series Number
GetM3DbM3dbUserConfigM3
GetM3DbM3dbUserConfigM3TagOptions
- Allow
Tag boolName Duplicates - Allow
Tag boolValue Empty
- Allow
Tag boolName Duplicates - Allow
Tag boolValue Empty
- allow
Tag BooleanName Duplicates - allow
Tag BooleanValue Empty
- allow
Tag booleanName Duplicates - allow
Tag booleanValue Empty
- allow
Tag BooleanName Duplicates - allow
Tag BooleanValue Empty
GetM3DbM3dbUserConfigNamespace
- Name string
- Type string
- Options
Get
M3Db M3db User Config Namespace Options - Resolution string
- Name string
- Type string
- Options
Get
M3Db M3db User Config Namespace Options - Resolution string
- name String
- type String
- options
Get
M3Db M3db User Config Namespace Options - resolution String
- name string
- type string
- options
Get
M3Db M3db User Config Namespace Options - resolution string
- name String
- type String
- options Property Map
- resolution String
GetM3DbM3dbUserConfigNamespaceOptions
- retention
Options Property Map - snapshot
Enabled Boolean - writes
To BooleanCommitlog
GetM3DbM3dbUserConfigNamespaceOptionsRetentionOptions
- Block
Data stringExpiry Duration - Blocksize
Duration string - Buffer
Future stringDuration - Buffer
Past stringDuration - Retention
Period stringDuration
- Block
Data stringExpiry Duration - Blocksize
Duration string - Buffer
Future stringDuration - Buffer
Past stringDuration - Retention
Period stringDuration
- block
Data StringExpiry Duration - blocksize
Duration String - buffer
Future StringDuration - buffer
Past StringDuration - retention
Period StringDuration
- block
Data stringExpiry Duration - blocksize
Duration string - buffer
Future stringDuration - buffer
Past stringDuration - retention
Period stringDuration
- block
Data StringExpiry Duration - blocksize
Duration String - buffer
Future StringDuration - buffer
Past StringDuration - retention
Period StringDuration
GetM3DbM3dbUserConfigPrivateAccess
- M3coordinator bool
- M3coordinator bool
- m3coordinator Boolean
- m3coordinator boolean
- m3coordinator bool
- m3coordinator Boolean
GetM3DbM3dbUserConfigPublicAccess
- M3coordinator bool
- M3coordinator bool
- m3coordinator Boolean
- m3coordinator boolean
- m3coordinator bool
- m3coordinator Boolean
GetM3DbM3dbUserConfigRules
GetM3DbM3dbUserConfigRulesMapping
- Filter string
- Aggregations List<string>
- Drop bool
- Name string
- Namespaces List<string>
This will be removed in v5.0.0 and replaced with namespaces_string instead.
- Namespaces
Objects List<GetM3Db M3db User Config Rules Mapping Namespaces Object> - Namespaces
Strings List<string> - List<Get
M3Db M3db User Config Rules Mapping Tag>
- Filter string
- Aggregations []string
- Drop bool
- Name string
- Namespaces []string
This will be removed in v5.0.0 and replaced with namespaces_string instead.
- Namespaces
Objects []GetM3Db M3db User Config Rules Mapping Namespaces Object - Namespaces
Strings []string - []Get
M3Db M3db User Config Rules Mapping Tag
- filter String
- aggregations List<String>
- drop Boolean
- name String
- namespaces List<String>
This will be removed in v5.0.0 and replaced with namespaces_string instead.
- namespaces
Objects List<GetM3Db M3db User Config Rules Mapping Namespaces Object> - namespaces
Strings List<String> - List<Get
M3Db M3db User Config Rules Mapping Tag>
- filter string
- aggregations string[]
- drop boolean
- name string
- namespaces string[]
This will be removed in v5.0.0 and replaced with namespaces_string instead.
- namespaces
Objects GetM3Db M3db User Config Rules Mapping Namespaces Object[] - namespaces
Strings string[] - Get
M3Db M3db User Config Rules Mapping Tag[]
- filter str
- aggregations Sequence[str]
- drop bool
- name str
- namespaces Sequence[str]
This will be removed in v5.0.0 and replaced with namespaces_string instead.
- namespaces_
objects Sequence[GetM3Db M3db User Config Rules Mapping Namespaces Object] - namespaces_
strings Sequence[str] - Sequence[Get
M3Db M3db User Config Rules Mapping Tag]
- filter String
- aggregations List<String>
- drop Boolean
- name String
- namespaces List<String>
This will be removed in v5.0.0 and replaced with namespaces_string instead.
- namespaces
Objects List<Property Map> - namespaces
Strings List<String> - List<Property Map>
GetM3DbM3dbUserConfigRulesMappingNamespacesObject
- Resolution string
- Retention string
- Resolution string
- Retention string
- resolution String
- retention String
- resolution string
- retention string
- resolution str
- retention str
- resolution String
- retention String
GetM3DbM3dbUserConfigRulesMappingTag
GetM3DbServiceIntegration
- 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
GetM3DbTag
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aiven
Terraform Provider.