aiven.Thanos
Explore with Pulumi AI
Creates and manages an Aiven for Metrics® service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const exampleThanos = new aiven.Thanos("example_thanos", {
project: exampleProject.project,
plan: "startup-4",
cloudName: "google-europe-west1",
serviceName: "example-thanos-service",
thanosUserConfig: {
compactor: {
retentionDays: 30,
},
objectStorageUsageAlertThresholdGb: 10,
},
});
import pulumi
import pulumi_aiven as aiven
example_thanos = aiven.Thanos("example_thanos",
project=example_project["project"],
plan="startup-4",
cloud_name="google-europe-west1",
service_name="example-thanos-service",
thanos_user_config={
"compactor": {
"retention_days": 30,
},
"object_storage_usage_alert_threshold_gb": 10,
})
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.NewThanos(ctx, "example_thanos", &aiven.ThanosArgs{
Project: pulumi.Any(exampleProject.Project),
Plan: pulumi.String("startup-4"),
CloudName: pulumi.String("google-europe-west1"),
ServiceName: pulumi.String("example-thanos-service"),
ThanosUserConfig: &aiven.ThanosThanosUserConfigArgs{
Compactor: &aiven.ThanosThanosUserConfigCompactorArgs{
RetentionDays: pulumi.Int(30),
},
ObjectStorageUsageAlertThresholdGb: pulumi.Int(10),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var exampleThanos = new Aiven.Thanos("example_thanos", new()
{
Project = exampleProject.Project,
Plan = "startup-4",
CloudName = "google-europe-west1",
ServiceName = "example-thanos-service",
ThanosUserConfig = new Aiven.Inputs.ThanosThanosUserConfigArgs
{
Compactor = new Aiven.Inputs.ThanosThanosUserConfigCompactorArgs
{
RetentionDays = 30,
},
ObjectStorageUsageAlertThresholdGb = 10,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.Thanos;
import com.pulumi.aiven.ThanosArgs;
import com.pulumi.aiven.inputs.ThanosThanosUserConfigArgs;
import com.pulumi.aiven.inputs.ThanosThanosUserConfigCompactorArgs;
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 exampleThanos = new Thanos("exampleThanos", ThanosArgs.builder()
.project(exampleProject.project())
.plan("startup-4")
.cloudName("google-europe-west1")
.serviceName("example-thanos-service")
.thanosUserConfig(ThanosThanosUserConfigArgs.builder()
.compactor(ThanosThanosUserConfigCompactorArgs.builder()
.retentionDays("30")
.build())
.objectStorageUsageAlertThresholdGb("10")
.build())
.build());
}
}
resources:
exampleThanos:
type: aiven:Thanos
name: example_thanos
properties:
project: ${exampleProject.project}
plan: startup-4
cloudName: google-europe-west1
serviceName: example-thanos-service
thanosUserConfig:
compactor:
retentionDays: '30'
objectStorageUsageAlertThresholdGb: '10'
Create Thanos Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Thanos(name: string, args: ThanosArgs, opts?: CustomResourceOptions);
@overload
def Thanos(resource_name: str,
args: ThanosArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Thanos(resource_name: str,
opts: Optional[ResourceOptions] = None,
plan: Optional[str] = None,
service_name: Optional[str] = None,
project: Optional[str] = None,
service_integrations: Optional[Sequence[ThanosServiceIntegrationArgs]] = None,
maintenance_window_time: Optional[str] = None,
maintenance_window_dow: Optional[str] = None,
disk_space: Optional[str] = None,
project_vpc_id: Optional[str] = None,
additional_disk_space: Optional[str] = None,
cloud_name: Optional[str] = None,
static_ips: Optional[Sequence[str]] = None,
tags: Optional[Sequence[ThanosTagArgs]] = None,
tech_emails: Optional[Sequence[ThanosTechEmailArgs]] = None,
termination_protection: Optional[bool] = None,
thanos: Optional[ThanosThanosArgs] = None,
thanos_user_config: Optional[ThanosThanosUserConfigArgs] = None)
func NewThanos(ctx *Context, name string, args ThanosArgs, opts ...ResourceOption) (*Thanos, error)
public Thanos(string name, ThanosArgs args, CustomResourceOptions? opts = null)
public Thanos(String name, ThanosArgs args)
public Thanos(String name, ThanosArgs args, CustomResourceOptions options)
type: aiven:Thanos
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ThanosArgs
- 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 ThanosArgs
- 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 ThanosArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ThanosArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ThanosArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var thanosResource = new Aiven.Thanos("thanosResource", new()
{
Plan = "string",
ServiceName = "string",
Project = "string",
ServiceIntegrations = new[]
{
new Aiven.Inputs.ThanosServiceIntegrationArgs
{
IntegrationType = "string",
SourceServiceName = "string",
},
},
MaintenanceWindowTime = "string",
MaintenanceWindowDow = "string",
ProjectVpcId = "string",
AdditionalDiskSpace = "string",
CloudName = "string",
StaticIps = new[]
{
"string",
},
Tags = new[]
{
new Aiven.Inputs.ThanosTagArgs
{
Key = "string",
Value = "string",
},
},
TechEmails = new[]
{
new Aiven.Inputs.ThanosTechEmailArgs
{
Email = "string",
},
},
TerminationProtection = false,
ThanosServer = new Aiven.Inputs.ThanosThanosArgs
{
QueryFrontendUri = "string",
QueryUri = "string",
ReceiverRemoteWriteUri = "string",
Uris = new[]
{
"string",
},
},
ThanosUserConfig = new Aiven.Inputs.ThanosThanosUserConfigArgs
{
Compactor = new Aiven.Inputs.ThanosThanosUserConfigCompactorArgs
{
RetentionDays = 0,
},
IpFilterObjects = new[]
{
new Aiven.Inputs.ThanosThanosUserConfigIpFilterObjectArgs
{
Network = "string",
Description = "string",
},
},
IpFilterStrings = new[]
{
"string",
},
ObjectStorageUsageAlertThresholdGb = 0,
PublicAccess = new Aiven.Inputs.ThanosThanosUserConfigPublicAccessArgs
{
Compactor = false,
Query = false,
QueryFrontend = false,
ReceiverIngesting = false,
ReceiverRouting = false,
Ruler = false,
Store = false,
},
Query = new Aiven.Inputs.ThanosThanosUserConfigQueryArgs
{
QueryDefaultEvaluationInterval = "string",
QueryLookbackDelta = "string",
QueryMetadataDefaultTimeRange = "string",
QueryTimeout = "string",
StoreLimitsRequestSamples = 0,
StoreLimitsRequestSeries = 0,
},
QueryFrontend = new Aiven.Inputs.ThanosThanosUserConfigQueryFrontendArgs
{
QueryRangeAlignRangeWithStep = false,
},
ReceiverIngesting =
{
{ "string", "string" },
},
ReceiverRouting =
{
{ "string", "string" },
},
Ruler =
{
{ "string", "string" },
},
ServiceLog = false,
StaticIps = false,
Store =
{
{ "string", "string" },
},
},
});
example, err := aiven.NewThanos(ctx, "thanosResource", &aiven.ThanosArgs{
Plan: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Project: pulumi.String("string"),
ServiceIntegrations: aiven.ThanosServiceIntegrationArray{
&aiven.ThanosServiceIntegrationArgs{
IntegrationType: pulumi.String("string"),
SourceServiceName: pulumi.String("string"),
},
},
MaintenanceWindowTime: pulumi.String("string"),
MaintenanceWindowDow: pulumi.String("string"),
ProjectVpcId: pulumi.String("string"),
AdditionalDiskSpace: pulumi.String("string"),
CloudName: pulumi.String("string"),
StaticIps: pulumi.StringArray{
pulumi.String("string"),
},
Tags: aiven.ThanosTagArray{
&aiven.ThanosTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TechEmails: aiven.ThanosTechEmailArray{
&aiven.ThanosTechEmailArgs{
Email: pulumi.String("string"),
},
},
TerminationProtection: pulumi.Bool(false),
Thanos: &aiven.ThanosThanosArgs{
QueryFrontendUri: pulumi.String("string"),
QueryUri: pulumi.String("string"),
ReceiverRemoteWriteUri: pulumi.String("string"),
Uris: pulumi.StringArray{
pulumi.String("string"),
},
},
ThanosUserConfig: &aiven.ThanosThanosUserConfigArgs{
Compactor: &aiven.ThanosThanosUserConfigCompactorArgs{
RetentionDays: pulumi.Int(0),
},
IpFilterObjects: aiven.ThanosThanosUserConfigIpFilterObjectArray{
&aiven.ThanosThanosUserConfigIpFilterObjectArgs{
Network: pulumi.String("string"),
Description: pulumi.String("string"),
},
},
IpFilterStrings: pulumi.StringArray{
pulumi.String("string"),
},
ObjectStorageUsageAlertThresholdGb: pulumi.Int(0),
PublicAccess: &aiven.ThanosThanosUserConfigPublicAccessArgs{
Compactor: pulumi.Bool(false),
Query: pulumi.Bool(false),
QueryFrontend: pulumi.Bool(false),
ReceiverIngesting: pulumi.Bool(false),
ReceiverRouting: pulumi.Bool(false),
Ruler: pulumi.Bool(false),
Store: pulumi.Bool(false),
},
Query: &aiven.ThanosThanosUserConfigQueryArgs{
QueryDefaultEvaluationInterval: pulumi.String("string"),
QueryLookbackDelta: pulumi.String("string"),
QueryMetadataDefaultTimeRange: pulumi.String("string"),
QueryTimeout: pulumi.String("string"),
StoreLimitsRequestSamples: pulumi.Int(0),
StoreLimitsRequestSeries: pulumi.Int(0),
},
QueryFrontend: &aiven.ThanosThanosUserConfigQueryFrontendArgs{
QueryRangeAlignRangeWithStep: pulumi.Bool(false),
},
ReceiverIngesting: pulumi.StringMap{
"string": pulumi.String("string"),
},
ReceiverRouting: pulumi.StringMap{
"string": pulumi.String("string"),
},
Ruler: pulumi.StringMap{
"string": pulumi.String("string"),
},
ServiceLog: pulumi.Bool(false),
StaticIps: pulumi.Bool(false),
Store: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
})
var thanosResource = new Thanos("thanosResource", ThanosArgs.builder()
.plan("string")
.serviceName("string")
.project("string")
.serviceIntegrations(ThanosServiceIntegrationArgs.builder()
.integrationType("string")
.sourceServiceName("string")
.build())
.maintenanceWindowTime("string")
.maintenanceWindowDow("string")
.projectVpcId("string")
.additionalDiskSpace("string")
.cloudName("string")
.staticIps("string")
.tags(ThanosTagArgs.builder()
.key("string")
.value("string")
.build())
.techEmails(ThanosTechEmailArgs.builder()
.email("string")
.build())
.terminationProtection(false)
.thanos(ThanosThanosArgs.builder()
.queryFrontendUri("string")
.queryUri("string")
.receiverRemoteWriteUri("string")
.uris("string")
.build())
.thanosUserConfig(ThanosThanosUserConfigArgs.builder()
.compactor(ThanosThanosUserConfigCompactorArgs.builder()
.retentionDays(0)
.build())
.ipFilterObjects(ThanosThanosUserConfigIpFilterObjectArgs.builder()
.network("string")
.description("string")
.build())
.ipFilterStrings("string")
.objectStorageUsageAlertThresholdGb(0)
.publicAccess(ThanosThanosUserConfigPublicAccessArgs.builder()
.compactor(false)
.query(false)
.queryFrontend(false)
.receiverIngesting(false)
.receiverRouting(false)
.ruler(false)
.store(false)
.build())
.query(ThanosThanosUserConfigQueryArgs.builder()
.queryDefaultEvaluationInterval("string")
.queryLookbackDelta("string")
.queryMetadataDefaultTimeRange("string")
.queryTimeout("string")
.storeLimitsRequestSamples(0)
.storeLimitsRequestSeries(0)
.build())
.queryFrontend(ThanosThanosUserConfigQueryFrontendArgs.builder()
.queryRangeAlignRangeWithStep(false)
.build())
.receiverIngesting(Map.of("string", "string"))
.receiverRouting(Map.of("string", "string"))
.ruler(Map.of("string", "string"))
.serviceLog(false)
.staticIps(false)
.store(Map.of("string", "string"))
.build())
.build());
thanos_resource = aiven.Thanos("thanosResource",
plan="string",
service_name="string",
project="string",
service_integrations=[{
"integration_type": "string",
"source_service_name": "string",
}],
maintenance_window_time="string",
maintenance_window_dow="string",
project_vpc_id="string",
additional_disk_space="string",
cloud_name="string",
static_ips=["string"],
tags=[{
"key": "string",
"value": "string",
}],
tech_emails=[{
"email": "string",
}],
termination_protection=False,
thanos={
"query_frontend_uri": "string",
"query_uri": "string",
"receiver_remote_write_uri": "string",
"uris": ["string"],
},
thanos_user_config={
"compactor": {
"retention_days": 0,
},
"ip_filter_objects": [{
"network": "string",
"description": "string",
}],
"ip_filter_strings": ["string"],
"object_storage_usage_alert_threshold_gb": 0,
"public_access": {
"compactor": False,
"query": False,
"query_frontend": False,
"receiver_ingesting": False,
"receiver_routing": False,
"ruler": False,
"store": False,
},
"query": {
"query_default_evaluation_interval": "string",
"query_lookback_delta": "string",
"query_metadata_default_time_range": "string",
"query_timeout": "string",
"store_limits_request_samples": 0,
"store_limits_request_series": 0,
},
"query_frontend": {
"query_range_align_range_with_step": False,
},
"receiver_ingesting": {
"string": "string",
},
"receiver_routing": {
"string": "string",
},
"ruler": {
"string": "string",
},
"service_log": False,
"static_ips": False,
"store": {
"string": "string",
},
})
const thanosResource = new aiven.Thanos("thanosResource", {
plan: "string",
serviceName: "string",
project: "string",
serviceIntegrations: [{
integrationType: "string",
sourceServiceName: "string",
}],
maintenanceWindowTime: "string",
maintenanceWindowDow: "string",
projectVpcId: "string",
additionalDiskSpace: "string",
cloudName: "string",
staticIps: ["string"],
tags: [{
key: "string",
value: "string",
}],
techEmails: [{
email: "string",
}],
terminationProtection: false,
thanos: {
queryFrontendUri: "string",
queryUri: "string",
receiverRemoteWriteUri: "string",
uris: ["string"],
},
thanosUserConfig: {
compactor: {
retentionDays: 0,
},
ipFilterObjects: [{
network: "string",
description: "string",
}],
ipFilterStrings: ["string"],
objectStorageUsageAlertThresholdGb: 0,
publicAccess: {
compactor: false,
query: false,
queryFrontend: false,
receiverIngesting: false,
receiverRouting: false,
ruler: false,
store: false,
},
query: {
queryDefaultEvaluationInterval: "string",
queryLookbackDelta: "string",
queryMetadataDefaultTimeRange: "string",
queryTimeout: "string",
storeLimitsRequestSamples: 0,
storeLimitsRequestSeries: 0,
},
queryFrontend: {
queryRangeAlignRangeWithStep: false,
},
receiverIngesting: {
string: "string",
},
receiverRouting: {
string: "string",
},
ruler: {
string: "string",
},
serviceLog: false,
staticIps: false,
store: {
string: "string",
},
},
});
type: aiven:Thanos
properties:
additionalDiskSpace: string
cloudName: string
maintenanceWindowDow: string
maintenanceWindowTime: string
plan: string
project: string
projectVpcId: string
serviceIntegrations:
- integrationType: string
sourceServiceName: string
serviceName: string
staticIps:
- string
tags:
- key: string
value: string
techEmails:
- email: string
terminationProtection: false
thanos:
queryFrontendUri: string
queryUri: string
receiverRemoteWriteUri: string
uris:
- string
thanosUserConfig:
compactor:
retentionDays: 0
ipFilterObjects:
- description: string
network: string
ipFilterStrings:
- string
objectStorageUsageAlertThresholdGb: 0
publicAccess:
compactor: false
query: false
queryFrontend: false
receiverIngesting: false
receiverRouting: false
ruler: false
store: false
query:
queryDefaultEvaluationInterval: string
queryLookbackDelta: string
queryMetadataDefaultTimeRange: string
queryTimeout: string
storeLimitsRequestSamples: 0
storeLimitsRequestSeries: 0
queryFrontend:
queryRangeAlignRangeWithStep: false
receiverIngesting:
string: string
receiverRouting:
string: string
ruler:
string: string
serviceLog: false
staticIps: false
store:
string: string
Thanos Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Thanos 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 seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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.
- 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<ThanosService Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- 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<Thanos
Tag> - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails List<ThanosTech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - Thanos
Server ThanosThanos - Thanos server connection details.
- Thanos
User ThanosConfig Thanos User Config - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- 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 seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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.
- 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 []ThanosService Integration Args - Service integrations to specify when creating a service. Not applied after initial service creation
- 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
- []Thanos
Tag Args - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails []ThanosTech Email Args - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - Thanos
Thanos
Thanos Args - Thanos server connection details.
- Thanos
User ThanosConfig Thanos User Config Args - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- 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 seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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.
- 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<ThanosService Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- 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<Thanos
Tag> - Tags are key-value pairs that allow you to categorize services.
- tech
Emails List<ThanosTech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos
Thanos
Thanos - Thanos server connection details.
- thanos
User ThanosConfig Thanos User Config - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- 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 seen from the Aiven pricing page. - project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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.
- 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 ThanosService Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- 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
- Thanos
Tag[] - Tags are key-value pairs that allow you to categorize services.
- tech
Emails ThanosTech Email[] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos
Thanos
Thanos - Thanos server connection details.
- thanos
User ThanosConfig Thanos User Config - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- 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 seen from the Aiven pricing page. - project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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.
- 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[ThanosService Integration Args] - Service integrations to specify when creating a service. Not applied after initial service creation
- 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[Thanos
Tag Args] - Tags are key-value pairs that allow you to categorize services.
- tech_
emails Sequence[ThanosTech Email Args] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos
Thanos
Thanos Args - Thanos server connection details.
- thanos_
user_ Thanosconfig Thanos User Config Args - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- 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 seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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.
- 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> - 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.
- tech
Emails List<Property Map> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos Property Map
- Thanos server connection details.
- thanos
User Property MapConfig - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
Outputs
All input properties are implicitly available as output properties. Additionally, the Thanos resource produces the following output properties:
- Components
List<Thanos
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.
- 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
[]Thanos
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.
- 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<Thanos
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.
- 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
Thanos
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.
- 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[Thanos
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.
- 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.
- 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 Thanos Resource
Get an existing Thanos 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?: ThanosState, opts?: CustomResourceOptions): Thanos
@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[ThanosComponentArgs]] = 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,
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[ThanosServiceIntegrationArgs]] = 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[ThanosTagArgs]] = None,
tech_emails: Optional[Sequence[ThanosTechEmailArgs]] = None,
termination_protection: Optional[bool] = None,
thanos: Optional[ThanosThanosArgs] = None,
thanos_user_config: Optional[ThanosThanosUserConfigArgs] = None) -> Thanos
func GetThanos(ctx *Context, name string, id IDInput, state *ThanosState, opts ...ResourceOption) (*Thanos, error)
public static Thanos Get(string name, Input<string> id, ThanosState? state, CustomResourceOptions? opts = null)
public static Thanos get(String name, Output<String> id, ThanosState 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 - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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<Thanos
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
- 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 seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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<ThanosService 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<Thanos
Tag> - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails List<ThanosTech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - Thanos
Server ThanosThanos - Thanos server connection details.
- Thanos
User ThanosConfig Thanos User Config - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- Additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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
[]Thanos
Component Args - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- 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 seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 []ThanosService 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 - 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
- []Thanos
Tag Args - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails []ThanosTech Email Args - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - Thanos
Thanos
Thanos Args - Thanos server connection details.
- Thanos
User ThanosConfig Thanos User Config Args - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- additional
Disk StringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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<Thanos
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
- 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 seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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<ThanosService 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<Thanos
Tag> - Tags are key-value pairs that allow you to categorize services.
- tech
Emails List<ThanosTech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos
Thanos
Thanos - Thanos server connection details.
- thanos
User ThanosConfig Thanos User Config - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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
Thanos
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
- 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 seen from the Aiven pricing page. - project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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 ThanosService 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
- Thanos
Tag[] - Tags are key-value pairs that allow you to categorize services.
- tech
Emails ThanosTech Email[] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos
Thanos
Thanos - Thanos server connection details.
- thanos
User ThanosConfig Thanos User Config - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- additional_
disk_ strspace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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[Thanos
Component Args] - Service component information objects
- disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk_
space_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk_
space_ strused - Disk space that service is currently using
- 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 seen from the Aiven pricing page. - project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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[ThanosService 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] - 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[Thanos
Tag Args] - Tags are key-value pairs that allow you to categorize services.
- tech_
emails Sequence[ThanosTech Email Args] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos
Thanos
Thanos Args - Thanos server connection details.
- thanos_
user_ Thanosconfig Thanos User Config Args - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- additional
Disk StringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- 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
- 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 seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property 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.
- tech
Emails List<Property Map> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- 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. - thanos Property Map
- Thanos server connection details.
- thanos
User Property MapConfig - Thanos user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
Supporting Types
ThanosComponent, ThanosComponentArgs
- Component string
- Service component name
- Connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- Host string
- Host name for connecting to the service component
- Kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- Port int
- Port number for connecting to the service component
- Route string
- Network access route
- Ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- Usage string
- DNS usage name
- Component string
- Service component name
- Connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- Host string
- Host name for connecting to the service component
- Kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- Port int
- Port number for connecting to the service component
- Route string
- Network access route
- Ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- Usage string
- DNS usage name
- component String
- Service component name
- connection
Uri String - Connection info for connecting to the service component. This is a combination of host and port.
- host String
- Host name for connecting to the service component
- kafka
Authentication StringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port Integer
- Port number for connecting to the service component
- route String
- Network access route
- ssl Boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage String
- DNS usage name
- component string
- Service component name
- connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- host string
- Host name for connecting to the service component
- kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port number
- Port number for connecting to the service component
- route string
- Network access route
- ssl boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage string
- DNS usage name
- component str
- Service component name
- connection_
uri str - Connection info for connecting to the service component. This is a combination of host and port.
- host str
- Host name for connecting to the service component
- kafka_
authentication_ strmethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port int
- Port number for connecting to the service component
- route str
- Network access route
- ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage str
- DNS usage name
- component String
- Service component name
- connection
Uri String - Connection info for connecting to the service component. This is a combination of host and port.
- host String
- Host name for connecting to the service component
- kafka
Authentication StringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port Number
- Port number for connecting to the service component
- route String
- Network access route
- ssl Boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage String
- DNS usage name
ThanosServiceIntegration, ThanosServiceIntegrationArgs
- 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
ThanosTag, ThanosTagArgs
ThanosTechEmail, ThanosTechEmailArgs
- Email string
- An email address to contact for technical issues
- Email string
- An email address to contact for technical issues
- email String
- An email address to contact for technical issues
- email string
- An email address to contact for technical issues
- email str
- An email address to contact for technical issues
- email String
- An email address to contact for technical issues
ThanosThanos, ThanosThanosArgs
- Query
Frontend stringUri - Query frontend URI.
- Query
Uri string - Query URI.
- Receiver
Remote stringWrite Uri - Receiver remote write URI.
- Uris List<string>
- Thanos server URIs.
- Query
Frontend stringUri - Query frontend URI.
- Query
Uri string - Query URI.
- Receiver
Remote stringWrite Uri - Receiver remote write URI.
- Uris []string
- Thanos server URIs.
- query
Frontend StringUri - Query frontend URI.
- query
Uri String - Query URI.
- receiver
Remote StringWrite Uri - Receiver remote write URI.
- uris List<String>
- Thanos server URIs.
- query
Frontend stringUri - Query frontend URI.
- query
Uri string - Query URI.
- receiver
Remote stringWrite Uri - Receiver remote write URI.
- uris string[]
- Thanos server URIs.
- query_
frontend_ struri - Query frontend URI.
- query_
uri str - Query URI.
- receiver_
remote_ strwrite_ uri - Receiver remote write URI.
- uris Sequence[str]
- Thanos server URIs.
- query
Frontend StringUri - Query frontend URI.
- query
Uri String - Query URI.
- receiver
Remote StringWrite Uri - Receiver remote write URI.
- uris List<String>
- Thanos server URIs.
ThanosThanosUserConfig, ThanosThanosUserConfigArgs
- Compactor
Thanos
Thanos User Config Compactor - ThanosCompactor
- Env Dictionary<string, string>
- Environmental variables.
- Ip
Filter List<ThanosObjects Thanos 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
. - Object
Storage intUsage Alert Threshold Gb - After exceeding the limit a service alert is going to be raised (0 means not set).
- Public
Access ThanosThanos User Config Public Access - Allow access to selected service ports from the public Internet
- Query
Thanos
Thanos User Config Query - ThanosQuery
- Query
Frontend ThanosThanos User Config Query Frontend - ThanosQueryFrontend
- Receiver
Ingesting Dictionary<string, string> - CommonReceive.
- Receiver
Routing Dictionary<string, string> - ThanosReceiveRouting.
- Ruler Dictionary<string, string>
- ThanosRuler.
- Service
Log bool - Store logs for the service so that they are available in the HTTP API and console.
- Static
Ips bool - Use static public IP addresses.
- Store Dictionary<string, string>
- ThanosStore.
- Compactor
Thanos
Thanos User Config Compactor - ThanosCompactor
- Env map[string]string
- Environmental variables.
- Ip
Filter []ThanosObjects Thanos 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
. - Object
Storage intUsage Alert Threshold Gb - After exceeding the limit a service alert is going to be raised (0 means not set).
- Public
Access ThanosThanos User Config Public Access - Allow access to selected service ports from the public Internet
- Query
Thanos
Thanos User Config Query - ThanosQuery
- Query
Frontend ThanosThanos User Config Query Frontend - ThanosQueryFrontend
- Receiver
Ingesting map[string]string - CommonReceive.
- Receiver
Routing map[string]string - ThanosReceiveRouting.
- Ruler map[string]string
- ThanosRuler.
- Service
Log bool - Store logs for the service so that they are available in the HTTP API and console.
- Static
Ips bool - Use static public IP addresses.
- Store map[string]string
- ThanosStore.
- compactor
Thanos
Thanos User Config Compactor - ThanosCompactor
- env Map<String,String>
- Environmental variables.
- ip
Filter List<ThanosObjects Thanos 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
. - object
Storage IntegerUsage Alert Threshold Gb - After exceeding the limit a service alert is going to be raised (0 means not set).
- public
Access ThanosThanos User Config Public Access - Allow access to selected service ports from the public Internet
- query
Thanos
Thanos User Config Query - ThanosQuery
- query
Frontend ThanosThanos User Config Query Frontend - ThanosQueryFrontend
- receiver
Ingesting Map<String,String> - CommonReceive.
- receiver
Routing Map<String,String> - ThanosReceiveRouting.
- ruler Map<String,String>
- ThanosRuler.
- service
Log Boolean - Store logs for the service so that they are available in the HTTP API and console.
- static
Ips Boolean - Use static public IP addresses.
- store Map<String,String>
- ThanosStore.
- compactor
Thanos
Thanos User Config Compactor - ThanosCompactor
- env {[key: string]: string}
- Environmental variables.
- ip
Filter ThanosObjects Thanos 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
. - object
Storage numberUsage Alert Threshold Gb - After exceeding the limit a service alert is going to be raised (0 means not set).
- public
Access ThanosThanos User Config Public Access - Allow access to selected service ports from the public Internet
- query
Thanos
Thanos User Config Query - ThanosQuery
- query
Frontend ThanosThanos User Config Query Frontend - ThanosQueryFrontend
- receiver
Ingesting {[key: string]: string} - CommonReceive.
- receiver
Routing {[key: string]: string} - ThanosReceiveRouting.
- ruler {[key: string]: string}
- ThanosRuler.
- service
Log boolean - Store logs for the service so that they are available in the HTTP API and console.
- static
Ips boolean - Use static public IP addresses.
- store {[key: string]: string}
- ThanosStore.
- compactor
Thanos
Thanos User Config Compactor - ThanosCompactor
- env Mapping[str, str]
- Environmental variables.
- ip_
filter_ Sequence[Thanosobjects Thanos 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
. - object_
storage_ intusage_ alert_ threshold_ gb - After exceeding the limit a service alert is going to be raised (0 means not set).
- public_
access ThanosThanos User Config Public Access - Allow access to selected service ports from the public Internet
- query
Thanos
Thanos User Config Query - ThanosQuery
- query_
frontend ThanosThanos User Config Query Frontend - ThanosQueryFrontend
- receiver_
ingesting Mapping[str, str] - CommonReceive.
- receiver_
routing Mapping[str, str] - ThanosReceiveRouting.
- ruler Mapping[str, str]
- ThanosRuler.
- service_
log bool - Store logs for the service so that they are available in the HTTP API and console.
- static_
ips bool - Use static public IP addresses.
- store Mapping[str, str]
- ThanosStore.
- compactor Property Map
- ThanosCompactor
- env Map<String>
- Environmental variables.
- 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
. - object
Storage NumberUsage Alert Threshold Gb - After exceeding the limit a service alert is going to be raised (0 means not set).
- public
Access Property Map - Allow access to selected service ports from the public Internet
- query Property Map
- ThanosQuery
- query
Frontend Property Map - ThanosQueryFrontend
- receiver
Ingesting Map<String> - CommonReceive.
- receiver
Routing Map<String> - ThanosReceiveRouting.
- ruler Map<String>
- ThanosRuler.
- service
Log Boolean - Store logs for the service so that they are available in the HTTP API and console.
- static
Ips Boolean - Use static public IP addresses.
- store Map<String>
- ThanosStore.
ThanosThanosUserConfigCompactor, ThanosThanosUserConfigCompactorArgs
- Retention
Days int - Retention time for data in days for each resolution (5m, 1h, raw).
- Retention
Days int - Retention time for data in days for each resolution (5m, 1h, raw).
- retention
Days Integer - Retention time for data in days for each resolution (5m, 1h, raw).
- retention
Days number - Retention time for data in days for each resolution (5m, 1h, raw).
- retention_
days int - Retention time for data in days for each resolution (5m, 1h, raw).
- retention
Days Number - Retention time for data in days for each resolution (5m, 1h, raw).
ThanosThanosUserConfigIpFilterObject, ThanosThanosUserConfigIpFilterObjectArgs
- Network string
- CIDR address block. Example:
10.20.0.0/16
. - Description string
- Description for IP filter list entry. Example:
Production service IP range
.
- Network string
- CIDR address block. Example:
10.20.0.0/16
. - Description string
- Description for IP filter list entry. Example:
Production service IP range
.
- network String
- CIDR address block. Example:
10.20.0.0/16
. - description String
- Description for IP filter list entry. Example:
Production service IP range
.
- network string
- CIDR address block. Example:
10.20.0.0/16
. - description string
- Description for IP filter list entry. Example:
Production service IP range
.
- network str
- CIDR address block. Example:
10.20.0.0/16
. - description str
- Description for IP filter list entry. Example:
Production service IP range
.
- network String
- CIDR address block. Example:
10.20.0.0/16
. - description String
- Description for IP filter list entry. Example:
Production service IP range
.
ThanosThanosUserConfigPublicAccess, ThanosThanosUserConfigPublicAccessArgs
- Compactor bool
- Allow clients to connect to compactor from the public internet for service nodes that are in a project VPC or another type of private network.
- Query bool
- Allow clients to connect to query from the public internet for service nodes that are in a project VPC or another type of private network.
- Query
Frontend bool - Allow clients to connect to query_frontend from the public internet for service nodes that are in a project VPC or another type of private network.
- Receiver
Ingesting bool - Allow clients to connect to receiver_ingesting from the public internet for service nodes that are in a project VPC or another type of private network.
- Receiver
Routing bool - Allow clients to connect to receiver_routing from the public internet for service nodes that are in a project VPC or another type of private network.
- Ruler bool
- Allow clients to connect to ruler from the public internet for service nodes that are in a project VPC or another type of private network.
- Store bool
- Allow clients to connect to store from the public internet for service nodes that are in a project VPC or another type of private network.
- Compactor bool
- Allow clients to connect to compactor from the public internet for service nodes that are in a project VPC or another type of private network.
- Query bool
- Allow clients to connect to query from the public internet for service nodes that are in a project VPC or another type of private network.
- Query
Frontend bool - Allow clients to connect to query_frontend from the public internet for service nodes that are in a project VPC or another type of private network.
- Receiver
Ingesting bool - Allow clients to connect to receiver_ingesting from the public internet for service nodes that are in a project VPC or another type of private network.
- Receiver
Routing bool - Allow clients to connect to receiver_routing from the public internet for service nodes that are in a project VPC or another type of private network.
- Ruler bool
- Allow clients to connect to ruler from the public internet for service nodes that are in a project VPC or another type of private network.
- Store bool
- Allow clients to connect to store from the public internet for service nodes that are in a project VPC or another type of private network.
- compactor Boolean
- Allow clients to connect to compactor from the public internet for service nodes that are in a project VPC or another type of private network.
- query Boolean
- Allow clients to connect to query from the public internet for service nodes that are in a project VPC or another type of private network.
- query
Frontend Boolean - Allow clients to connect to query_frontend from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver
Ingesting Boolean - Allow clients to connect to receiver_ingesting from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver
Routing Boolean - Allow clients to connect to receiver_routing from the public internet for service nodes that are in a project VPC or another type of private network.
- ruler Boolean
- Allow clients to connect to ruler from the public internet for service nodes that are in a project VPC or another type of private network.
- store Boolean
- Allow clients to connect to store from the public internet for service nodes that are in a project VPC or another type of private network.
- compactor boolean
- Allow clients to connect to compactor from the public internet for service nodes that are in a project VPC or another type of private network.
- query boolean
- Allow clients to connect to query from the public internet for service nodes that are in a project VPC or another type of private network.
- query
Frontend boolean - Allow clients to connect to query_frontend from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver
Ingesting boolean - Allow clients to connect to receiver_ingesting from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver
Routing boolean - Allow clients to connect to receiver_routing from the public internet for service nodes that are in a project VPC or another type of private network.
- ruler boolean
- Allow clients to connect to ruler from the public internet for service nodes that are in a project VPC or another type of private network.
- store boolean
- Allow clients to connect to store from the public internet for service nodes that are in a project VPC or another type of private network.
- compactor bool
- Allow clients to connect to compactor from the public internet for service nodes that are in a project VPC or another type of private network.
- query bool
- Allow clients to connect to query from the public internet for service nodes that are in a project VPC or another type of private network.
- query_
frontend bool - Allow clients to connect to query_frontend from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver_
ingesting bool - Allow clients to connect to receiver_ingesting from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver_
routing bool - Allow clients to connect to receiver_routing from the public internet for service nodes that are in a project VPC or another type of private network.
- ruler bool
- Allow clients to connect to ruler from the public internet for service nodes that are in a project VPC or another type of private network.
- store bool
- Allow clients to connect to store from the public internet for service nodes that are in a project VPC or another type of private network.
- compactor Boolean
- Allow clients to connect to compactor from the public internet for service nodes that are in a project VPC or another type of private network.
- query Boolean
- Allow clients to connect to query from the public internet for service nodes that are in a project VPC or another type of private network.
- query
Frontend Boolean - Allow clients to connect to query_frontend from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver
Ingesting Boolean - Allow clients to connect to receiver_ingesting from the public internet for service nodes that are in a project VPC or another type of private network.
- receiver
Routing Boolean - Allow clients to connect to receiver_routing from the public internet for service nodes that are in a project VPC or another type of private network.
- ruler Boolean
- Allow clients to connect to ruler from the public internet for service nodes that are in a project VPC or another type of private network.
- store Boolean
- Allow clients to connect to store from the public internet for service nodes that are in a project VPC or another type of private network.
ThanosThanosUserConfigQuery, ThanosThanosUserConfigQueryArgs
- Query
Default stringEvaluation Interval - Set the default evaluation interval for subqueries. Default:
1m
. - Query
Lookback stringDelta - The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m. Default:
5m
. - Query
Metadata stringDefault Time Range - The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning. Default:
0s
. - Query
Timeout string - Maximum time to process a query by the query node. Default:
2m
. - Store
Limits intRequest Samples - The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series. Default:
0
. - Store
Limits intRequest Series - The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count. Default:
0
.
- Query
Default stringEvaluation Interval - Set the default evaluation interval for subqueries. Default:
1m
. - Query
Lookback stringDelta - The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m. Default:
5m
. - Query
Metadata stringDefault Time Range - The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning. Default:
0s
. - Query
Timeout string - Maximum time to process a query by the query node. Default:
2m
. - Store
Limits intRequest Samples - The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series. Default:
0
. - Store
Limits intRequest Series - The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count. Default:
0
.
- query
Default StringEvaluation Interval - Set the default evaluation interval for subqueries. Default:
1m
. - query
Lookback StringDelta - The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m. Default:
5m
. - query
Metadata StringDefault Time Range - The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning. Default:
0s
. - query
Timeout String - Maximum time to process a query by the query node. Default:
2m
. - store
Limits IntegerRequest Samples - The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series. Default:
0
. - store
Limits IntegerRequest Series - The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count. Default:
0
.
- query
Default stringEvaluation Interval - Set the default evaluation interval for subqueries. Default:
1m
. - query
Lookback stringDelta - The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m. Default:
5m
. - query
Metadata stringDefault Time Range - The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning. Default:
0s
. - query
Timeout string - Maximum time to process a query by the query node. Default:
2m
. - store
Limits numberRequest Samples - The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series. Default:
0
. - store
Limits numberRequest Series - The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count. Default:
0
.
- query_
default_ strevaluation_ interval - Set the default evaluation interval for subqueries. Default:
1m
. - query_
lookback_ strdelta - The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m. Default:
5m
. - query_
metadata_ strdefault_ time_ range - The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning. Default:
0s
. - query_
timeout str - Maximum time to process a query by the query node. Default:
2m
. - store_
limits_ intrequest_ samples - The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series. Default:
0
. - store_
limits_ intrequest_ series - The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count. Default:
0
.
- query
Default StringEvaluation Interval - Set the default evaluation interval for subqueries. Default:
1m
. - query
Lookback StringDelta - The maximum lookback duration for retrieving metrics during expression evaluations in PromQL. PromQL always evaluates the query for a certain timestamp, and it looks back for the given amount of time to get the latest sample. If it exceeds the maximum lookback delta, it assumes the series is stale and returns none (a gap). The lookback delta should be set to at least 2 times the slowest scrape interval. If unset, it will use the promql default of 5m. Default:
5m
. - query
Metadata StringDefault Time Range - The default metadata time range duration for retrieving labels through Labels and Series API when the range parameters are not specified. The zero value means the range covers the time since the beginning. Default:
0s
. - query
Timeout String - Maximum time to process a query by the query node. Default:
2m
. - store
Limits NumberRequest Samples - The maximum samples allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. NOTE: For efficiency, the limit is internally implemented as 'chunks limit' considering each chunk contains a maximum of 120 samples. The default value is 100 * store.limits.request-series. Default:
0
. - store
Limits NumberRequest Series - The maximum series allowed for a single Series request. The Series call fails if this limit is exceeded. Set to 0 for no limit. The default value is 1000 * cpu_count. Default:
0
.
ThanosThanosUserConfigQueryFrontend, ThanosThanosUserConfigQueryFrontendArgs
- Query
Range boolAlign Range With Step - Whether to align the query range boundaries with the step. If enabled, the query range boundaries will be aligned to the step, providing more accurate results for queries with high-resolution data. Default:
true
.
- Query
Range boolAlign Range With Step - Whether to align the query range boundaries with the step. If enabled, the query range boundaries will be aligned to the step, providing more accurate results for queries with high-resolution data. Default:
true
.
- query
Range BooleanAlign Range With Step - Whether to align the query range boundaries with the step. If enabled, the query range boundaries will be aligned to the step, providing more accurate results for queries with high-resolution data. Default:
true
.
- query
Range booleanAlign Range With Step - Whether to align the query range boundaries with the step. If enabled, the query range boundaries will be aligned to the step, providing more accurate results for queries with high-resolution data. Default:
true
.
- query_
range_ boolalign_ range_ with_ step - Whether to align the query range boundaries with the step. If enabled, the query range boundaries will be aligned to the step, providing more accurate results for queries with high-resolution data. Default:
true
.
- query
Range BooleanAlign Range With Step - Whether to align the query range boundaries with the step. If enabled, the query range boundaries will be aligned to the step, providing more accurate results for queries with high-resolution data. Default:
true
.
Import
$ pulumi import aiven:index/thanos:Thanos example_thanos PROJECT/SERVICE_NAME
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.