pulumi-aiven 6.19.0a1721711612__py3-none-any.whl → 6.19.0a1721845827__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-aiven might be problematic. Click here for more details.

pulumi_aiven/outputs.py CHANGED
@@ -260,6 +260,17 @@ __all__ = [
260
260
  'ServiceIntegrationPrometheusUserConfig',
261
261
  'ServiceIntegrationPrometheusUserConfigSourceMysql',
262
262
  'ServiceIntegrationPrometheusUserConfigSourceMysqlTelegraf',
263
+ 'ThanosComponent',
264
+ 'ThanosServiceIntegration',
265
+ 'ThanosTag',
266
+ 'ThanosTechEmail',
267
+ 'ThanosThanos',
268
+ 'ThanosThanosUserConfig',
269
+ 'ThanosThanosUserConfigCompactor',
270
+ 'ThanosThanosUserConfigIpFilterObject',
271
+ 'ThanosThanosUserConfigPublicAccess',
272
+ 'ThanosThanosUserConfigQuery',
273
+ 'ThanosThanosUserConfigQueryFrontend',
263
274
  'GetAccountAuthenticationSamlFieldMappingResult',
264
275
  'GetCassandaCassandraResult',
265
276
  'GetCassandaCassandraUserConfigResult',
@@ -514,6 +525,17 @@ __all__ = [
514
525
  'GetServiceIntegrationPrometheusUserConfigResult',
515
526
  'GetServiceIntegrationPrometheusUserConfigSourceMysqlResult',
516
527
  'GetServiceIntegrationPrometheusUserConfigSourceMysqlTelegrafResult',
528
+ 'GetThanosComponentResult',
529
+ 'GetThanosServiceIntegrationResult',
530
+ 'GetThanosTagResult',
531
+ 'GetThanosTechEmailResult',
532
+ 'GetThanosThanoResult',
533
+ 'GetThanosThanosUserConfigResult',
534
+ 'GetThanosThanosUserConfigCompactorResult',
535
+ 'GetThanosThanosUserConfigIpFilterObjectResult',
536
+ 'GetThanosThanosUserConfigPublicAccessResult',
537
+ 'GetThanosThanosUserConfigQueryResult',
538
+ 'GetThanosThanosUserConfigQueryFrontendResult',
517
539
  ]
518
540
 
519
541
  @pulumi.output_type
@@ -22316,6 +22338,766 @@ class ServiceIntegrationPrometheusUserConfigSourceMysqlTelegraf(dict):
22316
22338
  return pulumi.get(self, "perf_events_statements_time_limit")
22317
22339
 
22318
22340
 
22341
+ @pulumi.output_type
22342
+ class ThanosComponent(dict):
22343
+ @staticmethod
22344
+ def __key_warning(key: str):
22345
+ suggest = None
22346
+ if key == "connectionUri":
22347
+ suggest = "connection_uri"
22348
+ elif key == "kafkaAuthenticationMethod":
22349
+ suggest = "kafka_authentication_method"
22350
+
22351
+ if suggest:
22352
+ pulumi.log.warn(f"Key '{key}' not found in ThanosComponent. Access the value via the '{suggest}' property getter instead.")
22353
+
22354
+ def __getitem__(self, key: str) -> Any:
22355
+ ThanosComponent.__key_warning(key)
22356
+ return super().__getitem__(key)
22357
+
22358
+ def get(self, key: str, default = None) -> Any:
22359
+ ThanosComponent.__key_warning(key)
22360
+ return super().get(key, default)
22361
+
22362
+ def __init__(__self__, *,
22363
+ component: Optional[str] = None,
22364
+ connection_uri: Optional[str] = None,
22365
+ host: Optional[str] = None,
22366
+ kafka_authentication_method: Optional[str] = None,
22367
+ port: Optional[int] = None,
22368
+ route: Optional[str] = None,
22369
+ ssl: Optional[bool] = None,
22370
+ usage: Optional[str] = None):
22371
+ """
22372
+ :param str component: Service component name
22373
+ :param str connection_uri: Connection info for connecting to the service component. This is a combination of host and port.
22374
+ :param str host: Host name for connecting to the service component
22375
+ :param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component
22376
+ :param int port: Port number for connecting to the service component
22377
+ :param str route: Network access route
22378
+ :param bool ssl: 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
22379
+ :param str usage: DNS usage name
22380
+ """
22381
+ if component is not None:
22382
+ pulumi.set(__self__, "component", component)
22383
+ if connection_uri is not None:
22384
+ pulumi.set(__self__, "connection_uri", connection_uri)
22385
+ if host is not None:
22386
+ pulumi.set(__self__, "host", host)
22387
+ if kafka_authentication_method is not None:
22388
+ pulumi.set(__self__, "kafka_authentication_method", kafka_authentication_method)
22389
+ if port is not None:
22390
+ pulumi.set(__self__, "port", port)
22391
+ if route is not None:
22392
+ pulumi.set(__self__, "route", route)
22393
+ if ssl is not None:
22394
+ pulumi.set(__self__, "ssl", ssl)
22395
+ if usage is not None:
22396
+ pulumi.set(__self__, "usage", usage)
22397
+
22398
+ @property
22399
+ @pulumi.getter
22400
+ def component(self) -> Optional[str]:
22401
+ """
22402
+ Service component name
22403
+ """
22404
+ return pulumi.get(self, "component")
22405
+
22406
+ @property
22407
+ @pulumi.getter(name="connectionUri")
22408
+ def connection_uri(self) -> Optional[str]:
22409
+ """
22410
+ Connection info for connecting to the service component. This is a combination of host and port.
22411
+ """
22412
+ return pulumi.get(self, "connection_uri")
22413
+
22414
+ @property
22415
+ @pulumi.getter
22416
+ def host(self) -> Optional[str]:
22417
+ """
22418
+ Host name for connecting to the service component
22419
+ """
22420
+ return pulumi.get(self, "host")
22421
+
22422
+ @property
22423
+ @pulumi.getter(name="kafkaAuthenticationMethod")
22424
+ def kafka_authentication_method(self) -> Optional[str]:
22425
+ """
22426
+ Kafka authentication method. This is a value specific to the 'kafka' service component
22427
+ """
22428
+ return pulumi.get(self, "kafka_authentication_method")
22429
+
22430
+ @property
22431
+ @pulumi.getter
22432
+ def port(self) -> Optional[int]:
22433
+ """
22434
+ Port number for connecting to the service component
22435
+ """
22436
+ return pulumi.get(self, "port")
22437
+
22438
+ @property
22439
+ @pulumi.getter
22440
+ def route(self) -> Optional[str]:
22441
+ """
22442
+ Network access route
22443
+ """
22444
+ return pulumi.get(self, "route")
22445
+
22446
+ @property
22447
+ @pulumi.getter
22448
+ def ssl(self) -> Optional[bool]:
22449
+ """
22450
+ 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
22451
+ """
22452
+ return pulumi.get(self, "ssl")
22453
+
22454
+ @property
22455
+ @pulumi.getter
22456
+ def usage(self) -> Optional[str]:
22457
+ """
22458
+ DNS usage name
22459
+ """
22460
+ return pulumi.get(self, "usage")
22461
+
22462
+
22463
+ @pulumi.output_type
22464
+ class ThanosServiceIntegration(dict):
22465
+ @staticmethod
22466
+ def __key_warning(key: str):
22467
+ suggest = None
22468
+ if key == "integrationType":
22469
+ suggest = "integration_type"
22470
+ elif key == "sourceServiceName":
22471
+ suggest = "source_service_name"
22472
+
22473
+ if suggest:
22474
+ pulumi.log.warn(f"Key '{key}' not found in ThanosServiceIntegration. Access the value via the '{suggest}' property getter instead.")
22475
+
22476
+ def __getitem__(self, key: str) -> Any:
22477
+ ThanosServiceIntegration.__key_warning(key)
22478
+ return super().__getitem__(key)
22479
+
22480
+ def get(self, key: str, default = None) -> Any:
22481
+ ThanosServiceIntegration.__key_warning(key)
22482
+ return super().get(key, default)
22483
+
22484
+ def __init__(__self__, *,
22485
+ integration_type: str,
22486
+ source_service_name: str):
22487
+ """
22488
+ :param str integration_type: Type of the service integration. The only supported value at the moment is `read_replica`
22489
+ :param str source_service_name: Name of the source service
22490
+ """
22491
+ pulumi.set(__self__, "integration_type", integration_type)
22492
+ pulumi.set(__self__, "source_service_name", source_service_name)
22493
+
22494
+ @property
22495
+ @pulumi.getter(name="integrationType")
22496
+ def integration_type(self) -> str:
22497
+ """
22498
+ Type of the service integration. The only supported value at the moment is `read_replica`
22499
+ """
22500
+ return pulumi.get(self, "integration_type")
22501
+
22502
+ @property
22503
+ @pulumi.getter(name="sourceServiceName")
22504
+ def source_service_name(self) -> str:
22505
+ """
22506
+ Name of the source service
22507
+ """
22508
+ return pulumi.get(self, "source_service_name")
22509
+
22510
+
22511
+ @pulumi.output_type
22512
+ class ThanosTag(dict):
22513
+ def __init__(__self__, *,
22514
+ key: str,
22515
+ value: str):
22516
+ """
22517
+ :param str key: Service tag key
22518
+ :param str value: Service tag value
22519
+ """
22520
+ pulumi.set(__self__, "key", key)
22521
+ pulumi.set(__self__, "value", value)
22522
+
22523
+ @property
22524
+ @pulumi.getter
22525
+ def key(self) -> str:
22526
+ """
22527
+ Service tag key
22528
+ """
22529
+ return pulumi.get(self, "key")
22530
+
22531
+ @property
22532
+ @pulumi.getter
22533
+ def value(self) -> str:
22534
+ """
22535
+ Service tag value
22536
+ """
22537
+ return pulumi.get(self, "value")
22538
+
22539
+
22540
+ @pulumi.output_type
22541
+ class ThanosTechEmail(dict):
22542
+ def __init__(__self__, *,
22543
+ email: str):
22544
+ """
22545
+ :param str email: An email address to contact for technical issues
22546
+ """
22547
+ pulumi.set(__self__, "email", email)
22548
+
22549
+ @property
22550
+ @pulumi.getter
22551
+ def email(self) -> str:
22552
+ """
22553
+ An email address to contact for technical issues
22554
+ """
22555
+ return pulumi.get(self, "email")
22556
+
22557
+
22558
+ @pulumi.output_type
22559
+ class ThanosThanos(dict):
22560
+ @staticmethod
22561
+ def __key_warning(key: str):
22562
+ suggest = None
22563
+ if key == "queryFrontendUri":
22564
+ suggest = "query_frontend_uri"
22565
+ elif key == "queryUri":
22566
+ suggest = "query_uri"
22567
+ elif key == "receiverIngestingRemoteWriteUri":
22568
+ suggest = "receiver_ingesting_remote_write_uri"
22569
+ elif key == "receiverRemoteWriteUri":
22570
+ suggest = "receiver_remote_write_uri"
22571
+ elif key == "storeUri":
22572
+ suggest = "store_uri"
22573
+
22574
+ if suggest:
22575
+ pulumi.log.warn(f"Key '{key}' not found in ThanosThanos. Access the value via the '{suggest}' property getter instead.")
22576
+
22577
+ def __getitem__(self, key: str) -> Any:
22578
+ ThanosThanos.__key_warning(key)
22579
+ return super().__getitem__(key)
22580
+
22581
+ def get(self, key: str, default = None) -> Any:
22582
+ ThanosThanos.__key_warning(key)
22583
+ return super().get(key, default)
22584
+
22585
+ def __init__(__self__, *,
22586
+ query_frontend_uri: Optional[str] = None,
22587
+ query_uri: Optional[str] = None,
22588
+ receiver_ingesting_remote_write_uri: Optional[str] = None,
22589
+ receiver_remote_write_uri: Optional[str] = None,
22590
+ store_uri: Optional[str] = None,
22591
+ uris: Optional[Sequence[str]] = None):
22592
+ """
22593
+ :param str query_frontend_uri: Query frontend URI.
22594
+ :param str query_uri: Query URI.
22595
+ :param str receiver_ingesting_remote_write_uri: Receiver ingesting remote write URI.
22596
+ :param str receiver_remote_write_uri: Receiver remote write URI.
22597
+ :param str store_uri: Store URI.
22598
+ :param Sequence[str] uris: Thanos server URIs.
22599
+ """
22600
+ if query_frontend_uri is not None:
22601
+ pulumi.set(__self__, "query_frontend_uri", query_frontend_uri)
22602
+ if query_uri is not None:
22603
+ pulumi.set(__self__, "query_uri", query_uri)
22604
+ if receiver_ingesting_remote_write_uri is not None:
22605
+ pulumi.set(__self__, "receiver_ingesting_remote_write_uri", receiver_ingesting_remote_write_uri)
22606
+ if receiver_remote_write_uri is not None:
22607
+ pulumi.set(__self__, "receiver_remote_write_uri", receiver_remote_write_uri)
22608
+ if store_uri is not None:
22609
+ pulumi.set(__self__, "store_uri", store_uri)
22610
+ if uris is not None:
22611
+ pulumi.set(__self__, "uris", uris)
22612
+
22613
+ @property
22614
+ @pulumi.getter(name="queryFrontendUri")
22615
+ def query_frontend_uri(self) -> Optional[str]:
22616
+ """
22617
+ Query frontend URI.
22618
+ """
22619
+ return pulumi.get(self, "query_frontend_uri")
22620
+
22621
+ @property
22622
+ @pulumi.getter(name="queryUri")
22623
+ def query_uri(self) -> Optional[str]:
22624
+ """
22625
+ Query URI.
22626
+ """
22627
+ return pulumi.get(self, "query_uri")
22628
+
22629
+ @property
22630
+ @pulumi.getter(name="receiverIngestingRemoteWriteUri")
22631
+ def receiver_ingesting_remote_write_uri(self) -> Optional[str]:
22632
+ """
22633
+ Receiver ingesting remote write URI.
22634
+ """
22635
+ return pulumi.get(self, "receiver_ingesting_remote_write_uri")
22636
+
22637
+ @property
22638
+ @pulumi.getter(name="receiverRemoteWriteUri")
22639
+ def receiver_remote_write_uri(self) -> Optional[str]:
22640
+ """
22641
+ Receiver remote write URI.
22642
+ """
22643
+ return pulumi.get(self, "receiver_remote_write_uri")
22644
+
22645
+ @property
22646
+ @pulumi.getter(name="storeUri")
22647
+ def store_uri(self) -> Optional[str]:
22648
+ """
22649
+ Store URI.
22650
+ """
22651
+ return pulumi.get(self, "store_uri")
22652
+
22653
+ @property
22654
+ @pulumi.getter
22655
+ def uris(self) -> Optional[Sequence[str]]:
22656
+ """
22657
+ Thanos server URIs.
22658
+ """
22659
+ return pulumi.get(self, "uris")
22660
+
22661
+
22662
+ @pulumi.output_type
22663
+ class ThanosThanosUserConfig(dict):
22664
+ @staticmethod
22665
+ def __key_warning(key: str):
22666
+ suggest = None
22667
+ if key == "ipFilterObjects":
22668
+ suggest = "ip_filter_objects"
22669
+ elif key == "ipFilterStrings":
22670
+ suggest = "ip_filter_strings"
22671
+ elif key == "ipFilters":
22672
+ suggest = "ip_filters"
22673
+ elif key == "objectStorageUsageAlertThresholdGb":
22674
+ suggest = "object_storage_usage_alert_threshold_gb"
22675
+ elif key == "publicAccess":
22676
+ suggest = "public_access"
22677
+ elif key == "queryFrontend":
22678
+ suggest = "query_frontend"
22679
+ elif key == "serviceLog":
22680
+ suggest = "service_log"
22681
+ elif key == "staticIps":
22682
+ suggest = "static_ips"
22683
+
22684
+ if suggest:
22685
+ pulumi.log.warn(f"Key '{key}' not found in ThanosThanosUserConfig. Access the value via the '{suggest}' property getter instead.")
22686
+
22687
+ def __getitem__(self, key: str) -> Any:
22688
+ ThanosThanosUserConfig.__key_warning(key)
22689
+ return super().__getitem__(key)
22690
+
22691
+ def get(self, key: str, default = None) -> Any:
22692
+ ThanosThanosUserConfig.__key_warning(key)
22693
+ return super().get(key, default)
22694
+
22695
+ def __init__(__self__, *,
22696
+ compactor: Optional['outputs.ThanosThanosUserConfigCompactor'] = None,
22697
+ ip_filter_objects: Optional[Sequence['outputs.ThanosThanosUserConfigIpFilterObject']] = None,
22698
+ ip_filter_strings: Optional[Sequence[str]] = None,
22699
+ ip_filters: Optional[Sequence[str]] = None,
22700
+ object_storage_usage_alert_threshold_gb: Optional[int] = None,
22701
+ public_access: Optional['outputs.ThanosThanosUserConfigPublicAccess'] = None,
22702
+ query: Optional['outputs.ThanosThanosUserConfigQuery'] = None,
22703
+ query_frontend: Optional['outputs.ThanosThanosUserConfigQueryFrontend'] = None,
22704
+ service_log: Optional[bool] = None,
22705
+ static_ips: Optional[bool] = None):
22706
+ """
22707
+ :param 'ThanosThanosUserConfigCompactorArgs' compactor: ThanosCompactor
22708
+ :param Sequence['ThanosThanosUserConfigIpFilterObjectArgs'] ip_filter_objects: Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`
22709
+ :param Sequence[str] ip_filter_strings: Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
22710
+ :param Sequence[str] ip_filters: Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
22711
+ :param int object_storage_usage_alert_threshold_gb: After exceeding the limit a service alert is going to be raised (0 means not set).
22712
+ :param 'ThanosThanosUserConfigPublicAccessArgs' public_access: Allow access to selected service ports from the public Internet
22713
+ :param 'ThanosThanosUserConfigQueryArgs' query: ThanosQuery
22714
+ :param 'ThanosThanosUserConfigQueryFrontendArgs' query_frontend: ThanosQueryFrontend
22715
+ :param bool service_log: Store logs for the service so that they are available in the HTTP API and console.
22716
+ :param bool static_ips: Use static public IP addresses.
22717
+ """
22718
+ if compactor is not None:
22719
+ pulumi.set(__self__, "compactor", compactor)
22720
+ if ip_filter_objects is not None:
22721
+ pulumi.set(__self__, "ip_filter_objects", ip_filter_objects)
22722
+ if ip_filter_strings is not None:
22723
+ pulumi.set(__self__, "ip_filter_strings", ip_filter_strings)
22724
+ if ip_filters is not None:
22725
+ pulumi.set(__self__, "ip_filters", ip_filters)
22726
+ if object_storage_usage_alert_threshold_gb is not None:
22727
+ pulumi.set(__self__, "object_storage_usage_alert_threshold_gb", object_storage_usage_alert_threshold_gb)
22728
+ if public_access is not None:
22729
+ pulumi.set(__self__, "public_access", public_access)
22730
+ if query is not None:
22731
+ pulumi.set(__self__, "query", query)
22732
+ if query_frontend is not None:
22733
+ pulumi.set(__self__, "query_frontend", query_frontend)
22734
+ if service_log is not None:
22735
+ pulumi.set(__self__, "service_log", service_log)
22736
+ if static_ips is not None:
22737
+ pulumi.set(__self__, "static_ips", static_ips)
22738
+
22739
+ @property
22740
+ @pulumi.getter
22741
+ def compactor(self) -> Optional['outputs.ThanosThanosUserConfigCompactor']:
22742
+ """
22743
+ ThanosCompactor
22744
+ """
22745
+ return pulumi.get(self, "compactor")
22746
+
22747
+ @property
22748
+ @pulumi.getter(name="ipFilterObjects")
22749
+ def ip_filter_objects(self) -> Optional[Sequence['outputs.ThanosThanosUserConfigIpFilterObject']]:
22750
+ """
22751
+ Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`
22752
+ """
22753
+ return pulumi.get(self, "ip_filter_objects")
22754
+
22755
+ @property
22756
+ @pulumi.getter(name="ipFilterStrings")
22757
+ def ip_filter_strings(self) -> Optional[Sequence[str]]:
22758
+ """
22759
+ Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
22760
+ """
22761
+ return pulumi.get(self, "ip_filter_strings")
22762
+
22763
+ @property
22764
+ @pulumi.getter(name="ipFilters")
22765
+ @_utilities.deprecated("""Deprecated. Use `ip_filter_string` instead.""")
22766
+ def ip_filters(self) -> Optional[Sequence[str]]:
22767
+ """
22768
+ Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
22769
+ """
22770
+ return pulumi.get(self, "ip_filters")
22771
+
22772
+ @property
22773
+ @pulumi.getter(name="objectStorageUsageAlertThresholdGb")
22774
+ def object_storage_usage_alert_threshold_gb(self) -> Optional[int]:
22775
+ """
22776
+ After exceeding the limit a service alert is going to be raised (0 means not set).
22777
+ """
22778
+ return pulumi.get(self, "object_storage_usage_alert_threshold_gb")
22779
+
22780
+ @property
22781
+ @pulumi.getter(name="publicAccess")
22782
+ def public_access(self) -> Optional['outputs.ThanosThanosUserConfigPublicAccess']:
22783
+ """
22784
+ Allow access to selected service ports from the public Internet
22785
+ """
22786
+ return pulumi.get(self, "public_access")
22787
+
22788
+ @property
22789
+ @pulumi.getter
22790
+ def query(self) -> Optional['outputs.ThanosThanosUserConfigQuery']:
22791
+ """
22792
+ ThanosQuery
22793
+ """
22794
+ return pulumi.get(self, "query")
22795
+
22796
+ @property
22797
+ @pulumi.getter(name="queryFrontend")
22798
+ def query_frontend(self) -> Optional['outputs.ThanosThanosUserConfigQueryFrontend']:
22799
+ """
22800
+ ThanosQueryFrontend
22801
+ """
22802
+ return pulumi.get(self, "query_frontend")
22803
+
22804
+ @property
22805
+ @pulumi.getter(name="serviceLog")
22806
+ def service_log(self) -> Optional[bool]:
22807
+ """
22808
+ Store logs for the service so that they are available in the HTTP API and console.
22809
+ """
22810
+ return pulumi.get(self, "service_log")
22811
+
22812
+ @property
22813
+ @pulumi.getter(name="staticIps")
22814
+ def static_ips(self) -> Optional[bool]:
22815
+ """
22816
+ Use static public IP addresses.
22817
+ """
22818
+ return pulumi.get(self, "static_ips")
22819
+
22820
+
22821
+ @pulumi.output_type
22822
+ class ThanosThanosUserConfigCompactor(dict):
22823
+ @staticmethod
22824
+ def __key_warning(key: str):
22825
+ suggest = None
22826
+ if key == "retentionDays":
22827
+ suggest = "retention_days"
22828
+
22829
+ if suggest:
22830
+ pulumi.log.warn(f"Key '{key}' not found in ThanosThanosUserConfigCompactor. Access the value via the '{suggest}' property getter instead.")
22831
+
22832
+ def __getitem__(self, key: str) -> Any:
22833
+ ThanosThanosUserConfigCompactor.__key_warning(key)
22834
+ return super().__getitem__(key)
22835
+
22836
+ def get(self, key: str, default = None) -> Any:
22837
+ ThanosThanosUserConfigCompactor.__key_warning(key)
22838
+ return super().get(key, default)
22839
+
22840
+ def __init__(__self__, *,
22841
+ retention_days: Optional[int] = None):
22842
+ """
22843
+ :param int retention_days: Retention time for data in days for each resolution (5m, 1h, raw).
22844
+ """
22845
+ if retention_days is not None:
22846
+ pulumi.set(__self__, "retention_days", retention_days)
22847
+
22848
+ @property
22849
+ @pulumi.getter(name="retentionDays")
22850
+ def retention_days(self) -> Optional[int]:
22851
+ """
22852
+ Retention time for data in days for each resolution (5m, 1h, raw).
22853
+ """
22854
+ return pulumi.get(self, "retention_days")
22855
+
22856
+
22857
+ @pulumi.output_type
22858
+ class ThanosThanosUserConfigIpFilterObject(dict):
22859
+ def __init__(__self__, *,
22860
+ network: str,
22861
+ description: Optional[str] = None):
22862
+ """
22863
+ :param str network: CIDR address block. Example: `10.20.0.0/16`.
22864
+ :param str description: Description for IP filter list entry. Example: `Production service IP range`.
22865
+ """
22866
+ pulumi.set(__self__, "network", network)
22867
+ if description is not None:
22868
+ pulumi.set(__self__, "description", description)
22869
+
22870
+ @property
22871
+ @pulumi.getter
22872
+ def network(self) -> str:
22873
+ """
22874
+ CIDR address block. Example: `10.20.0.0/16`.
22875
+ """
22876
+ return pulumi.get(self, "network")
22877
+
22878
+ @property
22879
+ @pulumi.getter
22880
+ def description(self) -> Optional[str]:
22881
+ """
22882
+ Description for IP filter list entry. Example: `Production service IP range`.
22883
+ """
22884
+ return pulumi.get(self, "description")
22885
+
22886
+
22887
+ @pulumi.output_type
22888
+ class ThanosThanosUserConfigPublicAccess(dict):
22889
+ @staticmethod
22890
+ def __key_warning(key: str):
22891
+ suggest = None
22892
+ if key == "queryFrontend":
22893
+ suggest = "query_frontend"
22894
+ elif key == "receiverIngesting":
22895
+ suggest = "receiver_ingesting"
22896
+ elif key == "receiverRouting":
22897
+ suggest = "receiver_routing"
22898
+
22899
+ if suggest:
22900
+ pulumi.log.warn(f"Key '{key}' not found in ThanosThanosUserConfigPublicAccess. Access the value via the '{suggest}' property getter instead.")
22901
+
22902
+ def __getitem__(self, key: str) -> Any:
22903
+ ThanosThanosUserConfigPublicAccess.__key_warning(key)
22904
+ return super().__getitem__(key)
22905
+
22906
+ def get(self, key: str, default = None) -> Any:
22907
+ ThanosThanosUserConfigPublicAccess.__key_warning(key)
22908
+ return super().get(key, default)
22909
+
22910
+ def __init__(__self__, *,
22911
+ compactor: Optional[bool] = None,
22912
+ query: Optional[bool] = None,
22913
+ query_frontend: Optional[bool] = None,
22914
+ receiver_ingesting: Optional[bool] = None,
22915
+ receiver_routing: Optional[bool] = None,
22916
+ store: Optional[bool] = None):
22917
+ """
22918
+ :param bool compactor: 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.
22919
+ :param bool query: 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.
22920
+ :param bool query_frontend: 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.
22921
+ :param bool receiver_ingesting: 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.
22922
+ :param bool receiver_routing: 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.
22923
+ :param bool store: 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.
22924
+ """
22925
+ if compactor is not None:
22926
+ pulumi.set(__self__, "compactor", compactor)
22927
+ if query is not None:
22928
+ pulumi.set(__self__, "query", query)
22929
+ if query_frontend is not None:
22930
+ pulumi.set(__self__, "query_frontend", query_frontend)
22931
+ if receiver_ingesting is not None:
22932
+ pulumi.set(__self__, "receiver_ingesting", receiver_ingesting)
22933
+ if receiver_routing is not None:
22934
+ pulumi.set(__self__, "receiver_routing", receiver_routing)
22935
+ if store is not None:
22936
+ pulumi.set(__self__, "store", store)
22937
+
22938
+ @property
22939
+ @pulumi.getter
22940
+ def compactor(self) -> Optional[bool]:
22941
+ """
22942
+ 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.
22943
+ """
22944
+ return pulumi.get(self, "compactor")
22945
+
22946
+ @property
22947
+ @pulumi.getter
22948
+ def query(self) -> Optional[bool]:
22949
+ """
22950
+ 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.
22951
+ """
22952
+ return pulumi.get(self, "query")
22953
+
22954
+ @property
22955
+ @pulumi.getter(name="queryFrontend")
22956
+ def query_frontend(self) -> Optional[bool]:
22957
+ """
22958
+ 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.
22959
+ """
22960
+ return pulumi.get(self, "query_frontend")
22961
+
22962
+ @property
22963
+ @pulumi.getter(name="receiverIngesting")
22964
+ def receiver_ingesting(self) -> Optional[bool]:
22965
+ """
22966
+ 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.
22967
+ """
22968
+ return pulumi.get(self, "receiver_ingesting")
22969
+
22970
+ @property
22971
+ @pulumi.getter(name="receiverRouting")
22972
+ def receiver_routing(self) -> Optional[bool]:
22973
+ """
22974
+ 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.
22975
+ """
22976
+ return pulumi.get(self, "receiver_routing")
22977
+
22978
+ @property
22979
+ @pulumi.getter
22980
+ def store(self) -> Optional[bool]:
22981
+ """
22982
+ 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.
22983
+ """
22984
+ return pulumi.get(self, "store")
22985
+
22986
+
22987
+ @pulumi.output_type
22988
+ class ThanosThanosUserConfigQuery(dict):
22989
+ @staticmethod
22990
+ def __key_warning(key: str):
22991
+ suggest = None
22992
+ if key == "queryDefaultEvaluationInterval":
22993
+ suggest = "query_default_evaluation_interval"
22994
+ elif key == "queryLookbackDelta":
22995
+ suggest = "query_lookback_delta"
22996
+ elif key == "queryMetadataDefaultTimeRange":
22997
+ suggest = "query_metadata_default_time_range"
22998
+ elif key == "queryTimeout":
22999
+ suggest = "query_timeout"
23000
+
23001
+ if suggest:
23002
+ pulumi.log.warn(f"Key '{key}' not found in ThanosThanosUserConfigQuery. Access the value via the '{suggest}' property getter instead.")
23003
+
23004
+ def __getitem__(self, key: str) -> Any:
23005
+ ThanosThanosUserConfigQuery.__key_warning(key)
23006
+ return super().__getitem__(key)
23007
+
23008
+ def get(self, key: str, default = None) -> Any:
23009
+ ThanosThanosUserConfigQuery.__key_warning(key)
23010
+ return super().get(key, default)
23011
+
23012
+ def __init__(__self__, *,
23013
+ query_default_evaluation_interval: Optional[str] = None,
23014
+ query_lookback_delta: Optional[str] = None,
23015
+ query_metadata_default_time_range: Optional[str] = None,
23016
+ query_timeout: Optional[str] = None):
23017
+ """
23018
+ :param str query_default_evaluation_interval: Set the default evaluation interval for subqueries. Default: `1m`.
23019
+ :param str query_lookback_delta: 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`.
23020
+ :param str query_metadata_default_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`.
23021
+ :param str query_timeout: Maximum time to process a query by the query node. Default: `2m`.
23022
+ """
23023
+ if query_default_evaluation_interval is not None:
23024
+ pulumi.set(__self__, "query_default_evaluation_interval", query_default_evaluation_interval)
23025
+ if query_lookback_delta is not None:
23026
+ pulumi.set(__self__, "query_lookback_delta", query_lookback_delta)
23027
+ if query_metadata_default_time_range is not None:
23028
+ pulumi.set(__self__, "query_metadata_default_time_range", query_metadata_default_time_range)
23029
+ if query_timeout is not None:
23030
+ pulumi.set(__self__, "query_timeout", query_timeout)
23031
+
23032
+ @property
23033
+ @pulumi.getter(name="queryDefaultEvaluationInterval")
23034
+ def query_default_evaluation_interval(self) -> Optional[str]:
23035
+ """
23036
+ Set the default evaluation interval for subqueries. Default: `1m`.
23037
+ """
23038
+ return pulumi.get(self, "query_default_evaluation_interval")
23039
+
23040
+ @property
23041
+ @pulumi.getter(name="queryLookbackDelta")
23042
+ def query_lookback_delta(self) -> Optional[str]:
23043
+ """
23044
+ 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`.
23045
+ """
23046
+ return pulumi.get(self, "query_lookback_delta")
23047
+
23048
+ @property
23049
+ @pulumi.getter(name="queryMetadataDefaultTimeRange")
23050
+ def query_metadata_default_time_range(self) -> Optional[str]:
23051
+ """
23052
+ 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`.
23053
+ """
23054
+ return pulumi.get(self, "query_metadata_default_time_range")
23055
+
23056
+ @property
23057
+ @pulumi.getter(name="queryTimeout")
23058
+ def query_timeout(self) -> Optional[str]:
23059
+ """
23060
+ Maximum time to process a query by the query node. Default: `2m`.
23061
+ """
23062
+ return pulumi.get(self, "query_timeout")
23063
+
23064
+
23065
+ @pulumi.output_type
23066
+ class ThanosThanosUserConfigQueryFrontend(dict):
23067
+ @staticmethod
23068
+ def __key_warning(key: str):
23069
+ suggest = None
23070
+ if key == "queryRangeAlignRangeWithStep":
23071
+ suggest = "query_range_align_range_with_step"
23072
+
23073
+ if suggest:
23074
+ pulumi.log.warn(f"Key '{key}' not found in ThanosThanosUserConfigQueryFrontend. Access the value via the '{suggest}' property getter instead.")
23075
+
23076
+ def __getitem__(self, key: str) -> Any:
23077
+ ThanosThanosUserConfigQueryFrontend.__key_warning(key)
23078
+ return super().__getitem__(key)
23079
+
23080
+ def get(self, key: str, default = None) -> Any:
23081
+ ThanosThanosUserConfigQueryFrontend.__key_warning(key)
23082
+ return super().get(key, default)
23083
+
23084
+ def __init__(__self__, *,
23085
+ query_range_align_range_with_step: Optional[bool] = None):
23086
+ """
23087
+ :param bool query_range_align_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`.
23088
+ """
23089
+ if query_range_align_range_with_step is not None:
23090
+ pulumi.set(__self__, "query_range_align_range_with_step", query_range_align_range_with_step)
23091
+
23092
+ @property
23093
+ @pulumi.getter(name="queryRangeAlignRangeWithStep")
23094
+ def query_range_align_range_with_step(self) -> Optional[bool]:
23095
+ """
23096
+ 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`.
23097
+ """
23098
+ return pulumi.get(self, "query_range_align_range_with_step")
23099
+
23100
+
22319
23101
  @pulumi.output_type
22320
23102
  class GetAccountAuthenticationSamlFieldMappingResult(dict):
22321
23103
  def __init__(__self__, *,
@@ -40109,3 +40891,577 @@ class GetServiceIntegrationPrometheusUserConfigSourceMysqlTelegrafResult(dict):
40109
40891
  return pulumi.get(self, "perf_events_statements_time_limit")
40110
40892
 
40111
40893
 
40894
+ @pulumi.output_type
40895
+ class GetThanosComponentResult(dict):
40896
+ def __init__(__self__, *,
40897
+ component: str,
40898
+ connection_uri: str,
40899
+ host: str,
40900
+ kafka_authentication_method: str,
40901
+ port: int,
40902
+ route: str,
40903
+ ssl: bool,
40904
+ usage: str):
40905
+ """
40906
+ :param str component: Service component name
40907
+ :param str connection_uri: Connection info for connecting to the service component. This is a combination of host and port.
40908
+ :param str host: Host name for connecting to the service component
40909
+ :param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component
40910
+ :param int port: Port number for connecting to the service component
40911
+ :param str route: Network access route
40912
+ :param bool ssl: 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
40913
+ :param str usage: DNS usage name
40914
+ """
40915
+ pulumi.set(__self__, "component", component)
40916
+ pulumi.set(__self__, "connection_uri", connection_uri)
40917
+ pulumi.set(__self__, "host", host)
40918
+ pulumi.set(__self__, "kafka_authentication_method", kafka_authentication_method)
40919
+ pulumi.set(__self__, "port", port)
40920
+ pulumi.set(__self__, "route", route)
40921
+ pulumi.set(__self__, "ssl", ssl)
40922
+ pulumi.set(__self__, "usage", usage)
40923
+
40924
+ @property
40925
+ @pulumi.getter
40926
+ def component(self) -> str:
40927
+ """
40928
+ Service component name
40929
+ """
40930
+ return pulumi.get(self, "component")
40931
+
40932
+ @property
40933
+ @pulumi.getter(name="connectionUri")
40934
+ def connection_uri(self) -> str:
40935
+ """
40936
+ Connection info for connecting to the service component. This is a combination of host and port.
40937
+ """
40938
+ return pulumi.get(self, "connection_uri")
40939
+
40940
+ @property
40941
+ @pulumi.getter
40942
+ def host(self) -> str:
40943
+ """
40944
+ Host name for connecting to the service component
40945
+ """
40946
+ return pulumi.get(self, "host")
40947
+
40948
+ @property
40949
+ @pulumi.getter(name="kafkaAuthenticationMethod")
40950
+ def kafka_authentication_method(self) -> str:
40951
+ """
40952
+ Kafka authentication method. This is a value specific to the 'kafka' service component
40953
+ """
40954
+ return pulumi.get(self, "kafka_authentication_method")
40955
+
40956
+ @property
40957
+ @pulumi.getter
40958
+ def port(self) -> int:
40959
+ """
40960
+ Port number for connecting to the service component
40961
+ """
40962
+ return pulumi.get(self, "port")
40963
+
40964
+ @property
40965
+ @pulumi.getter
40966
+ def route(self) -> str:
40967
+ """
40968
+ Network access route
40969
+ """
40970
+ return pulumi.get(self, "route")
40971
+
40972
+ @property
40973
+ @pulumi.getter
40974
+ def ssl(self) -> bool:
40975
+ """
40976
+ 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
40977
+ """
40978
+ return pulumi.get(self, "ssl")
40979
+
40980
+ @property
40981
+ @pulumi.getter
40982
+ def usage(self) -> str:
40983
+ """
40984
+ DNS usage name
40985
+ """
40986
+ return pulumi.get(self, "usage")
40987
+
40988
+
40989
+ @pulumi.output_type
40990
+ class GetThanosServiceIntegrationResult(dict):
40991
+ def __init__(__self__, *,
40992
+ integration_type: str,
40993
+ source_service_name: str):
40994
+ """
40995
+ :param str integration_type: Type of the service integration. The only supported value at the moment is `read_replica`
40996
+ :param str source_service_name: Name of the source service
40997
+ """
40998
+ pulumi.set(__self__, "integration_type", integration_type)
40999
+ pulumi.set(__self__, "source_service_name", source_service_name)
41000
+
41001
+ @property
41002
+ @pulumi.getter(name="integrationType")
41003
+ def integration_type(self) -> str:
41004
+ """
41005
+ Type of the service integration. The only supported value at the moment is `read_replica`
41006
+ """
41007
+ return pulumi.get(self, "integration_type")
41008
+
41009
+ @property
41010
+ @pulumi.getter(name="sourceServiceName")
41011
+ def source_service_name(self) -> str:
41012
+ """
41013
+ Name of the source service
41014
+ """
41015
+ return pulumi.get(self, "source_service_name")
41016
+
41017
+
41018
+ @pulumi.output_type
41019
+ class GetThanosTagResult(dict):
41020
+ def __init__(__self__, *,
41021
+ key: str,
41022
+ value: str):
41023
+ """
41024
+ :param str key: Service tag key
41025
+ :param str value: Service tag value
41026
+ """
41027
+ pulumi.set(__self__, "key", key)
41028
+ pulumi.set(__self__, "value", value)
41029
+
41030
+ @property
41031
+ @pulumi.getter
41032
+ def key(self) -> str:
41033
+ """
41034
+ Service tag key
41035
+ """
41036
+ return pulumi.get(self, "key")
41037
+
41038
+ @property
41039
+ @pulumi.getter
41040
+ def value(self) -> str:
41041
+ """
41042
+ Service tag value
41043
+ """
41044
+ return pulumi.get(self, "value")
41045
+
41046
+
41047
+ @pulumi.output_type
41048
+ class GetThanosTechEmailResult(dict):
41049
+ def __init__(__self__, *,
41050
+ email: str):
41051
+ """
41052
+ :param str email: An email address to contact for technical issues
41053
+ """
41054
+ pulumi.set(__self__, "email", email)
41055
+
41056
+ @property
41057
+ @pulumi.getter
41058
+ def email(self) -> str:
41059
+ """
41060
+ An email address to contact for technical issues
41061
+ """
41062
+ return pulumi.get(self, "email")
41063
+
41064
+
41065
+ @pulumi.output_type
41066
+ class GetThanosThanoResult(dict):
41067
+ def __init__(__self__, *,
41068
+ query_frontend_uri: str,
41069
+ query_uri: str,
41070
+ receiver_ingesting_remote_write_uri: str,
41071
+ receiver_remote_write_uri: str,
41072
+ store_uri: str,
41073
+ uris: Sequence[str]):
41074
+ """
41075
+ :param str query_frontend_uri: Query frontend URI.
41076
+ :param str query_uri: Query URI.
41077
+ :param str receiver_ingesting_remote_write_uri: Receiver ingesting remote write URI.
41078
+ :param str receiver_remote_write_uri: Receiver remote write URI.
41079
+ :param str store_uri: Store URI.
41080
+ :param Sequence[str] uris: Thanos server URIs.
41081
+ """
41082
+ pulumi.set(__self__, "query_frontend_uri", query_frontend_uri)
41083
+ pulumi.set(__self__, "query_uri", query_uri)
41084
+ pulumi.set(__self__, "receiver_ingesting_remote_write_uri", receiver_ingesting_remote_write_uri)
41085
+ pulumi.set(__self__, "receiver_remote_write_uri", receiver_remote_write_uri)
41086
+ pulumi.set(__self__, "store_uri", store_uri)
41087
+ pulumi.set(__self__, "uris", uris)
41088
+
41089
+ @property
41090
+ @pulumi.getter(name="queryFrontendUri")
41091
+ def query_frontend_uri(self) -> str:
41092
+ """
41093
+ Query frontend URI.
41094
+ """
41095
+ return pulumi.get(self, "query_frontend_uri")
41096
+
41097
+ @property
41098
+ @pulumi.getter(name="queryUri")
41099
+ def query_uri(self) -> str:
41100
+ """
41101
+ Query URI.
41102
+ """
41103
+ return pulumi.get(self, "query_uri")
41104
+
41105
+ @property
41106
+ @pulumi.getter(name="receiverIngestingRemoteWriteUri")
41107
+ def receiver_ingesting_remote_write_uri(self) -> str:
41108
+ """
41109
+ Receiver ingesting remote write URI.
41110
+ """
41111
+ return pulumi.get(self, "receiver_ingesting_remote_write_uri")
41112
+
41113
+ @property
41114
+ @pulumi.getter(name="receiverRemoteWriteUri")
41115
+ def receiver_remote_write_uri(self) -> str:
41116
+ """
41117
+ Receiver remote write URI.
41118
+ """
41119
+ return pulumi.get(self, "receiver_remote_write_uri")
41120
+
41121
+ @property
41122
+ @pulumi.getter(name="storeUri")
41123
+ def store_uri(self) -> str:
41124
+ """
41125
+ Store URI.
41126
+ """
41127
+ return pulumi.get(self, "store_uri")
41128
+
41129
+ @property
41130
+ @pulumi.getter
41131
+ def uris(self) -> Sequence[str]:
41132
+ """
41133
+ Thanos server URIs.
41134
+ """
41135
+ return pulumi.get(self, "uris")
41136
+
41137
+
41138
+ @pulumi.output_type
41139
+ class GetThanosThanosUserConfigResult(dict):
41140
+ def __init__(__self__, *,
41141
+ compactor: Optional['outputs.GetThanosThanosUserConfigCompactorResult'] = None,
41142
+ ip_filter_objects: Optional[Sequence['outputs.GetThanosThanosUserConfigIpFilterObjectResult']] = None,
41143
+ ip_filter_strings: Optional[Sequence[str]] = None,
41144
+ ip_filters: Optional[Sequence[str]] = None,
41145
+ object_storage_usage_alert_threshold_gb: Optional[int] = None,
41146
+ public_access: Optional['outputs.GetThanosThanosUserConfigPublicAccessResult'] = None,
41147
+ query: Optional['outputs.GetThanosThanosUserConfigQueryResult'] = None,
41148
+ query_frontend: Optional['outputs.GetThanosThanosUserConfigQueryFrontendResult'] = None,
41149
+ service_log: Optional[bool] = None,
41150
+ static_ips: Optional[bool] = None):
41151
+ """
41152
+ :param 'GetThanosThanosUserConfigCompactorArgs' compactor: ThanosCompactor
41153
+ :param Sequence['GetThanosThanosUserConfigIpFilterObjectArgs'] ip_filter_objects: Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`
41154
+ :param Sequence[str] ip_filter_strings: Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
41155
+ :param Sequence[str] ip_filters: Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
41156
+ :param int object_storage_usage_alert_threshold_gb: After exceeding the limit a service alert is going to be raised (0 means not set).
41157
+ :param 'GetThanosThanosUserConfigPublicAccessArgs' public_access: Allow access to selected service ports from the public Internet
41158
+ :param 'GetThanosThanosUserConfigQueryArgs' query: ThanosQuery
41159
+ :param 'GetThanosThanosUserConfigQueryFrontendArgs' query_frontend: ThanosQueryFrontend
41160
+ :param bool service_log: Store logs for the service so that they are available in the HTTP API and console.
41161
+ :param bool static_ips: Use static public IP addresses.
41162
+ """
41163
+ if compactor is not None:
41164
+ pulumi.set(__self__, "compactor", compactor)
41165
+ if ip_filter_objects is not None:
41166
+ pulumi.set(__self__, "ip_filter_objects", ip_filter_objects)
41167
+ if ip_filter_strings is not None:
41168
+ pulumi.set(__self__, "ip_filter_strings", ip_filter_strings)
41169
+ if ip_filters is not None:
41170
+ pulumi.set(__self__, "ip_filters", ip_filters)
41171
+ if object_storage_usage_alert_threshold_gb is not None:
41172
+ pulumi.set(__self__, "object_storage_usage_alert_threshold_gb", object_storage_usage_alert_threshold_gb)
41173
+ if public_access is not None:
41174
+ pulumi.set(__self__, "public_access", public_access)
41175
+ if query is not None:
41176
+ pulumi.set(__self__, "query", query)
41177
+ if query_frontend is not None:
41178
+ pulumi.set(__self__, "query_frontend", query_frontend)
41179
+ if service_log is not None:
41180
+ pulumi.set(__self__, "service_log", service_log)
41181
+ if static_ips is not None:
41182
+ pulumi.set(__self__, "static_ips", static_ips)
41183
+
41184
+ @property
41185
+ @pulumi.getter
41186
+ def compactor(self) -> Optional['outputs.GetThanosThanosUserConfigCompactorResult']:
41187
+ """
41188
+ ThanosCompactor
41189
+ """
41190
+ return pulumi.get(self, "compactor")
41191
+
41192
+ @property
41193
+ @pulumi.getter(name="ipFilterObjects")
41194
+ def ip_filter_objects(self) -> Optional[Sequence['outputs.GetThanosThanosUserConfigIpFilterObjectResult']]:
41195
+ """
41196
+ Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`
41197
+ """
41198
+ return pulumi.get(self, "ip_filter_objects")
41199
+
41200
+ @property
41201
+ @pulumi.getter(name="ipFilterStrings")
41202
+ def ip_filter_strings(self) -> Optional[Sequence[str]]:
41203
+ """
41204
+ Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
41205
+ """
41206
+ return pulumi.get(self, "ip_filter_strings")
41207
+
41208
+ @property
41209
+ @pulumi.getter(name="ipFilters")
41210
+ @_utilities.deprecated("""Deprecated. Use `ip_filter_string` instead.""")
41211
+ def ip_filters(self) -> Optional[Sequence[str]]:
41212
+ """
41213
+ Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
41214
+ """
41215
+ return pulumi.get(self, "ip_filters")
41216
+
41217
+ @property
41218
+ @pulumi.getter(name="objectStorageUsageAlertThresholdGb")
41219
+ def object_storage_usage_alert_threshold_gb(self) -> Optional[int]:
41220
+ """
41221
+ After exceeding the limit a service alert is going to be raised (0 means not set).
41222
+ """
41223
+ return pulumi.get(self, "object_storage_usage_alert_threshold_gb")
41224
+
41225
+ @property
41226
+ @pulumi.getter(name="publicAccess")
41227
+ def public_access(self) -> Optional['outputs.GetThanosThanosUserConfigPublicAccessResult']:
41228
+ """
41229
+ Allow access to selected service ports from the public Internet
41230
+ """
41231
+ return pulumi.get(self, "public_access")
41232
+
41233
+ @property
41234
+ @pulumi.getter
41235
+ def query(self) -> Optional['outputs.GetThanosThanosUserConfigQueryResult']:
41236
+ """
41237
+ ThanosQuery
41238
+ """
41239
+ return pulumi.get(self, "query")
41240
+
41241
+ @property
41242
+ @pulumi.getter(name="queryFrontend")
41243
+ def query_frontend(self) -> Optional['outputs.GetThanosThanosUserConfigQueryFrontendResult']:
41244
+ """
41245
+ ThanosQueryFrontend
41246
+ """
41247
+ return pulumi.get(self, "query_frontend")
41248
+
41249
+ @property
41250
+ @pulumi.getter(name="serviceLog")
41251
+ def service_log(self) -> Optional[bool]:
41252
+ """
41253
+ Store logs for the service so that they are available in the HTTP API and console.
41254
+ """
41255
+ return pulumi.get(self, "service_log")
41256
+
41257
+ @property
41258
+ @pulumi.getter(name="staticIps")
41259
+ def static_ips(self) -> Optional[bool]:
41260
+ """
41261
+ Use static public IP addresses.
41262
+ """
41263
+ return pulumi.get(self, "static_ips")
41264
+
41265
+
41266
+ @pulumi.output_type
41267
+ class GetThanosThanosUserConfigCompactorResult(dict):
41268
+ def __init__(__self__, *,
41269
+ retention_days: Optional[int] = None):
41270
+ """
41271
+ :param int retention_days: Retention time for data in days for each resolution (5m, 1h, raw).
41272
+ """
41273
+ if retention_days is not None:
41274
+ pulumi.set(__self__, "retention_days", retention_days)
41275
+
41276
+ @property
41277
+ @pulumi.getter(name="retentionDays")
41278
+ def retention_days(self) -> Optional[int]:
41279
+ """
41280
+ Retention time for data in days for each resolution (5m, 1h, raw).
41281
+ """
41282
+ return pulumi.get(self, "retention_days")
41283
+
41284
+
41285
+ @pulumi.output_type
41286
+ class GetThanosThanosUserConfigIpFilterObjectResult(dict):
41287
+ def __init__(__self__, *,
41288
+ network: str,
41289
+ description: Optional[str] = None):
41290
+ """
41291
+ :param str network: CIDR address block. Example: `10.20.0.0/16`.
41292
+ :param str description: Description for IP filter list entry. Example: `Production service IP range`.
41293
+ """
41294
+ pulumi.set(__self__, "network", network)
41295
+ if description is not None:
41296
+ pulumi.set(__self__, "description", description)
41297
+
41298
+ @property
41299
+ @pulumi.getter
41300
+ def network(self) -> str:
41301
+ """
41302
+ CIDR address block. Example: `10.20.0.0/16`.
41303
+ """
41304
+ return pulumi.get(self, "network")
41305
+
41306
+ @property
41307
+ @pulumi.getter
41308
+ def description(self) -> Optional[str]:
41309
+ """
41310
+ Description for IP filter list entry. Example: `Production service IP range`.
41311
+ """
41312
+ return pulumi.get(self, "description")
41313
+
41314
+
41315
+ @pulumi.output_type
41316
+ class GetThanosThanosUserConfigPublicAccessResult(dict):
41317
+ def __init__(__self__, *,
41318
+ compactor: Optional[bool] = None,
41319
+ query: Optional[bool] = None,
41320
+ query_frontend: Optional[bool] = None,
41321
+ receiver_ingesting: Optional[bool] = None,
41322
+ receiver_routing: Optional[bool] = None,
41323
+ store: Optional[bool] = None):
41324
+ """
41325
+ :param bool compactor: 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.
41326
+ :param bool query: 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.
41327
+ :param bool query_frontend: 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.
41328
+ :param bool receiver_ingesting: 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.
41329
+ :param bool receiver_routing: 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.
41330
+ :param bool store: 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.
41331
+ """
41332
+ if compactor is not None:
41333
+ pulumi.set(__self__, "compactor", compactor)
41334
+ if query is not None:
41335
+ pulumi.set(__self__, "query", query)
41336
+ if query_frontend is not None:
41337
+ pulumi.set(__self__, "query_frontend", query_frontend)
41338
+ if receiver_ingesting is not None:
41339
+ pulumi.set(__self__, "receiver_ingesting", receiver_ingesting)
41340
+ if receiver_routing is not None:
41341
+ pulumi.set(__self__, "receiver_routing", receiver_routing)
41342
+ if store is not None:
41343
+ pulumi.set(__self__, "store", store)
41344
+
41345
+ @property
41346
+ @pulumi.getter
41347
+ def compactor(self) -> Optional[bool]:
41348
+ """
41349
+ 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.
41350
+ """
41351
+ return pulumi.get(self, "compactor")
41352
+
41353
+ @property
41354
+ @pulumi.getter
41355
+ def query(self) -> Optional[bool]:
41356
+ """
41357
+ 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.
41358
+ """
41359
+ return pulumi.get(self, "query")
41360
+
41361
+ @property
41362
+ @pulumi.getter(name="queryFrontend")
41363
+ def query_frontend(self) -> Optional[bool]:
41364
+ """
41365
+ 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.
41366
+ """
41367
+ return pulumi.get(self, "query_frontend")
41368
+
41369
+ @property
41370
+ @pulumi.getter(name="receiverIngesting")
41371
+ def receiver_ingesting(self) -> Optional[bool]:
41372
+ """
41373
+ 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.
41374
+ """
41375
+ return pulumi.get(self, "receiver_ingesting")
41376
+
41377
+ @property
41378
+ @pulumi.getter(name="receiverRouting")
41379
+ def receiver_routing(self) -> Optional[bool]:
41380
+ """
41381
+ 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.
41382
+ """
41383
+ return pulumi.get(self, "receiver_routing")
41384
+
41385
+ @property
41386
+ @pulumi.getter
41387
+ def store(self) -> Optional[bool]:
41388
+ """
41389
+ 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.
41390
+ """
41391
+ return pulumi.get(self, "store")
41392
+
41393
+
41394
+ @pulumi.output_type
41395
+ class GetThanosThanosUserConfigQueryResult(dict):
41396
+ def __init__(__self__, *,
41397
+ query_default_evaluation_interval: Optional[str] = None,
41398
+ query_lookback_delta: Optional[str] = None,
41399
+ query_metadata_default_time_range: Optional[str] = None,
41400
+ query_timeout: Optional[str] = None):
41401
+ """
41402
+ :param str query_default_evaluation_interval: Set the default evaluation interval for subqueries. Default: `1m`.
41403
+ :param str query_lookback_delta: 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`.
41404
+ :param str query_metadata_default_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`.
41405
+ :param str query_timeout: Maximum time to process a query by the query node. Default: `2m`.
41406
+ """
41407
+ if query_default_evaluation_interval is not None:
41408
+ pulumi.set(__self__, "query_default_evaluation_interval", query_default_evaluation_interval)
41409
+ if query_lookback_delta is not None:
41410
+ pulumi.set(__self__, "query_lookback_delta", query_lookback_delta)
41411
+ if query_metadata_default_time_range is not None:
41412
+ pulumi.set(__self__, "query_metadata_default_time_range", query_metadata_default_time_range)
41413
+ if query_timeout is not None:
41414
+ pulumi.set(__self__, "query_timeout", query_timeout)
41415
+
41416
+ @property
41417
+ @pulumi.getter(name="queryDefaultEvaluationInterval")
41418
+ def query_default_evaluation_interval(self) -> Optional[str]:
41419
+ """
41420
+ Set the default evaluation interval for subqueries. Default: `1m`.
41421
+ """
41422
+ return pulumi.get(self, "query_default_evaluation_interval")
41423
+
41424
+ @property
41425
+ @pulumi.getter(name="queryLookbackDelta")
41426
+ def query_lookback_delta(self) -> Optional[str]:
41427
+ """
41428
+ 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`.
41429
+ """
41430
+ return pulumi.get(self, "query_lookback_delta")
41431
+
41432
+ @property
41433
+ @pulumi.getter(name="queryMetadataDefaultTimeRange")
41434
+ def query_metadata_default_time_range(self) -> Optional[str]:
41435
+ """
41436
+ 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`.
41437
+ """
41438
+ return pulumi.get(self, "query_metadata_default_time_range")
41439
+
41440
+ @property
41441
+ @pulumi.getter(name="queryTimeout")
41442
+ def query_timeout(self) -> Optional[str]:
41443
+ """
41444
+ Maximum time to process a query by the query node. Default: `2m`.
41445
+ """
41446
+ return pulumi.get(self, "query_timeout")
41447
+
41448
+
41449
+ @pulumi.output_type
41450
+ class GetThanosThanosUserConfigQueryFrontendResult(dict):
41451
+ def __init__(__self__, *,
41452
+ query_range_align_range_with_step: Optional[bool] = None):
41453
+ """
41454
+ :param bool query_range_align_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`.
41455
+ """
41456
+ if query_range_align_range_with_step is not None:
41457
+ pulumi.set(__self__, "query_range_align_range_with_step", query_range_align_range_with_step)
41458
+
41459
+ @property
41460
+ @pulumi.getter(name="queryRangeAlignRangeWithStep")
41461
+ def query_range_align_range_with_step(self) -> Optional[bool]:
41462
+ """
41463
+ 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`.
41464
+ """
41465
+ return pulumi.get(self, "query_range_align_range_with_step")
41466
+
41467
+