pulumi-aiven 6.21.0a1722856076__py3-none-any.whl → 6.22.0__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/_inputs.py +721 -67
- pulumi_aiven/account_authentication.py +5 -5
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/aws_vpc_peering_connection.py +7 -7
- pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
- pulumi_aiven/azure_vpc_peering_connection.py +7 -7
- pulumi_aiven/cassandra.py +46 -46
- pulumi_aiven/clickhouse.py +34 -34
- pulumi_aiven/clickhouse_grant.py +34 -34
- pulumi_aiven/dragonfly.py +40 -40
- pulumi_aiven/flink.py +40 -40
- pulumi_aiven/flink_application_deployment.py +16 -16
- pulumi_aiven/flink_application_version.py +36 -36
- pulumi_aiven/gcp_vpc_peering_connection.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_pg.py +8 -8
- pulumi_aiven/get_pg_database.py +8 -8
- pulumi_aiven/get_pg_user.py +16 -16
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +46 -46
- pulumi_aiven/influx_db.py +48 -41
- pulumi_aiven/kafka.py +62 -62
- pulumi_aiven/kafka_connect.py +59 -59
- pulumi_aiven/kafka_connector.py +2 -2
- pulumi_aiven/kafka_mirror_maker.py +45 -45
- pulumi_aiven/kafka_topic.py +18 -18
- pulumi_aiven/m3_aggregator.py +40 -40
- pulumi_aiven/m3_db.py +48 -48
- pulumi_aiven/my_sql.py +54 -54
- pulumi_aiven/mysql_user.py +7 -7
- pulumi_aiven/open_search.py +56 -56
- pulumi_aiven/organization.py +3 -3
- pulumi_aiven/organization_group_project.py +3 -3
- pulumi_aiven/organization_user_group_member.py +3 -3
- pulumi_aiven/outputs.py +1252 -135
- pulumi_aiven/pg.py +43 -43
- pulumi_aiven/pg_database.py +12 -12
- pulumi_aiven/pg_user.py +47 -47
- pulumi_aiven/project.py +5 -5
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/project_vpc.py +4 -4
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +46 -46
- pulumi_aiven/service_integration.py +72 -72
- pulumi_aiven/service_integration_endpoint.py +65 -65
- pulumi_aiven/thanos.py +34 -34
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -7
- pulumi_aiven/valkey.py +40 -40
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/RECORD +75 -75
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_project_user.py
CHANGED
|
@@ -66,7 +66,7 @@ class GetProjectUserResult:
|
|
|
66
66
|
@pulumi.getter(name="memberType")
|
|
67
67
|
def member_type(self) -> str:
|
|
68
68
|
"""
|
|
69
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
69
|
+
Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
70
70
|
"""
|
|
71
71
|
return pulumi.get(self, "member_type")
|
|
72
72
|
|
pulumi_aiven/get_project_vpc.py
CHANGED
|
@@ -77,7 +77,7 @@ class GetProjectVpcResult:
|
|
|
77
77
|
@pulumi.getter
|
|
78
78
|
def state(self) -> str:
|
|
79
79
|
"""
|
|
80
|
-
State of the VPC. The possible values are `
|
|
80
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
81
81
|
"""
|
|
82
82
|
return pulumi.get(self, "state")
|
|
83
83
|
|
pulumi_aiven/get_redis.py
CHANGED
|
@@ -115,7 +115,7 @@ class GetRedisResult:
|
|
|
115
115
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
116
|
def additional_disk_space(self) -> str:
|
|
117
117
|
"""
|
|
118
|
-
|
|
118
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "additional_disk_space")
|
|
121
121
|
|
|
@@ -179,7 +179,7 @@ class GetServiceIntegrationResult:
|
|
|
179
179
|
@pulumi.getter(name="integrationType")
|
|
180
180
|
def integration_type(self) -> str:
|
|
181
181
|
"""
|
|
182
|
-
Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
182
|
+
Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_distributed_query`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
183
183
|
"""
|
|
184
184
|
return pulumi.get(self, "integration_type")
|
|
185
185
|
|
|
@@ -307,7 +307,7 @@ def get_service_integration(destination_service_name: Optional[str] = None,
|
|
|
307
307
|
|
|
308
308
|
|
|
309
309
|
:param str destination_service_name: Destination service for the integration.
|
|
310
|
-
:param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
310
|
+
:param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_distributed_query`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
311
311
|
:param str project: Project the integration belongs to.
|
|
312
312
|
:param str source_service_name: Source service for the integration (if any)
|
|
313
313
|
"""
|
|
@@ -366,7 +366,7 @@ def get_service_integration_output(destination_service_name: Optional[pulumi.Inp
|
|
|
366
366
|
|
|
367
367
|
|
|
368
368
|
:param str destination_service_name: Destination service for the integration.
|
|
369
|
-
:param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
369
|
+
:param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_distributed_query`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
370
370
|
:param str project: Project the integration belongs to.
|
|
371
371
|
:param str source_service_name: Source service for the integration (if any)
|
|
372
372
|
"""
|
pulumi_aiven/get_thanos.py
CHANGED
|
@@ -115,7 +115,7 @@ class GetThanosResult:
|
|
|
115
115
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
116
|
def additional_disk_space(self) -> str:
|
|
117
117
|
"""
|
|
118
|
-
|
|
118
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "additional_disk_space")
|
|
121
121
|
|
|
@@ -100,7 +100,7 @@ class GetTransitGatewayVpcAttachmentResult:
|
|
|
100
100
|
|
|
101
101
|
@property
|
|
102
102
|
@pulumi.getter(name="stateInfo")
|
|
103
|
-
def state_info(self) -> Mapping[str,
|
|
103
|
+
def state_info(self) -> Mapping[str, str]:
|
|
104
104
|
"""
|
|
105
105
|
State-specific help or error information
|
|
106
106
|
"""
|
pulumi_aiven/get_valkey.py
CHANGED
|
@@ -115,7 +115,7 @@ class GetValkeyResult:
|
|
|
115
115
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
116
|
def additional_disk_space(self) -> str:
|
|
117
117
|
"""
|
|
118
|
-
|
|
118
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "additional_disk_space")
|
|
121
121
|
|
pulumi_aiven/grafana.py
CHANGED
|
@@ -36,7 +36,7 @@ class GrafanaArgs:
|
|
|
36
36
|
The set of arguments for constructing a Grafana resource.
|
|
37
37
|
:param pulumi.Input[str] plan: 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` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
38
38
|
:param pulumi.Input[str] project: 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.
|
|
39
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
39
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
40
40
|
:param pulumi.Input[str] cloud_name: 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](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
41
41
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
42
42
|
:param pulumi.Input['GrafanaGrafanaArgs'] grafana: Grafana server provided values
|
|
@@ -113,7 +113,7 @@ class GrafanaArgs:
|
|
|
113
113
|
@pulumi.getter(name="additionalDiskSpace")
|
|
114
114
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
115
115
|
"""
|
|
116
|
-
|
|
116
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
117
117
|
"""
|
|
118
118
|
return pulumi.get(self, "additional_disk_space")
|
|
119
119
|
|
|
@@ -312,7 +312,7 @@ class _GrafanaState:
|
|
|
312
312
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
313
313
|
"""
|
|
314
314
|
Input properties used for looking up and filtering Grafana resources.
|
|
315
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
315
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
316
316
|
:param pulumi.Input[str] cloud_name: 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](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
317
317
|
:param pulumi.Input[Sequence[pulumi.Input['GrafanaComponentArgs']]] components: Service component information objects
|
|
318
318
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -405,7 +405,7 @@ class _GrafanaState:
|
|
|
405
405
|
@pulumi.getter(name="additionalDiskSpace")
|
|
406
406
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
407
407
|
"""
|
|
408
|
-
|
|
408
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
409
409
|
"""
|
|
410
410
|
return pulumi.get(self, "additional_disk_space")
|
|
411
411
|
|
|
@@ -747,18 +747,18 @@ class Grafana(pulumi.CustomResource):
|
|
|
747
747
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
748
748
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
749
749
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
750
|
-
grafana: Optional[pulumi.Input[
|
|
751
|
-
grafana_user_config: Optional[pulumi.Input[
|
|
750
|
+
grafana: Optional[pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']]] = None,
|
|
751
|
+
grafana_user_config: Optional[pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']]] = None,
|
|
752
752
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
753
753
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
754
754
|
plan: Optional[pulumi.Input[str]] = None,
|
|
755
755
|
project: Optional[pulumi.Input[str]] = None,
|
|
756
756
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
757
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
757
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]]] = None,
|
|
758
758
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
759
759
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
760
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
761
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]]] = None,
|
|
761
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]]] = None,
|
|
762
762
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
763
763
|
__props__=None):
|
|
764
764
|
"""
|
|
@@ -777,12 +777,12 @@ class Grafana(pulumi.CustomResource):
|
|
|
777
777
|
service_name="my-gr1",
|
|
778
778
|
maintenance_window_dow="monday",
|
|
779
779
|
maintenance_window_time="10:00:00",
|
|
780
|
-
grafana_user_config=
|
|
781
|
-
alerting_enabled
|
|
782
|
-
public_access
|
|
783
|
-
grafana
|
|
784
|
-
|
|
785
|
-
)
|
|
780
|
+
grafana_user_config={
|
|
781
|
+
"alerting_enabled": True,
|
|
782
|
+
"public_access": {
|
|
783
|
+
"grafana": True,
|
|
784
|
+
},
|
|
785
|
+
})
|
|
786
786
|
```
|
|
787
787
|
|
|
788
788
|
## Import
|
|
@@ -793,21 +793,21 @@ class Grafana(pulumi.CustomResource):
|
|
|
793
793
|
|
|
794
794
|
:param str resource_name: The name of the resource.
|
|
795
795
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
796
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
796
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
797
797
|
:param pulumi.Input[str] cloud_name: 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](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
798
798
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
799
|
-
:param pulumi.Input[
|
|
800
|
-
:param pulumi.Input[
|
|
799
|
+
:param pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']] grafana: Grafana server provided values
|
|
800
|
+
:param pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']] grafana_user_config: Grafana user configurable settings
|
|
801
801
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
802
802
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
803
803
|
:param pulumi.Input[str] plan: 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` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
804
804
|
:param pulumi.Input[str] project: 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.
|
|
805
805
|
:param pulumi.Input[str] project_vpc_id: 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.
|
|
806
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
806
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
807
807
|
:param pulumi.Input[str] service_name: 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.
|
|
808
808
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: 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
|
|
809
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
810
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
809
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
810
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
811
811
|
:param pulumi.Input[bool] termination_protection: 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.
|
|
812
812
|
"""
|
|
813
813
|
...
|
|
@@ -832,12 +832,12 @@ class Grafana(pulumi.CustomResource):
|
|
|
832
832
|
service_name="my-gr1",
|
|
833
833
|
maintenance_window_dow="monday",
|
|
834
834
|
maintenance_window_time="10:00:00",
|
|
835
|
-
grafana_user_config=
|
|
836
|
-
alerting_enabled
|
|
837
|
-
public_access
|
|
838
|
-
grafana
|
|
839
|
-
|
|
840
|
-
)
|
|
835
|
+
grafana_user_config={
|
|
836
|
+
"alerting_enabled": True,
|
|
837
|
+
"public_access": {
|
|
838
|
+
"grafana": True,
|
|
839
|
+
},
|
|
840
|
+
})
|
|
841
841
|
```
|
|
842
842
|
|
|
843
843
|
## Import
|
|
@@ -864,18 +864,18 @@ class Grafana(pulumi.CustomResource):
|
|
|
864
864
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
865
865
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
866
866
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
867
|
-
grafana: Optional[pulumi.Input[
|
|
868
|
-
grafana_user_config: Optional[pulumi.Input[
|
|
867
|
+
grafana: Optional[pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']]] = None,
|
|
868
|
+
grafana_user_config: Optional[pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']]] = None,
|
|
869
869
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
870
870
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
871
871
|
plan: Optional[pulumi.Input[str]] = None,
|
|
872
872
|
project: Optional[pulumi.Input[str]] = None,
|
|
873
873
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
874
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
874
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]]] = None,
|
|
875
875
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
876
876
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
877
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
878
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
877
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]]] = None,
|
|
878
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]]] = None,
|
|
879
879
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
880
880
|
__props__=None):
|
|
881
881
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -932,21 +932,21 @@ class Grafana(pulumi.CustomResource):
|
|
|
932
932
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
933
933
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
934
934
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
935
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
935
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaComponentArgs', 'GrafanaComponentArgsDict']]]]] = None,
|
|
936
936
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
937
937
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
938
938
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
939
939
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
940
940
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
941
|
-
grafana: Optional[pulumi.Input[
|
|
942
|
-
grafana_user_config: Optional[pulumi.Input[
|
|
941
|
+
grafana: Optional[pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']]] = None,
|
|
942
|
+
grafana_user_config: Optional[pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']]] = None,
|
|
943
943
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
944
944
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
945
945
|
plan: Optional[pulumi.Input[str]] = None,
|
|
946
946
|
project: Optional[pulumi.Input[str]] = None,
|
|
947
947
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
948
948
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
949
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
949
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]]] = None,
|
|
950
950
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
951
951
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
952
952
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -955,8 +955,8 @@ class Grafana(pulumi.CustomResource):
|
|
|
955
955
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
956
956
|
state: Optional[pulumi.Input[str]] = None,
|
|
957
957
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
958
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
959
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
958
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]]] = None,
|
|
959
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]]] = None,
|
|
960
960
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Grafana':
|
|
961
961
|
"""
|
|
962
962
|
Get an existing Grafana resource's state with the given name, id, and optional extra
|
|
@@ -965,23 +965,23 @@ class Grafana(pulumi.CustomResource):
|
|
|
965
965
|
:param str resource_name: The unique name of the resulting resource.
|
|
966
966
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
967
967
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
968
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
968
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
969
969
|
:param pulumi.Input[str] cloud_name: 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](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
970
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
970
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaComponentArgs', 'GrafanaComponentArgsDict']]]] components: Service component information objects
|
|
971
971
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
972
972
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
973
973
|
:param pulumi.Input[str] disk_space_default: 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`
|
|
974
974
|
:param pulumi.Input[str] disk_space_step: 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 from `disk_space_default` by increments of this size.
|
|
975
975
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
976
|
-
:param pulumi.Input[
|
|
977
|
-
:param pulumi.Input[
|
|
976
|
+
:param pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']] grafana: Grafana server provided values
|
|
977
|
+
:param pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']] grafana_user_config: Grafana user configurable settings
|
|
978
978
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
979
979
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
980
980
|
:param pulumi.Input[str] plan: 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` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
981
981
|
:param pulumi.Input[str] project: 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.
|
|
982
982
|
:param pulumi.Input[str] project_vpc_id: 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.
|
|
983
983
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
984
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
984
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
985
985
|
:param pulumi.Input[str] service_name: 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.
|
|
986
986
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
987
987
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -990,8 +990,8 @@ class Grafana(pulumi.CustomResource):
|
|
|
990
990
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
991
991
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
992
992
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: 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
|
|
993
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
994
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
993
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
994
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
995
995
|
:param pulumi.Input[bool] termination_protection: 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.
|
|
996
996
|
"""
|
|
997
997
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1032,7 +1032,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1032
1032
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1033
1033
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1034
1034
|
"""
|
|
1035
|
-
|
|
1035
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) 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.
|
|
1036
1036
|
"""
|
|
1037
1037
|
return pulumi.get(self, "additional_disk_space")
|
|
1038
1038
|
|