@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/openSearch.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* ## # Opensearch Resource
|
|
5
|
-
*
|
|
6
4
|
* The Opensearch resource allows the creation and management of Aiven Opensearch services.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -49,13 +47,7 @@ export declare class OpenSearch extends pulumi.CustomResource {
|
|
|
49
47
|
*/
|
|
50
48
|
static isInstance(obj: any): obj is OpenSearch;
|
|
51
49
|
/**
|
|
52
|
-
*
|
|
53
|
-
* changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for
|
|
54
|
-
* the service. Format is cloud provider name
|
|
55
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are
|
|
56
|
-
* documented on each Cloud provider's own support articles,
|
|
57
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
58
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
50
|
+
* 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).
|
|
59
51
|
*/
|
|
60
52
|
readonly cloudName: pulumi.Output<string | undefined>;
|
|
61
53
|
/**
|
|
@@ -63,51 +55,55 @@ export declare class OpenSearch extends pulumi.CustomResource {
|
|
|
63
55
|
*/
|
|
64
56
|
readonly components: pulumi.Output<outputs.OpenSearchComponent[]>;
|
|
65
57
|
/**
|
|
66
|
-
*
|
|
67
|
-
|
|
58
|
+
* 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.
|
|
59
|
+
*/
|
|
60
|
+
readonly diskSpace: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
63
|
+
*/
|
|
64
|
+
readonly diskSpaceCap: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* 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`
|
|
67
|
+
*/
|
|
68
|
+
readonly diskSpaceDefault: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* 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.
|
|
71
|
+
*/
|
|
72
|
+
readonly diskSpaceStep: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Disk space that service is currently using
|
|
75
|
+
*/
|
|
76
|
+
readonly diskSpaceUsed: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
68
79
|
*/
|
|
69
80
|
readonly maintenanceWindowDow: pulumi.Output<string | undefined>;
|
|
70
81
|
/**
|
|
71
|
-
*
|
|
72
|
-
* ss format.
|
|
82
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
73
83
|
*/
|
|
74
84
|
readonly maintenanceWindowTime: pulumi.Output<string | undefined>;
|
|
75
85
|
/**
|
|
76
|
-
*
|
|
77
|
-
* that are in a project VPC or another type of private network.
|
|
86
|
+
* Opensearch user configurable settings
|
|
78
87
|
*/
|
|
79
|
-
readonly
|
|
88
|
+
readonly opensearchUserConfig: pulumi.Output<outputs.OpenSearchOpensearchUserConfig | undefined>;
|
|
80
89
|
/**
|
|
81
|
-
*
|
|
82
|
-
* configuration options available:
|
|
90
|
+
* Opensearch server provided values
|
|
83
91
|
*/
|
|
84
|
-
readonly
|
|
92
|
+
readonly opensearches: pulumi.Output<outputs.OpenSearchOpensearch[]>;
|
|
85
93
|
/**
|
|
86
|
-
*
|
|
87
|
-
* creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient
|
|
88
|
-
* amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The
|
|
89
|
-
* basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
90
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies
|
|
91
|
-
* but naming is based on memory). The available options can be seem from
|
|
92
|
-
* the [Aiven pricing page](https://aiven.io/pricing).
|
|
94
|
+
* 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).
|
|
93
95
|
*/
|
|
94
96
|
readonly plan: pulumi.Output<string | undefined>;
|
|
95
97
|
/**
|
|
96
|
-
*
|
|
97
|
-
* and the service, refer to the project as shown in the above example. Project cannot be changed later without
|
|
98
|
-
* destroying and re-creating the service.
|
|
98
|
+
* 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.
|
|
99
99
|
*/
|
|
100
100
|
readonly project: pulumi.Output<string>;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
103
|
-
* service is not run inside a VPC. When set, the value should be given as a reference as shown above to set up
|
|
104
|
-
* dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely
|
|
105
|
-
* moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take
|
|
106
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
102
|
+
* 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.
|
|
107
103
|
*/
|
|
108
104
|
readonly projectVpcId: pulumi.Output<string | undefined>;
|
|
109
105
|
/**
|
|
110
|
-
*
|
|
106
|
+
* The hostname of the service.
|
|
111
107
|
*/
|
|
112
108
|
readonly serviceHost: pulumi.Output<string>;
|
|
113
109
|
/**
|
|
@@ -115,17 +111,15 @@ export declare class OpenSearch extends pulumi.CustomResource {
|
|
|
115
111
|
*/
|
|
116
112
|
readonly serviceIntegrations: pulumi.Output<outputs.OpenSearchServiceIntegration[] | undefined>;
|
|
117
113
|
/**
|
|
118
|
-
*
|
|
119
|
-
* destroying and re-creating the service so name should be picked based on intended service usage rather than current
|
|
120
|
-
* attributes.
|
|
114
|
+
* 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.
|
|
121
115
|
*/
|
|
122
116
|
readonly serviceName: pulumi.Output<string>;
|
|
123
117
|
/**
|
|
124
|
-
* Password used for connecting to the
|
|
118
|
+
* Password used for connecting to the service, if applicable
|
|
125
119
|
*/
|
|
126
120
|
readonly servicePassword: pulumi.Output<string>;
|
|
127
121
|
/**
|
|
128
|
-
*
|
|
122
|
+
* The port of the service
|
|
129
123
|
*/
|
|
130
124
|
readonly servicePort: pulumi.Output<number>;
|
|
131
125
|
/**
|
|
@@ -133,22 +127,23 @@ export declare class OpenSearch extends pulumi.CustomResource {
|
|
|
133
127
|
*/
|
|
134
128
|
readonly serviceType: pulumi.Output<string>;
|
|
135
129
|
/**
|
|
136
|
-
* URI for connecting to the
|
|
130
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
137
131
|
*/
|
|
138
132
|
readonly serviceUri: pulumi.Output<string>;
|
|
139
133
|
/**
|
|
140
|
-
* Username used for connecting to the
|
|
134
|
+
* Username used for connecting to the service, if applicable
|
|
141
135
|
*/
|
|
142
136
|
readonly serviceUsername: pulumi.Output<string>;
|
|
143
137
|
/**
|
|
144
|
-
* Service state.
|
|
138
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
145
139
|
*/
|
|
146
140
|
readonly state: pulumi.Output<string>;
|
|
147
141
|
/**
|
|
148
|
-
*
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
142
|
+
* 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
|
|
143
|
+
*/
|
|
144
|
+
readonly staticIps: pulumi.Output<string[] | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* 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.
|
|
152
147
|
*/
|
|
153
148
|
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
154
149
|
/**
|
|
@@ -165,13 +160,7 @@ export declare class OpenSearch extends pulumi.CustomResource {
|
|
|
165
160
|
*/
|
|
166
161
|
export interface OpenSearchState {
|
|
167
162
|
/**
|
|
168
|
-
*
|
|
169
|
-
* changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for
|
|
170
|
-
* the service. Format is cloud provider name
|
|
171
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are
|
|
172
|
-
* documented on each Cloud provider's own support articles,
|
|
173
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
174
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
163
|
+
* 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).
|
|
175
164
|
*/
|
|
176
165
|
cloudName?: pulumi.Input<string>;
|
|
177
166
|
/**
|
|
@@ -179,51 +168,55 @@ export interface OpenSearchState {
|
|
|
179
168
|
*/
|
|
180
169
|
components?: pulumi.Input<pulumi.Input<inputs.OpenSearchComponent>[]>;
|
|
181
170
|
/**
|
|
182
|
-
*
|
|
183
|
-
|
|
171
|
+
* 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.
|
|
172
|
+
*/
|
|
173
|
+
diskSpace?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
176
|
+
*/
|
|
177
|
+
diskSpaceCap?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* 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`
|
|
180
|
+
*/
|
|
181
|
+
diskSpaceDefault?: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* 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.
|
|
184
|
+
*/
|
|
185
|
+
diskSpaceStep?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Disk space that service is currently using
|
|
188
|
+
*/
|
|
189
|
+
diskSpaceUsed?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
184
192
|
*/
|
|
185
193
|
maintenanceWindowDow?: pulumi.Input<string>;
|
|
186
194
|
/**
|
|
187
|
-
*
|
|
188
|
-
* ss format.
|
|
195
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
189
196
|
*/
|
|
190
197
|
maintenanceWindowTime?: pulumi.Input<string>;
|
|
191
198
|
/**
|
|
192
|
-
*
|
|
193
|
-
* that are in a project VPC or another type of private network.
|
|
199
|
+
* Opensearch user configurable settings
|
|
194
200
|
*/
|
|
195
|
-
|
|
201
|
+
opensearchUserConfig?: pulumi.Input<inputs.OpenSearchOpensearchUserConfig>;
|
|
196
202
|
/**
|
|
197
|
-
*
|
|
198
|
-
* configuration options available:
|
|
203
|
+
* Opensearch server provided values
|
|
199
204
|
*/
|
|
200
|
-
|
|
205
|
+
opensearches?: pulumi.Input<pulumi.Input<inputs.OpenSearchOpensearch>[]>;
|
|
201
206
|
/**
|
|
202
|
-
*
|
|
203
|
-
* creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient
|
|
204
|
-
* amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The
|
|
205
|
-
* basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
206
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies
|
|
207
|
-
* but naming is based on memory). The available options can be seem from
|
|
208
|
-
* the [Aiven pricing page](https://aiven.io/pricing).
|
|
207
|
+
* 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).
|
|
209
208
|
*/
|
|
210
209
|
plan?: pulumi.Input<string>;
|
|
211
210
|
/**
|
|
212
|
-
*
|
|
213
|
-
* and the service, refer to the project as shown in the above example. Project cannot be changed later without
|
|
214
|
-
* destroying and re-creating the service.
|
|
211
|
+
* 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.
|
|
215
212
|
*/
|
|
216
213
|
project?: pulumi.Input<string>;
|
|
217
214
|
/**
|
|
218
|
-
*
|
|
219
|
-
* service is not run inside a VPC. When set, the value should be given as a reference as shown above to set up
|
|
220
|
-
* dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely
|
|
221
|
-
* moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take
|
|
222
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
215
|
+
* 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.
|
|
223
216
|
*/
|
|
224
217
|
projectVpcId?: pulumi.Input<string>;
|
|
225
218
|
/**
|
|
226
|
-
*
|
|
219
|
+
* The hostname of the service.
|
|
227
220
|
*/
|
|
228
221
|
serviceHost?: pulumi.Input<string>;
|
|
229
222
|
/**
|
|
@@ -231,17 +224,15 @@ export interface OpenSearchState {
|
|
|
231
224
|
*/
|
|
232
225
|
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.OpenSearchServiceIntegration>[]>;
|
|
233
226
|
/**
|
|
234
|
-
*
|
|
235
|
-
* destroying and re-creating the service so name should be picked based on intended service usage rather than current
|
|
236
|
-
* attributes.
|
|
227
|
+
* 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.
|
|
237
228
|
*/
|
|
238
229
|
serviceName?: pulumi.Input<string>;
|
|
239
230
|
/**
|
|
240
|
-
* Password used for connecting to the
|
|
231
|
+
* Password used for connecting to the service, if applicable
|
|
241
232
|
*/
|
|
242
233
|
servicePassword?: pulumi.Input<string>;
|
|
243
234
|
/**
|
|
244
|
-
*
|
|
235
|
+
* The port of the service
|
|
245
236
|
*/
|
|
246
237
|
servicePort?: pulumi.Input<number>;
|
|
247
238
|
/**
|
|
@@ -249,22 +240,23 @@ export interface OpenSearchState {
|
|
|
249
240
|
*/
|
|
250
241
|
serviceType?: pulumi.Input<string>;
|
|
251
242
|
/**
|
|
252
|
-
* URI for connecting to the
|
|
243
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
253
244
|
*/
|
|
254
245
|
serviceUri?: pulumi.Input<string>;
|
|
255
246
|
/**
|
|
256
|
-
* Username used for connecting to the
|
|
247
|
+
* Username used for connecting to the service, if applicable
|
|
257
248
|
*/
|
|
258
249
|
serviceUsername?: pulumi.Input<string>;
|
|
259
250
|
/**
|
|
260
|
-
* Service state.
|
|
251
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
261
252
|
*/
|
|
262
253
|
state?: pulumi.Input<string>;
|
|
263
254
|
/**
|
|
264
|
-
*
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
255
|
+
* 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
|
|
256
|
+
*/
|
|
257
|
+
staticIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
258
|
+
/**
|
|
259
|
+
* 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.
|
|
268
260
|
*/
|
|
269
261
|
terminationProtection?: pulumi.Input<boolean>;
|
|
270
262
|
}
|
|
@@ -273,57 +265,35 @@ export interface OpenSearchState {
|
|
|
273
265
|
*/
|
|
274
266
|
export interface OpenSearchArgs {
|
|
275
267
|
/**
|
|
276
|
-
*
|
|
277
|
-
* changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for
|
|
278
|
-
* the service. Format is cloud provider name
|
|
279
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are
|
|
280
|
-
* documented on each Cloud provider's own support articles,
|
|
281
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
282
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
268
|
+
* 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).
|
|
283
269
|
*/
|
|
284
270
|
cloudName?: pulumi.Input<string>;
|
|
285
271
|
/**
|
|
286
|
-
*
|
|
287
|
-
* wednesday, etc.
|
|
272
|
+
* 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.
|
|
288
273
|
*/
|
|
289
|
-
|
|
274
|
+
diskSpace?: pulumi.Input<string>;
|
|
290
275
|
/**
|
|
291
|
-
*
|
|
292
|
-
* ss format.
|
|
276
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
293
277
|
*/
|
|
294
|
-
|
|
278
|
+
maintenanceWindowDow?: pulumi.Input<string>;
|
|
295
279
|
/**
|
|
296
|
-
*
|
|
297
|
-
* that are in a project VPC or another type of private network.
|
|
280
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
298
281
|
*/
|
|
299
|
-
|
|
282
|
+
maintenanceWindowTime?: pulumi.Input<string>;
|
|
300
283
|
/**
|
|
301
|
-
*
|
|
302
|
-
* configuration options available:
|
|
284
|
+
* Opensearch user configurable settings
|
|
303
285
|
*/
|
|
304
286
|
opensearchUserConfig?: pulumi.Input<inputs.OpenSearchOpensearchUserConfig>;
|
|
305
287
|
/**
|
|
306
|
-
*
|
|
307
|
-
* creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient
|
|
308
|
-
* amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The
|
|
309
|
-
* basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
310
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies
|
|
311
|
-
* but naming is based on memory). The available options can be seem from
|
|
312
|
-
* the [Aiven pricing page](https://aiven.io/pricing).
|
|
288
|
+
* 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).
|
|
313
289
|
*/
|
|
314
290
|
plan?: pulumi.Input<string>;
|
|
315
291
|
/**
|
|
316
|
-
*
|
|
317
|
-
* and the service, refer to the project as shown in the above example. Project cannot be changed later without
|
|
318
|
-
* destroying and re-creating the service.
|
|
292
|
+
* 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.
|
|
319
293
|
*/
|
|
320
294
|
project: pulumi.Input<string>;
|
|
321
295
|
/**
|
|
322
|
-
*
|
|
323
|
-
* service is not run inside a VPC. When set, the value should be given as a reference as shown above to set up
|
|
324
|
-
* dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely
|
|
325
|
-
* moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take
|
|
326
|
-
* significant amount of time to complete if the service has a lot of data.
|
|
296
|
+
* 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.
|
|
327
297
|
*/
|
|
328
298
|
projectVpcId?: pulumi.Input<string>;
|
|
329
299
|
/**
|
|
@@ -331,16 +301,15 @@ export interface OpenSearchArgs {
|
|
|
331
301
|
*/
|
|
332
302
|
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.OpenSearchServiceIntegration>[]>;
|
|
333
303
|
/**
|
|
334
|
-
*
|
|
335
|
-
* destroying and re-creating the service so name should be picked based on intended service usage rather than current
|
|
336
|
-
* attributes.
|
|
304
|
+
* 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.
|
|
337
305
|
*/
|
|
338
306
|
serviceName: pulumi.Input<string>;
|
|
339
307
|
/**
|
|
340
|
-
*
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
308
|
+
* 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
|
|
309
|
+
*/
|
|
310
|
+
staticIps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
311
|
+
/**
|
|
312
|
+
* 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.
|
|
344
313
|
*/
|
|
345
314
|
terminationProtection?: pulumi.Input<boolean>;
|
|
346
315
|
}
|
package/openSearch.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.OpenSearch = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Opensearch Resource
|
|
10
|
-
*
|
|
11
9
|
* The Opensearch resource allows the creation and management of Aiven Opensearch services.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -45,10 +43,15 @@ class OpenSearch extends pulumi.CustomResource {
|
|
|
45
43
|
const state = argsOrState;
|
|
46
44
|
resourceInputs["cloudName"] = state ? state.cloudName : undefined;
|
|
47
45
|
resourceInputs["components"] = state ? state.components : undefined;
|
|
46
|
+
resourceInputs["diskSpace"] = state ? state.diskSpace : undefined;
|
|
47
|
+
resourceInputs["diskSpaceCap"] = state ? state.diskSpaceCap : undefined;
|
|
48
|
+
resourceInputs["diskSpaceDefault"] = state ? state.diskSpaceDefault : undefined;
|
|
49
|
+
resourceInputs["diskSpaceStep"] = state ? state.diskSpaceStep : undefined;
|
|
50
|
+
resourceInputs["diskSpaceUsed"] = state ? state.diskSpaceUsed : undefined;
|
|
48
51
|
resourceInputs["maintenanceWindowDow"] = state ? state.maintenanceWindowDow : undefined;
|
|
49
52
|
resourceInputs["maintenanceWindowTime"] = state ? state.maintenanceWindowTime : undefined;
|
|
50
|
-
resourceInputs["opensearch"] = state ? state.opensearch : undefined;
|
|
51
53
|
resourceInputs["opensearchUserConfig"] = state ? state.opensearchUserConfig : undefined;
|
|
54
|
+
resourceInputs["opensearches"] = state ? state.opensearches : undefined;
|
|
52
55
|
resourceInputs["plan"] = state ? state.plan : undefined;
|
|
53
56
|
resourceInputs["project"] = state ? state.project : undefined;
|
|
54
57
|
resourceInputs["projectVpcId"] = state ? state.projectVpcId : undefined;
|
|
@@ -61,6 +64,7 @@ class OpenSearch extends pulumi.CustomResource {
|
|
|
61
64
|
resourceInputs["serviceUri"] = state ? state.serviceUri : undefined;
|
|
62
65
|
resourceInputs["serviceUsername"] = state ? state.serviceUsername : undefined;
|
|
63
66
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
67
|
+
resourceInputs["staticIps"] = state ? state.staticIps : undefined;
|
|
64
68
|
resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
|
|
65
69
|
}
|
|
66
70
|
else {
|
|
@@ -72,17 +76,23 @@ class OpenSearch extends pulumi.CustomResource {
|
|
|
72
76
|
throw new Error("Missing required property 'serviceName'");
|
|
73
77
|
}
|
|
74
78
|
resourceInputs["cloudName"] = args ? args.cloudName : undefined;
|
|
79
|
+
resourceInputs["diskSpace"] = args ? args.diskSpace : undefined;
|
|
75
80
|
resourceInputs["maintenanceWindowDow"] = args ? args.maintenanceWindowDow : undefined;
|
|
76
81
|
resourceInputs["maintenanceWindowTime"] = args ? args.maintenanceWindowTime : undefined;
|
|
77
|
-
resourceInputs["opensearch"] = args ? args.opensearch : undefined;
|
|
78
82
|
resourceInputs["opensearchUserConfig"] = args ? args.opensearchUserConfig : undefined;
|
|
79
83
|
resourceInputs["plan"] = args ? args.plan : undefined;
|
|
80
84
|
resourceInputs["project"] = args ? args.project : undefined;
|
|
81
85
|
resourceInputs["projectVpcId"] = args ? args.projectVpcId : undefined;
|
|
82
86
|
resourceInputs["serviceIntegrations"] = args ? args.serviceIntegrations : undefined;
|
|
83
87
|
resourceInputs["serviceName"] = args ? args.serviceName : undefined;
|
|
88
|
+
resourceInputs["staticIps"] = args ? args.staticIps : undefined;
|
|
84
89
|
resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
|
|
85
90
|
resourceInputs["components"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["diskSpaceCap"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["diskSpaceDefault"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["diskSpaceStep"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["diskSpaceUsed"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["opensearches"] = undefined /*out*/;
|
|
86
96
|
resourceInputs["serviceHost"] = undefined /*out*/;
|
|
87
97
|
resourceInputs["servicePassword"] = undefined /*out*/;
|
|
88
98
|
resourceInputs["servicePort"] = undefined /*out*/;
|
package/openSearch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openSearch.js","sourceRoot":"","sources":["../openSearch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"openSearch.js","sourceRoot":"","sources":["../openSearch.ts"],"names":[],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AG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCA4MC;AA9LG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
|
package/openSearchAclConfig.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* The Opensearch ACL Config resource allows the configuration of ACL management on an Aiven Opensearch service.
|
|
3
|
+
* The Opensearch resource allows the creation and management of Aiven Opensearch services.
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
|
8
6
|
*
|
|
@@ -10,11 +8,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
9
|
* import * as aiven from "@pulumi/aiven";
|
|
12
10
|
*
|
|
13
|
-
* const
|
|
14
|
-
* project: aiven_project
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
11
|
+
* const os1 = new aiven.OpenSearch("os1", {
|
|
12
|
+
* project: data.aiven_project.pr1.project,
|
|
13
|
+
* cloudName: "google-europe-west1",
|
|
14
|
+
* plan: "startup-4",
|
|
15
|
+
* serviceName: "my-os1",
|
|
16
|
+
* maintenanceWindowDow: "monday",
|
|
17
|
+
* maintenanceWindowTime: "10:00:00",
|
|
18
|
+
* opensearchUserConfig: {
|
|
19
|
+
* opensearchVersion: 1,
|
|
20
|
+
* opensearchDashboards: {
|
|
21
|
+
* enabled: true,
|
|
22
|
+
* opensearchRequestTimeout: 30000,
|
|
23
|
+
* },
|
|
24
|
+
* publicAccess: {
|
|
25
|
+
* opensearch: true,
|
|
26
|
+
* opensearchDashboards: true,
|
|
27
|
+
* },
|
|
28
|
+
* },
|
|
18
29
|
* });
|
|
19
30
|
* ```
|
|
20
31
|
*/
|
|
@@ -35,22 +46,19 @@ export declare class OpenSearchAclConfig extends pulumi.CustomResource {
|
|
|
35
46
|
*/
|
|
36
47
|
static isInstance(obj: any): obj is OpenSearchAclConfig;
|
|
37
48
|
/**
|
|
38
|
-
*
|
|
49
|
+
* Enable Opensearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
|
|
39
50
|
*/
|
|
40
51
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
41
52
|
/**
|
|
42
|
-
* Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs
|
|
43
|
-
* (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as
|
|
44
|
-
* long as all operations only target indexes they have been granted access to.
|
|
53
|
+
* Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
|
|
45
54
|
*/
|
|
46
55
|
readonly extendedAcl: pulumi.Output<boolean | undefined>;
|
|
47
56
|
/**
|
|
48
|
-
*
|
|
49
|
-
* using reference as shown above to set up dependencies correctly.
|
|
57
|
+
* 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.
|
|
50
58
|
*/
|
|
51
59
|
readonly project: pulumi.Output<string>;
|
|
52
60
|
/**
|
|
53
|
-
*
|
|
61
|
+
* Specifies the name of the service that 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.
|
|
54
62
|
*/
|
|
55
63
|
readonly serviceName: pulumi.Output<string>;
|
|
56
64
|
/**
|
|
@@ -67,22 +75,19 @@ export declare class OpenSearchAclConfig extends pulumi.CustomResource {
|
|
|
67
75
|
*/
|
|
68
76
|
export interface OpenSearchAclConfigState {
|
|
69
77
|
/**
|
|
70
|
-
*
|
|
78
|
+
* Enable Opensearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
|
|
71
79
|
*/
|
|
72
80
|
enabled?: pulumi.Input<boolean>;
|
|
73
81
|
/**
|
|
74
|
-
* Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs
|
|
75
|
-
* (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as
|
|
76
|
-
* long as all operations only target indexes they have been granted access to.
|
|
82
|
+
* Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
|
|
77
83
|
*/
|
|
78
84
|
extendedAcl?: pulumi.Input<boolean>;
|
|
79
85
|
/**
|
|
80
|
-
*
|
|
81
|
-
* using reference as shown above to set up dependencies correctly.
|
|
86
|
+
* 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.
|
|
82
87
|
*/
|
|
83
88
|
project?: pulumi.Input<string>;
|
|
84
89
|
/**
|
|
85
|
-
*
|
|
90
|
+
* Specifies the name of the service that 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.
|
|
86
91
|
*/
|
|
87
92
|
serviceName?: pulumi.Input<string>;
|
|
88
93
|
}
|
|
@@ -91,22 +96,19 @@ export interface OpenSearchAclConfigState {
|
|
|
91
96
|
*/
|
|
92
97
|
export interface OpenSearchAclConfigArgs {
|
|
93
98
|
/**
|
|
94
|
-
*
|
|
99
|
+
* Enable Opensearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
|
|
95
100
|
*/
|
|
96
101
|
enabled?: pulumi.Input<boolean>;
|
|
97
102
|
/**
|
|
98
|
-
* Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs
|
|
99
|
-
* (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as
|
|
100
|
-
* long as all operations only target indexes they have been granted access to.
|
|
103
|
+
* Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
|
|
101
104
|
*/
|
|
102
105
|
extendedAcl?: pulumi.Input<boolean>;
|
|
103
106
|
/**
|
|
104
|
-
*
|
|
105
|
-
* using reference as shown above to set up dependencies correctly.
|
|
107
|
+
* 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.
|
|
106
108
|
*/
|
|
107
109
|
project: pulumi.Input<string>;
|
|
108
110
|
/**
|
|
109
|
-
*
|
|
111
|
+
* Specifies the name of the service that 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.
|
|
110
112
|
*/
|
|
111
113
|
serviceName: pulumi.Input<string>;
|
|
112
114
|
}
|