@pulumi/aiven 4.4.0 → 4.5.1
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.
- package/account.d.ts +13 -31
- package/account.js +4 -6
- package/account.js.map +1 -1
- package/accountAuthentication.d.ts +31 -53
- package/accountAuthentication.js +5 -7
- package/accountAuthentication.js.map +1 -1
- package/accountTeam.d.ts +12 -22
- package/accountTeam.js +2 -4
- package/accountTeam.js.map +1 -1
- package/accountTeamMember.d.ts +16 -39
- package/accountTeamMember.js +4 -6
- package/accountTeamMember.js.map +1 -1
- package/accountTeamProject.d.ts +12 -17
- package/accountTeamProject.js +0 -2
- package/accountTeamProject.js.map +1 -1
- package/awsPrivatelink.d.ts +13 -27
- package/awsPrivatelink.js +0 -2
- package/awsPrivatelink.js.map +1 -1
- package/azurePrivatelink.d.ts +120 -0
- package/azurePrivatelink.js +86 -0
- package/azurePrivatelink.js.map +1 -0
- package/azurePrivatelinkConnectionApproval.d.ts +91 -0
- package/azurePrivatelinkConnectionApproval.js +66 -0
- package/azurePrivatelinkConnectionApproval.js.map +1 -0
- package/billingGroup.d.ts +0 -2
- package/billingGroup.js +0 -2
- package/billingGroup.js.map +1 -1
- package/cassandra.d.ts +101 -135
- package/cassandra.js +14 -4
- package/cassandra.js.map +1 -1
- package/clickhouse.d.ts +304 -0
- package/clickhouse.js +122 -0
- package/clickhouse.js.map +1 -0
- package/clickhouseDatabase.d.ts +105 -0
- package/clickhouseDatabase.js +76 -0
- package/clickhouseDatabase.js.map +1 -0
- package/clickhouseGrant.d.ts +169 -0
- package/clickhouseGrant.js +125 -0
- package/clickhouseGrant.js.map +1 -0
- package/clickhouseRole.d.ts +75 -0
- package/clickhouseRole.js +65 -0
- package/clickhouseRole.js.map +1 -0
- package/clickhouseUser.d.ts +112 -0
- package/clickhouseUser.js +84 -0
- package/clickhouseUser.js.map +1 -0
- package/connectionPool.d.ts +23 -53
- package/connectionPool.js +0 -4
- package/connectionPool.js.map +1 -1
- package/database.d.ts +18 -23
- package/database.js +0 -2
- package/database.js.map +1 -1
- package/elasticSearch.d.ts +97 -134
- package/elasticSearch.js +14 -4
- package/elasticSearch.js.map +1 -1
- package/elasticSearchAcl.d.ts +14 -26
- package/elasticSearchAcl.js +2 -5
- package/elasticSearchAcl.js.map +1 -1
- package/elasticSearchAclConfig.d.ts +12 -23
- package/elasticSearchAclConfig.js +0 -2
- package/elasticSearchAclConfig.js.map +1 -1
- package/elasticSearchAclRule.d.ts +15 -20
- package/elasticSearchAclRule.js +0 -2
- package/elasticSearchAclRule.js.map +1 -1
- package/flink.d.ts +311 -0
- package/flink.js +125 -0
- package/flink.js.map +1 -0
- package/flinkJob.d.ts +136 -0
- package/flinkJob.js +100 -0
- package/flinkJob.js.map +1 -0
- package/flinkJobTable.d.ts +224 -0
- package/flinkJobTable.js +114 -0
- package/flinkJobTable.js.map +1 -0
- package/getAccount.d.ts +10 -49
- package/getAccount.js +0 -7
- package/getAccount.js.map +1 -1
- package/getAccountAuthentication.d.ts +21 -103
- package/getAccountAuthentication.js +0 -12
- package/getAccountAuthentication.js.map +1 -1
- package/getAccountTeam.d.ts +13 -33
- package/getAccountTeam.js +0 -5
- package/getAccountTeam.js.map +1 -1
- package/getAccountTeamMember.d.ts +18 -43
- package/getAccountTeamMember.js +0 -5
- package/getAccountTeamMember.js.map +1 -1
- package/getAccountTeamProject.d.ts +17 -21
- package/getAccountTeamProject.js +0 -3
- package/getAccountTeamProject.js.map +1 -1
- package/getAwsPrivatelink.d.ts +14 -42
- package/getAwsPrivatelink.js +0 -5
- package/getAwsPrivatelink.js.map +1 -1
- package/getAzurePrivatelink.d.ts +81 -0
- package/getAzurePrivatelink.js +38 -0
- package/getAzurePrivatelink.js.map +1 -0
- package/getBillingGroup.d.ts +96 -0
- package/getBillingGroup.js +36 -0
- package/getBillingGroup.js.map +1 -0
- package/getCassanda.d.ts +118 -44
- package/getCassanda.js +15 -17
- package/getCassanda.js.map +1 -1
- package/getCassandra.d.ts +62 -223
- package/getCassandra.js +1 -20
- package/getCassandra.js.map +1 -1
- package/getClickhouse.d.ts +154 -0
- package/getClickhouse.js +38 -0
- package/getClickhouse.js.map +1 -0
- package/getClickhouseDatabase.d.ts +75 -0
- package/getClickhouseDatabase.js +40 -0
- package/getClickhouseDatabase.js.map +1 -0
- package/getClickhouseUser.d.ts +86 -0
- package/getClickhouseUser.js +40 -0
- package/getClickhouseUser.js.map +1 -0
- package/getConnectionPool.d.ts +26 -74
- package/getConnectionPool.js +0 -7
- package/getConnectionPool.js.map +1 -1
- package/getDatabase.d.ts +22 -29
- package/getDatabase.js +0 -5
- package/getDatabase.js.map +1 -1
- package/getElasticSearch.d.ts +61 -222
- package/getElasticSearch.js +0 -19
- package/getElasticSearch.js.map +1 -1
- package/getElasticSearchAcl.d.ts +22 -36
- package/getElasticSearchAcl.js +1 -7
- package/getElasticSearchAcl.js.map +1 -1
- package/getElasticSearchAclConfig.d.ts +41 -6
- package/getElasticSearchAclConfig.js +15 -2
- package/getElasticSearchAclConfig.js.map +1 -1
- package/getElasticSearchAclRule.d.ts +56 -2
- package/getElasticSearchAclRule.js +17 -1
- package/getElasticSearchAclRule.js.map +1 -1
- package/getFlink.d.ts +154 -0
- package/getFlink.js +38 -0
- package/getFlink.js.map +1 -0
- package/getGrafana.d.ts +61 -222
- package/getGrafana.js +0 -19
- package/getGrafana.js.map +1 -1
- package/getInfluxDb.d.ts +61 -222
- package/getInfluxDb.js +0 -19
- package/getInfluxDb.js.map +1 -1
- package/getKafka.d.ts +65 -221
- package/getKafka.js +0 -20
- package/getKafka.js.map +1 -1
- package/getKafkaAcl.d.ts +31 -21
- package/getKafkaAcl.js +2 -5
- package/getKafkaAcl.js.map +1 -1
- package/getKafkaConnect.d.ts +61 -222
- package/getKafkaConnect.js +0 -19
- package/getKafkaConnect.js.map +1 -1
- package/getKafkaConnector.d.ts +31 -73
- package/getKafkaConnector.js +0 -15
- package/getKafkaConnector.js.map +1 -1
- package/getKafkaMirrorMaker.d.ts +61 -222
- package/getKafkaMirrorMaker.js +0 -19
- package/getKafkaMirrorMaker.js.map +1 -1
- package/getKafkaSchema.d.ts +23 -37
- package/getKafkaSchema.js +1 -7
- package/getKafkaSchema.js.map +1 -1
- package/getKafkaSchemaConfiguration.d.ts +29 -41
- package/getKafkaSchemaConfiguration.js +4 -10
- package/getKafkaSchemaConfiguration.js.map +1 -1
- package/getKafkaTopic.d.ts +34 -95
- package/getKafkaTopic.js +0 -18
- package/getKafkaTopic.js.map +1 -1
- package/getM3Aggregator.d.ts +62 -223
- package/getM3Aggregator.js +1 -20
- package/getM3Aggregator.js.map +1 -1
- package/getM3Db.d.ts +61 -222
- package/getM3Db.js +0 -19
- package/getM3Db.js.map +1 -1
- package/getMirrorMakerReplicationFlow.d.ts +45 -52
- package/getMirrorMakerReplicationFlow.js +1 -11
- package/getMirrorMakerReplicationFlow.js.map +1 -1
- package/getMySql.d.ts +61 -222
- package/getMySql.js +0 -19
- package/getMySql.js.map +1 -1
- package/getOpenSearch.d.ts +61 -216
- package/getOpenSearch.js +0 -19
- package/getOpenSearch.js.map +1 -1
- package/getOpenSearchAclConfig.d.ts +41 -6
- package/getOpenSearchAclConfig.js +15 -2
- package/getOpenSearchAclConfig.js.map +1 -1
- package/getOpenSearchAclRule.d.ts +62 -0
- package/getOpenSearchAclRule.js +17 -0
- package/getOpenSearchAclRule.js.map +1 -1
- package/getPg.d.ts +61 -222
- package/getPg.js +0 -19
- package/getPg.js.map +1 -1
- package/getProject.d.ts +49 -166
- package/getProject.js +0 -20
- package/getProject.js.map +1 -1
- package/getProjectUser.d.ts +13 -34
- package/getProjectUser.js +0 -4
- package/getProjectUser.js.map +1 -1
- package/getProjectVpc.d.ts +13 -30
- package/getProjectVpc.js +0 -4
- package/getProjectVpc.js.map +1 -1
- package/getRedis.d.ts +60 -221
- package/getRedis.js +0 -19
- package/getRedis.js.map +1 -1
- package/getService.d.ts +203 -105
- package/getService.js +3 -37
- package/getService.js.map +1 -1
- package/getServiceComponent.d.ts +38 -90
- package/getServiceComponent.js +1 -22
- package/getServiceComponent.js.map +1 -1
- package/getServiceIntegration.d.ts +67 -95
- package/getServiceIntegration.js +1 -41
- package/getServiceIntegration.js.map +1 -1
- package/getServiceIntegrationEndpoint.d.ts +61 -63
- package/getServiceIntegrationEndpoint.js +1 -17
- package/getServiceIntegrationEndpoint.js.map +1 -1
- package/getServiceUser.d.ts +37 -78
- package/getServiceUser.js +0 -13
- package/getServiceUser.js.map +1 -1
- package/getTransitGatewayVpcAttachment.d.ts +29 -40
- package/getTransitGatewayVpcAttachment.js +1 -9
- package/getTransitGatewayVpcAttachment.js.map +1 -1
- package/getVpcPeeringConnection.d.ts +27 -92
- package/getVpcPeeringConnection.js +1 -11
- package/getVpcPeeringConnection.js.map +1 -1
- package/grafana.d.ts +97 -134
- package/grafana.js +14 -4
- package/grafana.js.map +1 -1
- package/index.d.ts +17 -0
- package/index.js +61 -0
- package/index.js.map +1 -1
- package/influxDb.d.ts +97 -131
- package/influxDb.js +14 -4
- package/influxDb.js.map +1 -1
- package/kafka.d.ts +110 -128
- package/kafka.js +14 -2
- package/kafka.js.map +1 -1
- package/kafkaAcl.d.ts +15 -29
- package/kafkaAcl.js +0 -2
- package/kafkaAcl.js.map +1 -1
- package/kafkaConnect.d.ts +97 -134
- package/kafkaConnect.js +14 -4
- package/kafkaConnect.js.map +1 -1
- package/kafkaConnector.d.ts +34 -44
- package/kafkaConnector.js +8 -16
- package/kafkaConnector.js.map +1 -1
- package/kafkaMirrorMaker.d.ts +97 -131
- package/kafkaMirrorMaker.js +14 -4
- package/kafkaMirrorMaker.js.map +1 -1
- package/kafkaSchema.d.ts +45 -31
- package/kafkaSchema.js +28 -2
- package/kafkaSchema.js.map +1 -1
- package/kafkaSchemaConfiguration.d.ts +11 -31
- package/kafkaSchemaConfiguration.js +0 -5
- package/kafkaSchemaConfiguration.js.map +1 -1
- package/kafkaTopic.d.ts +58 -48
- package/kafkaTopic.js +28 -0
- package/kafkaTopic.js.map +1 -1
- package/m3aggregator.d.ts +97 -131
- package/m3aggregator.js +14 -4
- package/m3aggregator.js.map +1 -1
- package/m3db.d.ts +97 -131
- package/m3db.js +14 -4
- package/m3db.js.map +1 -1
- package/mirrorMakerReplicationFlow.d.ts +34 -40
- package/mirrorMakerReplicationFlow.js +1 -4
- package/mirrorMakerReplicationFlow.js.map +1 -1
- package/mySql.d.ts +104 -150
- package/mySql.js +14 -4
- package/mySql.js.map +1 -1
- package/openSearch.d.ts +101 -132
- package/openSearch.js +14 -4
- package/openSearch.js.map +1 -1
- package/openSearchAclConfig.d.ts +31 -29
- package/openSearchAclConfig.js +19 -8
- package/openSearchAclConfig.js.map +1 -1
- package/openSearchAclRule.d.ts +30 -35
- package/openSearchAclRule.js +15 -17
- package/openSearchAclRule.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pg.d.ts +101 -126
- package/pg.js +15 -0
- package/pg.js.map +1 -1
- package/project.d.ts +60 -121
- package/project.js +3 -5
- package/project.js.map +1 -1
- package/projectUser.d.ts +11 -19
- package/projectUser.js +0 -2
- package/projectUser.js.map +1 -1
- package/projectVpc.d.ts +11 -18
- package/projectVpc.js +0 -2
- package/projectVpc.js.map +1 -1
- package/redis.d.ts +99 -136
- package/redis.js +13 -3
- package/redis.js.map +1 -1
- package/service.d.ts +184 -121
- package/service.js +44 -21
- package/service.js.map +1 -1
- package/serviceIntegration.d.ts +18 -185
- package/serviceIntegration.js +4 -40
- package/serviceIntegration.js.map +1 -1
- package/serviceIntegrationEndpoint.d.ts +9 -49
- package/serviceIntegrationEndpoint.js +0 -34
- package/serviceIntegrationEndpoint.js.map +1 -1
- package/serviceUser.d.ts +45 -40
- package/serviceUser.js +2 -4
- package/serviceUser.js.map +1 -1
- package/staticIp.d.ts +95 -0
- package/staticIp.js +68 -0
- package/staticIp.js.map +1 -0
- package/transitGatewayVpcAttachment.d.ts +16 -19
- package/transitGatewayVpcAttachment.js +1 -4
- package/transitGatewayVpcAttachment.js.map +1 -1
- package/types/input.d.ts +1440 -9809
- package/types/output.d.ts +1744 -3691
- package/vpcPeeringConnection.d.ts +27 -58
- package/vpcPeeringConnection.js +0 -22
- package/vpcPeeringConnection.js.map +1 -1
package/getCassanda.d.ts
CHANGED
|
@@ -1,81 +1,155 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import {
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The Cassandra data source provides information about the existing Aiven Cassandra service.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as aiven from "@pulumi/aiven";
|
|
11
|
+
*
|
|
12
|
+
* const bar = aiven.getCassandra({
|
|
13
|
+
* project: data.aiven_project.foo.project,
|
|
14
|
+
* serviceName: "<SERVICE_NAME>",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
3
18
|
/** @deprecated aiven.getCassanda has been deprecated in favor of aiven.getCassandra */
|
|
4
19
|
export declare function getCassanda(args: GetCassandaArgs, opts?: pulumi.InvokeOptions): Promise<GetCassandaResult>;
|
|
5
20
|
/**
|
|
6
21
|
* A collection of arguments for invoking getCassanda.
|
|
7
22
|
*/
|
|
8
23
|
export interface GetCassandaArgs {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
components?: inputs.GetCassandaComponent[];
|
|
13
|
-
maintenanceWindowDow?: string;
|
|
14
|
-
maintenanceWindowTime?: string;
|
|
15
|
-
plan?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
26
|
+
*/
|
|
16
27
|
project: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
28
|
+
/**
|
|
29
|
+
* 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.
|
|
30
|
+
*/
|
|
20
31
|
serviceName: string;
|
|
21
|
-
servicePassword?: string;
|
|
22
|
-
servicePort?: number;
|
|
23
|
-
serviceType?: string;
|
|
24
|
-
serviceUri?: string;
|
|
25
|
-
serviceUsername?: string;
|
|
26
|
-
state?: string;
|
|
27
|
-
terminationProtection?: boolean;
|
|
28
32
|
}
|
|
29
33
|
/**
|
|
30
34
|
* A collection of values returned by getCassanda.
|
|
31
35
|
*/
|
|
32
36
|
export interface GetCassandaResult {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
/**
|
|
38
|
+
* Cassandra user configurable settings
|
|
39
|
+
*/
|
|
40
|
+
readonly cassandraUserConfigs: outputs.GetCassandaCassandraUserConfig[];
|
|
41
|
+
/**
|
|
42
|
+
* Cassandra server provided values
|
|
43
|
+
*/
|
|
44
|
+
readonly cassandras: outputs.GetCassandaCassandra[];
|
|
45
|
+
/**
|
|
46
|
+
* 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).
|
|
47
|
+
*/
|
|
48
|
+
readonly cloudName: string;
|
|
49
|
+
/**
|
|
50
|
+
* Service component information objects
|
|
51
|
+
*/
|
|
36
52
|
readonly components: outputs.GetCassandaComponent[];
|
|
53
|
+
/**
|
|
54
|
+
* The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
|
|
55
|
+
*/
|
|
56
|
+
readonly diskSpace: string;
|
|
57
|
+
/**
|
|
58
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
59
|
+
*/
|
|
60
|
+
readonly diskSpaceCap: string;
|
|
61
|
+
/**
|
|
62
|
+
* 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 `diskSpace`
|
|
63
|
+
*/
|
|
64
|
+
readonly diskSpaceDefault: string;
|
|
65
|
+
/**
|
|
66
|
+
* The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `diskSpace` needs to increment from `diskSpaceDefault` by increments of this size.
|
|
67
|
+
*/
|
|
68
|
+
readonly diskSpaceStep: string;
|
|
69
|
+
/**
|
|
70
|
+
* Disk space that service is currently using
|
|
71
|
+
*/
|
|
72
|
+
readonly diskSpaceUsed: string;
|
|
37
73
|
/**
|
|
38
74
|
* The provider-assigned unique ID for this managed resource.
|
|
39
75
|
*/
|
|
40
76
|
readonly id: string;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
79
|
+
*/
|
|
80
|
+
readonly maintenanceWindowDow: string;
|
|
81
|
+
/**
|
|
82
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
83
|
+
*/
|
|
84
|
+
readonly maintenanceWindowTime: string;
|
|
85
|
+
/**
|
|
86
|
+
* 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).
|
|
87
|
+
*/
|
|
88
|
+
readonly plan: string;
|
|
89
|
+
/**
|
|
90
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
91
|
+
*/
|
|
44
92
|
readonly project: string;
|
|
45
|
-
|
|
93
|
+
/**
|
|
94
|
+
* 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.
|
|
95
|
+
*/
|
|
96
|
+
readonly projectVpcId: string;
|
|
97
|
+
/**
|
|
98
|
+
* The hostname of the service.
|
|
99
|
+
*/
|
|
46
100
|
readonly serviceHost: string;
|
|
47
|
-
|
|
101
|
+
/**
|
|
102
|
+
* Service integrations to specify when creating a service. Not applied after initial service creation
|
|
103
|
+
*/
|
|
104
|
+
readonly serviceIntegrations: outputs.GetCassandaServiceIntegration[];
|
|
105
|
+
/**
|
|
106
|
+
* 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.
|
|
107
|
+
*/
|
|
48
108
|
readonly serviceName: string;
|
|
109
|
+
/**
|
|
110
|
+
* Password used for connecting to the service, if applicable
|
|
111
|
+
*/
|
|
49
112
|
readonly servicePassword: string;
|
|
113
|
+
/**
|
|
114
|
+
* The port of the service
|
|
115
|
+
*/
|
|
50
116
|
readonly servicePort: number;
|
|
117
|
+
/**
|
|
118
|
+
* Aiven internal service type code
|
|
119
|
+
*/
|
|
51
120
|
readonly serviceType: string;
|
|
121
|
+
/**
|
|
122
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
123
|
+
*/
|
|
52
124
|
readonly serviceUri: string;
|
|
125
|
+
/**
|
|
126
|
+
* Username used for connecting to the service, if applicable
|
|
127
|
+
*/
|
|
53
128
|
readonly serviceUsername: string;
|
|
129
|
+
/**
|
|
130
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
131
|
+
*/
|
|
54
132
|
readonly state: string;
|
|
55
|
-
|
|
133
|
+
/**
|
|
134
|
+
* 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
|
|
135
|
+
*/
|
|
136
|
+
readonly staticIps: string[];
|
|
137
|
+
/**
|
|
138
|
+
* 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.
|
|
139
|
+
*/
|
|
140
|
+
readonly terminationProtection: boolean;
|
|
56
141
|
}
|
|
57
142
|
export declare function getCassandaOutput(args: GetCassandaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandaResult>;
|
|
58
143
|
/**
|
|
59
144
|
* A collection of arguments for invoking getCassanda.
|
|
60
145
|
*/
|
|
61
146
|
export interface GetCassandaOutputArgs {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
components?: pulumi.Input<pulumi.Input<inputs.GetCassandaComponentArgs>[]>;
|
|
66
|
-
maintenanceWindowDow?: pulumi.Input<string>;
|
|
67
|
-
maintenanceWindowTime?: pulumi.Input<string>;
|
|
68
|
-
plan?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
149
|
+
*/
|
|
69
150
|
project: pulumi.Input<string>;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
151
|
+
/**
|
|
152
|
+
* 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.
|
|
153
|
+
*/
|
|
73
154
|
serviceName: pulumi.Input<string>;
|
|
74
|
-
servicePassword?: pulumi.Input<string>;
|
|
75
|
-
servicePort?: pulumi.Input<number>;
|
|
76
|
-
serviceType?: pulumi.Input<string>;
|
|
77
|
-
serviceUri?: pulumi.Input<string>;
|
|
78
|
-
serviceUsername?: pulumi.Input<string>;
|
|
79
|
-
state?: pulumi.Input<string>;
|
|
80
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
81
155
|
}
|
package/getCassanda.js
CHANGED
|
@@ -5,6 +5,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getCassandaOutput = exports.getCassanda = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Cassandra data source provides information about the existing Aiven Cassandra service.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const bar = aiven.getCassandra({
|
|
18
|
+
* project: data.aiven_project.foo.project,
|
|
19
|
+
* serviceName: "<SERVICE_NAME>",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
8
23
|
/** @deprecated aiven.getCassanda has been deprecated in favor of aiven.getCassandra */
|
|
9
24
|
function getCassanda(args, opts) {
|
|
10
25
|
pulumi.log.warn("getCassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra");
|
|
@@ -13,25 +28,8 @@ function getCassanda(args, opts) {
|
|
|
13
28
|
}
|
|
14
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
15
30
|
return pulumi.runtime.invoke("aiven:index/getCassanda:getCassanda", {
|
|
16
|
-
"cassandra": args.cassandra,
|
|
17
|
-
"cassandraUserConfig": args.cassandraUserConfig,
|
|
18
|
-
"cloudName": args.cloudName,
|
|
19
|
-
"components": args.components,
|
|
20
|
-
"maintenanceWindowDow": args.maintenanceWindowDow,
|
|
21
|
-
"maintenanceWindowTime": args.maintenanceWindowTime,
|
|
22
|
-
"plan": args.plan,
|
|
23
31
|
"project": args.project,
|
|
24
|
-
"projectVpcId": args.projectVpcId,
|
|
25
|
-
"serviceHost": args.serviceHost,
|
|
26
|
-
"serviceIntegrations": args.serviceIntegrations,
|
|
27
32
|
"serviceName": args.serviceName,
|
|
28
|
-
"servicePassword": args.servicePassword,
|
|
29
|
-
"servicePort": args.servicePort,
|
|
30
|
-
"serviceType": args.serviceType,
|
|
31
|
-
"serviceUri": args.serviceUri,
|
|
32
|
-
"serviceUsername": args.serviceUsername,
|
|
33
|
-
"state": args.state,
|
|
34
|
-
"terminationProtection": args.terminationProtection,
|
|
35
33
|
}, opts);
|
|
36
34
|
}
|
|
37
35
|
exports.getCassanda = getCassanda;
|
package/getCassanda.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCassanda.js","sourceRoot":"","sources":["../getCassanda.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,uFAAuF;AACvF,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iGAAiG,CAAC,CAAA;IAClH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,
|
|
1
|
+
{"version":3,"file":"getCassanda.js","sourceRoot":"","sources":["../getCassanda.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,uFAAuF;AACvF,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iGAAiG,CAAC,CAAA;IAClH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AA8HD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/getCassandra.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import {
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Cassandra Data Source
|
|
5
|
-
*
|
|
6
4
|
* The Cassandra data source provides information about the existing Aiven Cassandra service.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -13,7 +11,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
13
11
|
*
|
|
14
12
|
* const bar = aiven.getCassandra({
|
|
15
13
|
* project: data.aiven_project.foo.project,
|
|
16
|
-
* serviceName:
|
|
14
|
+
* serviceName: "<SERVICE_NAME>",
|
|
17
15
|
* });
|
|
18
16
|
* ```
|
|
19
17
|
*/
|
|
@@ -23,194 +21,122 @@ export declare function getCassandra(args: GetCassandraArgs, opts?: pulumi.Invok
|
|
|
23
21
|
*/
|
|
24
22
|
export interface GetCassandraArgs {
|
|
25
23
|
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
cassandra?: inputs.GetCassandraCassandra;
|
|
29
|
-
/**
|
|
30
|
-
* defines Cassandra specific additional configuration options.
|
|
31
|
-
* The following configuration options available:
|
|
32
|
-
*/
|
|
33
|
-
cassandraUserConfig?: inputs.GetCassandraCassandraUserConfig;
|
|
34
|
-
/**
|
|
35
|
-
* defines the cloud provider and region where the service is hosted.
|
|
36
|
-
* This can be changed freely after service is created. Changing the value will trigger
|
|
37
|
-
* a potentially lengthy migration process for the service. Format is cloud provider name
|
|
38
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
|
|
39
|
-
* specific region name. These are documented on each Cloud provider's own support articles,
|
|
40
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
41
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
42
|
-
*/
|
|
43
|
-
cloudName?: string;
|
|
44
|
-
components?: inputs.GetCassandraComponent[];
|
|
45
|
-
/**
|
|
46
|
-
* day of week when maintenance operations should be performed.
|
|
47
|
-
* On monday, tuesday, wednesday, etc.
|
|
48
|
-
*/
|
|
49
|
-
maintenanceWindowDow?: string;
|
|
50
|
-
/**
|
|
51
|
-
* time of day when maintenance operations should be performed.
|
|
52
|
-
* UTC time in HH:mm:ss format.
|
|
53
|
-
*/
|
|
54
|
-
maintenanceWindowTime?: string;
|
|
55
|
-
/**
|
|
56
|
-
* defines what kind of computing resources are allocated for the service. It can
|
|
57
|
-
* be changed after creation, though there are some restrictions when going to a smaller
|
|
58
|
-
* plan such as the new plan must have sufficient amount of disk space to store all current
|
|
59
|
-
* data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
60
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
61
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs
|
|
62
|
-
* 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).
|
|
63
|
-
*/
|
|
64
|
-
plan?: string;
|
|
65
|
-
/**
|
|
66
|
-
* identifies the project the service belongs to. To set up proper dependency
|
|
67
|
-
* between the project and the service, refer to the project as shown in the above example.
|
|
68
|
-
* Project cannot be changed later without destroying and re-creating the service.
|
|
24
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
69
25
|
*/
|
|
70
26
|
project: string;
|
|
71
27
|
/**
|
|
72
|
-
*
|
|
73
|
-
* is not set the service is not run inside a VPC. When set, the value should be given as a
|
|
74
|
-
* reference as shown above to set up dependencies correctly and the VPC must be in the same
|
|
75
|
-
* cloud and region as the service itself. Project can be freely moved to and from VPC after
|
|
76
|
-
* creation but doing so triggers migration to new servers so the operation can take
|
|
77
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
78
|
-
*/
|
|
79
|
-
projectVpcId?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Cassandra hostname.
|
|
82
|
-
*/
|
|
83
|
-
serviceHost?: string;
|
|
84
|
-
serviceIntegrations?: inputs.GetCassandraServiceIntegration[];
|
|
85
|
-
/**
|
|
86
|
-
* specifies the actual name of the service. The name cannot be changed
|
|
87
|
-
* later without destroying and re-creating the service so name should be picked based on
|
|
88
|
-
* intended service usage rather than current attributes.
|
|
28
|
+
* 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.
|
|
89
29
|
*/
|
|
90
30
|
serviceName: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getCassandra.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetCassandraResult {
|
|
91
36
|
/**
|
|
92
|
-
*
|
|
37
|
+
* Cassandra user configurable settings
|
|
93
38
|
*/
|
|
94
|
-
|
|
39
|
+
readonly cassandraUserConfigs: outputs.GetCassandraCassandraUserConfig[];
|
|
95
40
|
/**
|
|
96
|
-
* Cassandra
|
|
41
|
+
* Cassandra server provided values
|
|
97
42
|
*/
|
|
98
|
-
|
|
99
|
-
serviceType?: string;
|
|
43
|
+
readonly cassandras: outputs.GetCassandraCassandra[];
|
|
100
44
|
/**
|
|
101
|
-
*
|
|
45
|
+
* 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).
|
|
102
46
|
*/
|
|
103
|
-
|
|
47
|
+
readonly cloudName: string;
|
|
104
48
|
/**
|
|
105
|
-
*
|
|
49
|
+
* Service component information objects
|
|
106
50
|
*/
|
|
107
|
-
|
|
51
|
+
readonly components: outputs.GetCassandraComponent[];
|
|
108
52
|
/**
|
|
109
|
-
*
|
|
53
|
+
* The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
|
|
110
54
|
*/
|
|
111
|
-
|
|
55
|
+
readonly diskSpace: string;
|
|
112
56
|
/**
|
|
113
|
-
*
|
|
114
|
-
* set this to `true` for all production services to prevent unintentional service
|
|
115
|
-
* deletion. This does not shield against deleting databases or topics but for services
|
|
116
|
-
* with backups much of the content can at least be restored from backup in case accidental
|
|
117
|
-
* deletion is done.
|
|
57
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
118
58
|
*/
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* A collection of values returned by getCassandra.
|
|
123
|
-
*/
|
|
124
|
-
export interface GetCassandraResult {
|
|
59
|
+
readonly diskSpaceCap: string;
|
|
125
60
|
/**
|
|
126
|
-
*
|
|
61
|
+
* 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 `diskSpace`
|
|
127
62
|
*/
|
|
128
|
-
readonly
|
|
63
|
+
readonly diskSpaceDefault: string;
|
|
129
64
|
/**
|
|
130
|
-
*
|
|
131
|
-
* The following configuration options available:
|
|
65
|
+
* The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `diskSpace` needs to increment from `diskSpaceDefault` by increments of this size.
|
|
132
66
|
*/
|
|
133
|
-
readonly
|
|
67
|
+
readonly diskSpaceStep: string;
|
|
134
68
|
/**
|
|
135
|
-
*
|
|
136
|
-
* This can be changed freely after service is created. Changing the value will trigger
|
|
137
|
-
* a potentially lengthy migration process for the service. Format is cloud provider name
|
|
138
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
|
|
139
|
-
* specific region name. These are documented on each Cloud provider's own support articles,
|
|
140
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
141
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
69
|
+
* Disk space that service is currently using
|
|
142
70
|
*/
|
|
143
|
-
readonly
|
|
144
|
-
readonly components: outputs.GetCassandraComponent[];
|
|
71
|
+
readonly diskSpaceUsed: string;
|
|
145
72
|
/**
|
|
146
73
|
* The provider-assigned unique ID for this managed resource.
|
|
147
74
|
*/
|
|
148
75
|
readonly id: string;
|
|
149
76
|
/**
|
|
150
|
-
*
|
|
151
|
-
|
|
77
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
78
|
+
*/
|
|
79
|
+
readonly maintenanceWindowDow: string;
|
|
80
|
+
/**
|
|
81
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
152
82
|
*/
|
|
153
|
-
readonly
|
|
83
|
+
readonly maintenanceWindowTime: string;
|
|
154
84
|
/**
|
|
155
|
-
*
|
|
156
|
-
* UTC time in HH:mm:ss format.
|
|
85
|
+
* 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).
|
|
157
86
|
*/
|
|
158
|
-
readonly
|
|
87
|
+
readonly plan: string;
|
|
159
88
|
/**
|
|
160
|
-
*
|
|
161
|
-
* be changed after creation, though there are some restrictions when going to a smaller
|
|
162
|
-
* plan such as the new plan must have sufficient amount of disk space to store all current
|
|
163
|
-
* data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
164
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
165
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs
|
|
166
|
-
* 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).
|
|
89
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
167
90
|
*/
|
|
168
|
-
readonly plan?: string;
|
|
169
91
|
readonly project: string;
|
|
170
92
|
/**
|
|
171
|
-
*
|
|
172
|
-
* is not set the service is not run inside a VPC. When set, the value should be given as a
|
|
173
|
-
* reference as shown above to set up dependencies correctly and the VPC must be in the same
|
|
174
|
-
* cloud and region as the service itself. Project can be freely moved to and from VPC after
|
|
175
|
-
* creation but doing so triggers migration to new servers so the operation can take
|
|
176
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
93
|
+
* 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.
|
|
177
94
|
*/
|
|
178
|
-
readonly projectVpcId
|
|
95
|
+
readonly projectVpcId: string;
|
|
179
96
|
/**
|
|
180
|
-
*
|
|
97
|
+
* The hostname of the service.
|
|
181
98
|
*/
|
|
182
99
|
readonly serviceHost: string;
|
|
183
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Service integrations to specify when creating a service. Not applied after initial service creation
|
|
102
|
+
*/
|
|
103
|
+
readonly serviceIntegrations: outputs.GetCassandraServiceIntegration[];
|
|
104
|
+
/**
|
|
105
|
+
* 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.
|
|
106
|
+
*/
|
|
184
107
|
readonly serviceName: string;
|
|
185
108
|
/**
|
|
186
|
-
* Password used for connecting to the
|
|
109
|
+
* Password used for connecting to the service, if applicable
|
|
187
110
|
*/
|
|
188
111
|
readonly servicePassword: string;
|
|
189
112
|
/**
|
|
190
|
-
*
|
|
113
|
+
* The port of the service
|
|
191
114
|
*/
|
|
192
115
|
readonly servicePort: number;
|
|
116
|
+
/**
|
|
117
|
+
* Aiven internal service type code
|
|
118
|
+
*/
|
|
193
119
|
readonly serviceType: string;
|
|
194
120
|
/**
|
|
195
|
-
* URI for connecting to the
|
|
121
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
196
122
|
*/
|
|
197
123
|
readonly serviceUri: string;
|
|
198
124
|
/**
|
|
199
|
-
* Username used for connecting to the
|
|
125
|
+
* Username used for connecting to the service, if applicable
|
|
200
126
|
*/
|
|
201
127
|
readonly serviceUsername: string;
|
|
202
128
|
/**
|
|
203
|
-
* Service state.
|
|
129
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
204
130
|
*/
|
|
205
131
|
readonly state: string;
|
|
206
132
|
/**
|
|
207
|
-
*
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
* deletion is done.
|
|
133
|
+
* 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
|
|
134
|
+
*/
|
|
135
|
+
readonly staticIps: string[];
|
|
136
|
+
/**
|
|
137
|
+
* 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.
|
|
212
138
|
*/
|
|
213
|
-
readonly terminationProtection
|
|
139
|
+
readonly terminationProtection: boolean;
|
|
214
140
|
}
|
|
215
141
|
export declare function getCassandraOutput(args: GetCassandraOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCassandraResult>;
|
|
216
142
|
/**
|
|
@@ -218,98 +144,11 @@ export declare function getCassandraOutput(args: GetCassandraOutputArgs, opts?:
|
|
|
218
144
|
*/
|
|
219
145
|
export interface GetCassandraOutputArgs {
|
|
220
146
|
/**
|
|
221
|
-
*
|
|
222
|
-
*/
|
|
223
|
-
cassandra?: pulumi.Input<inputs.GetCassandraCassandraArgs>;
|
|
224
|
-
/**
|
|
225
|
-
* defines Cassandra specific additional configuration options.
|
|
226
|
-
* The following configuration options available:
|
|
227
|
-
*/
|
|
228
|
-
cassandraUserConfig?: pulumi.Input<inputs.GetCassandraCassandraUserConfigArgs>;
|
|
229
|
-
/**
|
|
230
|
-
* defines the cloud provider and region where the service is hosted.
|
|
231
|
-
* This can be changed freely after service is created. Changing the value will trigger
|
|
232
|
-
* a potentially lengthy migration process for the service. Format is cloud provider name
|
|
233
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
|
|
234
|
-
* specific region name. These are documented on each Cloud provider's own support articles,
|
|
235
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
236
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
237
|
-
*/
|
|
238
|
-
cloudName?: pulumi.Input<string>;
|
|
239
|
-
components?: pulumi.Input<pulumi.Input<inputs.GetCassandraComponentArgs>[]>;
|
|
240
|
-
/**
|
|
241
|
-
* day of week when maintenance operations should be performed.
|
|
242
|
-
* On monday, tuesday, wednesday, etc.
|
|
243
|
-
*/
|
|
244
|
-
maintenanceWindowDow?: pulumi.Input<string>;
|
|
245
|
-
/**
|
|
246
|
-
* time of day when maintenance operations should be performed.
|
|
247
|
-
* UTC time in HH:mm:ss format.
|
|
248
|
-
*/
|
|
249
|
-
maintenanceWindowTime?: pulumi.Input<string>;
|
|
250
|
-
/**
|
|
251
|
-
* defines what kind of computing resources are allocated for the service. It can
|
|
252
|
-
* be changed after creation, though there are some restrictions when going to a smaller
|
|
253
|
-
* plan such as the new plan must have sufficient amount of disk space to store all current
|
|
254
|
-
* data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
255
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
256
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs
|
|
257
|
-
* 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).
|
|
258
|
-
*/
|
|
259
|
-
plan?: pulumi.Input<string>;
|
|
260
|
-
/**
|
|
261
|
-
* identifies the project the service belongs to. To set up proper dependency
|
|
262
|
-
* between the project and the service, refer to the project as shown in the above example.
|
|
263
|
-
* Project cannot be changed later without destroying and re-creating the service.
|
|
147
|
+
* Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
264
148
|
*/
|
|
265
149
|
project: pulumi.Input<string>;
|
|
266
150
|
/**
|
|
267
|
-
*
|
|
268
|
-
* is not set the service is not run inside a VPC. When set, the value should be given as a
|
|
269
|
-
* reference as shown above to set up dependencies correctly and the VPC must be in the same
|
|
270
|
-
* cloud and region as the service itself. Project can be freely moved to and from VPC after
|
|
271
|
-
* creation but doing so triggers migration to new servers so the operation can take
|
|
272
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
273
|
-
*/
|
|
274
|
-
projectVpcId?: pulumi.Input<string>;
|
|
275
|
-
/**
|
|
276
|
-
* Cassandra hostname.
|
|
277
|
-
*/
|
|
278
|
-
serviceHost?: pulumi.Input<string>;
|
|
279
|
-
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.GetCassandraServiceIntegrationArgs>[]>;
|
|
280
|
-
/**
|
|
281
|
-
* specifies the actual name of the service. The name cannot be changed
|
|
282
|
-
* later without destroying and re-creating the service so name should be picked based on
|
|
283
|
-
* intended service usage rather than current attributes.
|
|
151
|
+
* 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.
|
|
284
152
|
*/
|
|
285
153
|
serviceName: pulumi.Input<string>;
|
|
286
|
-
/**
|
|
287
|
-
* Password used for connecting to the Cassandra service, if applicable.
|
|
288
|
-
*/
|
|
289
|
-
servicePassword?: pulumi.Input<string>;
|
|
290
|
-
/**
|
|
291
|
-
* Cassandra port.
|
|
292
|
-
*/
|
|
293
|
-
servicePort?: pulumi.Input<number>;
|
|
294
|
-
serviceType?: pulumi.Input<string>;
|
|
295
|
-
/**
|
|
296
|
-
* URI for connecting to the Cassandra service.
|
|
297
|
-
*/
|
|
298
|
-
serviceUri?: pulumi.Input<string>;
|
|
299
|
-
/**
|
|
300
|
-
* Username used for connecting to the Cassandra service, if applicable.
|
|
301
|
-
*/
|
|
302
|
-
serviceUsername?: pulumi.Input<string>;
|
|
303
|
-
/**
|
|
304
|
-
* Service state.
|
|
305
|
-
*/
|
|
306
|
-
state?: pulumi.Input<string>;
|
|
307
|
-
/**
|
|
308
|
-
* prevents the service from being deleted. It is recommended to
|
|
309
|
-
* set this to `true` for all production services to prevent unintentional service
|
|
310
|
-
* deletion. This does not shield against deleting databases or topics but for services
|
|
311
|
-
* with backups much of the content can at least be restored from backup in case accidental
|
|
312
|
-
* deletion is done.
|
|
313
|
-
*/
|
|
314
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
315
154
|
}
|