@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/getOpenSearch.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
|
-
* ## # Opensearch Data Source
|
|
5
|
-
*
|
|
6
4
|
* The Opensearch data source provides information about the existing Aiven Opensearch service.
|
|
7
5
|
*
|
|
8
6
|
* ## Example Usage
|
|
@@ -23,190 +21,122 @@ export declare function getOpenSearch(args: GetOpenSearchArgs, opts?: pulumi.Inv
|
|
|
23
21
|
*/
|
|
24
22
|
export interface GetOpenSearchArgs {
|
|
25
23
|
/**
|
|
26
|
-
*
|
|
27
|
-
* after service is created. Changing the value will trigger a potentially lengthy migration process for the service.
|
|
28
|
-
* Format is cloud provider name
|
|
29
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are
|
|
30
|
-
* documented on each Cloud provider's own support articles,
|
|
31
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
32
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
33
|
-
*/
|
|
34
|
-
cloudName?: string;
|
|
35
|
-
components?: inputs.GetOpenSearchComponent[];
|
|
36
|
-
/**
|
|
37
|
-
* day of week when maintenance operations should be performed. On monday, tuesday, wednesday,
|
|
38
|
-
* etc.
|
|
39
|
-
*/
|
|
40
|
-
maintenanceWindowDow?: string;
|
|
41
|
-
/**
|
|
42
|
-
* time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
43
|
-
*/
|
|
44
|
-
maintenanceWindowTime?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Allow clients to connect to opensearch from the public internet for service nodes that are in a
|
|
47
|
-
* project VPC or another type of private network.
|
|
48
|
-
*/
|
|
49
|
-
opensearch?: inputs.GetOpenSearchOpensearch;
|
|
50
|
-
/**
|
|
51
|
-
* defines Opensearch specific additional configuration options. The following configuration
|
|
52
|
-
* options available:
|
|
53
|
-
*/
|
|
54
|
-
opensearchUserConfig?: inputs.GetOpenSearchOpensearchUserConfig;
|
|
55
|
-
/**
|
|
56
|
-
* defines what kind of computing resources are allocated for the service. It can be changed after creation,
|
|
57
|
-
* though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of
|
|
58
|
-
* disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
59
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
60
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies
|
|
61
|
-
* but naming is based on memory). The available options can be seem from
|
|
62
|
-
* 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 between the project
|
|
67
|
-
* and the service, refer to the project as shown in the above example. Project cannot be changed later without
|
|
68
|
-
* 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
|
-
* run inside a VPC. When set, the value should be given as a reference as shown above to set up dependencies correctly
|
|
74
|
-
* and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC
|
|
75
|
-
* after creation but doing so triggers migration to new servers so the operation can take significant amount of time to
|
|
76
|
-
* complete if the service has a lot of data.
|
|
77
|
-
*/
|
|
78
|
-
projectVpcId?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Opensearch hostname.
|
|
81
|
-
*/
|
|
82
|
-
serviceHost?: string;
|
|
83
|
-
serviceIntegrations?: inputs.GetOpenSearchServiceIntegration[];
|
|
84
|
-
/**
|
|
85
|
-
* specifies the actual name of the service. The name cannot be changed later without
|
|
86
|
-
* destroying and re-creating the service so name should be picked based on intended service usage rather than current
|
|
87
|
-
* 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.
|
|
88
29
|
*/
|
|
89
30
|
serviceName: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getOpenSearch.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetOpenSearchResult {
|
|
90
36
|
/**
|
|
91
|
-
*
|
|
37
|
+
* 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).
|
|
92
38
|
*/
|
|
93
|
-
|
|
39
|
+
readonly cloudName: string;
|
|
94
40
|
/**
|
|
95
|
-
*
|
|
41
|
+
* Service component information objects
|
|
96
42
|
*/
|
|
97
|
-
|
|
98
|
-
serviceType?: string;
|
|
43
|
+
readonly components: outputs.GetOpenSearchComponent[];
|
|
99
44
|
/**
|
|
100
|
-
*
|
|
45
|
+
* 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.
|
|
101
46
|
*/
|
|
102
|
-
|
|
47
|
+
readonly diskSpace: string;
|
|
103
48
|
/**
|
|
104
|
-
*
|
|
49
|
+
* The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
105
50
|
*/
|
|
106
|
-
|
|
51
|
+
readonly diskSpaceCap: string;
|
|
107
52
|
/**
|
|
108
|
-
*
|
|
53
|
+
* 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`
|
|
109
54
|
*/
|
|
110
|
-
|
|
55
|
+
readonly diskSpaceDefault: string;
|
|
111
56
|
/**
|
|
112
|
-
*
|
|
113
|
-
* production services to prevent unintentional service deletion. This does not shield against deleting databases or
|
|
114
|
-
* topics but for services with backups much of the content can at least be restored from backup in case accidental
|
|
115
|
-
* deletion is done.
|
|
57
|
+
* 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.
|
|
116
58
|
*/
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* A collection of values returned by getOpenSearch.
|
|
121
|
-
*/
|
|
122
|
-
export interface GetOpenSearchResult {
|
|
59
|
+
readonly diskSpaceStep: string;
|
|
123
60
|
/**
|
|
124
|
-
*
|
|
125
|
-
* after service is created. Changing the value will trigger a potentially lengthy migration process for the service.
|
|
126
|
-
* Format is cloud provider name
|
|
127
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are
|
|
128
|
-
* documented on each Cloud provider's own support articles,
|
|
129
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
130
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
61
|
+
* Disk space that service is currently using
|
|
131
62
|
*/
|
|
132
|
-
readonly
|
|
133
|
-
readonly components: outputs.GetOpenSearchComponent[];
|
|
63
|
+
readonly diskSpaceUsed: string;
|
|
134
64
|
/**
|
|
135
65
|
* The provider-assigned unique ID for this managed resource.
|
|
136
66
|
*/
|
|
137
67
|
readonly id: string;
|
|
138
68
|
/**
|
|
139
|
-
*
|
|
140
|
-
|
|
69
|
+
* Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
70
|
+
*/
|
|
71
|
+
readonly maintenanceWindowDow: string;
|
|
72
|
+
/**
|
|
73
|
+
* Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
141
74
|
*/
|
|
142
|
-
readonly
|
|
75
|
+
readonly maintenanceWindowTime: string;
|
|
143
76
|
/**
|
|
144
|
-
*
|
|
77
|
+
* Opensearch user configurable settings
|
|
145
78
|
*/
|
|
146
|
-
readonly
|
|
79
|
+
readonly opensearchUserConfigs: outputs.GetOpenSearchOpensearchUserConfig[];
|
|
147
80
|
/**
|
|
148
|
-
*
|
|
149
|
-
* project VPC or another type of private network.
|
|
81
|
+
* Opensearch server provided values
|
|
150
82
|
*/
|
|
151
|
-
readonly
|
|
83
|
+
readonly opensearches: outputs.GetOpenSearchOpensearch[];
|
|
152
84
|
/**
|
|
153
|
-
*
|
|
154
|
-
* options available:
|
|
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).
|
|
155
86
|
*/
|
|
156
|
-
readonly
|
|
87
|
+
readonly plan: string;
|
|
157
88
|
/**
|
|
158
|
-
*
|
|
159
|
-
* though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of
|
|
160
|
-
* disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
161
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
162
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies
|
|
163
|
-
* but naming is based on memory). The available options can be seem from
|
|
164
|
-
* 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.
|
|
165
90
|
*/
|
|
166
|
-
readonly plan?: string;
|
|
167
91
|
readonly project: string;
|
|
168
92
|
/**
|
|
169
|
-
*
|
|
170
|
-
* run inside a VPC. When set, the value should be given as a reference as shown above to set up dependencies correctly
|
|
171
|
-
* and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC
|
|
172
|
-
* after creation but doing so triggers migration to new servers so the operation can take significant amount of time to
|
|
173
|
-
* 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.
|
|
174
94
|
*/
|
|
175
|
-
readonly projectVpcId
|
|
95
|
+
readonly projectVpcId: string;
|
|
176
96
|
/**
|
|
177
|
-
*
|
|
97
|
+
* The hostname of the service.
|
|
178
98
|
*/
|
|
179
99
|
readonly serviceHost: string;
|
|
180
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Service integrations to specify when creating a service. Not applied after initial service creation
|
|
102
|
+
*/
|
|
103
|
+
readonly serviceIntegrations: outputs.GetOpenSearchServiceIntegration[];
|
|
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
|
+
*/
|
|
181
107
|
readonly serviceName: string;
|
|
182
108
|
/**
|
|
183
|
-
* Password used for connecting to the
|
|
109
|
+
* Password used for connecting to the service, if applicable
|
|
184
110
|
*/
|
|
185
111
|
readonly servicePassword: string;
|
|
186
112
|
/**
|
|
187
|
-
*
|
|
113
|
+
* The port of the service
|
|
188
114
|
*/
|
|
189
115
|
readonly servicePort: number;
|
|
116
|
+
/**
|
|
117
|
+
* Aiven internal service type code
|
|
118
|
+
*/
|
|
190
119
|
readonly serviceType: string;
|
|
191
120
|
/**
|
|
192
|
-
* URI for connecting to the
|
|
121
|
+
* URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
193
122
|
*/
|
|
194
123
|
readonly serviceUri: string;
|
|
195
124
|
/**
|
|
196
|
-
* Username used for connecting to the
|
|
125
|
+
* Username used for connecting to the service, if applicable
|
|
197
126
|
*/
|
|
198
127
|
readonly serviceUsername: string;
|
|
199
128
|
/**
|
|
200
|
-
* Service state.
|
|
129
|
+
* Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
201
130
|
*/
|
|
202
131
|
readonly state: string;
|
|
203
132
|
/**
|
|
204
|
-
*
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
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.
|
|
208
138
|
*/
|
|
209
|
-
readonly terminationProtection
|
|
139
|
+
readonly terminationProtection: boolean;
|
|
210
140
|
}
|
|
211
141
|
export declare function getOpenSearchOutput(args: GetOpenSearchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOpenSearchResult>;
|
|
212
142
|
/**
|
|
@@ -214,96 +144,11 @@ export declare function getOpenSearchOutput(args: GetOpenSearchOutputArgs, opts?
|
|
|
214
144
|
*/
|
|
215
145
|
export interface GetOpenSearchOutputArgs {
|
|
216
146
|
/**
|
|
217
|
-
*
|
|
218
|
-
* after service is created. Changing the value will trigger a potentially lengthy migration process for the service.
|
|
219
|
-
* Format is cloud provider name
|
|
220
|
-
* (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are
|
|
221
|
-
* documented on each Cloud provider's own support articles,
|
|
222
|
-
* like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
|
|
223
|
-
* [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
224
|
-
*/
|
|
225
|
-
cloudName?: pulumi.Input<string>;
|
|
226
|
-
components?: pulumi.Input<pulumi.Input<inputs.GetOpenSearchComponentArgs>[]>;
|
|
227
|
-
/**
|
|
228
|
-
* day of week when maintenance operations should be performed. On monday, tuesday, wednesday,
|
|
229
|
-
* etc.
|
|
230
|
-
*/
|
|
231
|
-
maintenanceWindowDow?: pulumi.Input<string>;
|
|
232
|
-
/**
|
|
233
|
-
* time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
234
|
-
*/
|
|
235
|
-
maintenanceWindowTime?: pulumi.Input<string>;
|
|
236
|
-
/**
|
|
237
|
-
* Allow clients to connect to opensearch from the public internet for service nodes that are in a
|
|
238
|
-
* project VPC or another type of private network.
|
|
239
|
-
*/
|
|
240
|
-
opensearch?: pulumi.Input<inputs.GetOpenSearchOpensearchArgs>;
|
|
241
|
-
/**
|
|
242
|
-
* defines Opensearch specific additional configuration options. The following configuration
|
|
243
|
-
* options available:
|
|
244
|
-
*/
|
|
245
|
-
opensearchUserConfig?: pulumi.Input<inputs.GetOpenSearchOpensearchUserConfigArgs>;
|
|
246
|
-
/**
|
|
247
|
-
* defines what kind of computing resources are allocated for the service. It can be changed after creation,
|
|
248
|
-
* though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of
|
|
249
|
-
* disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan
|
|
250
|
-
* names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
|
|
251
|
-
* (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies
|
|
252
|
-
* but naming is based on memory). The available options can be seem from
|
|
253
|
-
* the [Aiven pricing page](https://aiven.io/pricing).
|
|
254
|
-
*/
|
|
255
|
-
plan?: pulumi.Input<string>;
|
|
256
|
-
/**
|
|
257
|
-
* identifies the project the service belongs to. To set up proper dependency between the project
|
|
258
|
-
* and the service, refer to the project as shown in the above example. Project cannot be changed later without
|
|
259
|
-
* 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.
|
|
260
148
|
*/
|
|
261
149
|
project: pulumi.Input<string>;
|
|
262
150
|
/**
|
|
263
|
-
*
|
|
264
|
-
* run inside a VPC. When set, the value should be given as a reference as shown above to set up dependencies correctly
|
|
265
|
-
* and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC
|
|
266
|
-
* after creation but doing so triggers migration to new servers so the operation can take significant amount of time to
|
|
267
|
-
* complete if the service has a lot of data.
|
|
268
|
-
*/
|
|
269
|
-
projectVpcId?: pulumi.Input<string>;
|
|
270
|
-
/**
|
|
271
|
-
* Opensearch hostname.
|
|
272
|
-
*/
|
|
273
|
-
serviceHost?: pulumi.Input<string>;
|
|
274
|
-
serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.GetOpenSearchServiceIntegrationArgs>[]>;
|
|
275
|
-
/**
|
|
276
|
-
* specifies the actual name of the service. The name cannot be changed later without
|
|
277
|
-
* destroying and re-creating the service so name should be picked based on intended service usage rather than current
|
|
278
|
-
* 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.
|
|
279
152
|
*/
|
|
280
153
|
serviceName: pulumi.Input<string>;
|
|
281
|
-
/**
|
|
282
|
-
* Password used for connecting to the Opensearch service, if applicable.
|
|
283
|
-
*/
|
|
284
|
-
servicePassword?: pulumi.Input<string>;
|
|
285
|
-
/**
|
|
286
|
-
* Opensearch port.
|
|
287
|
-
*/
|
|
288
|
-
servicePort?: pulumi.Input<number>;
|
|
289
|
-
serviceType?: pulumi.Input<string>;
|
|
290
|
-
/**
|
|
291
|
-
* URI for connecting to the Opensearch service.
|
|
292
|
-
*/
|
|
293
|
-
serviceUri?: pulumi.Input<string>;
|
|
294
|
-
/**
|
|
295
|
-
* Username used for connecting to the Opensearch service, if applicable.
|
|
296
|
-
*/
|
|
297
|
-
serviceUsername?: pulumi.Input<string>;
|
|
298
|
-
/**
|
|
299
|
-
* Service state.
|
|
300
|
-
*/
|
|
301
|
-
state?: pulumi.Input<string>;
|
|
302
|
-
/**
|
|
303
|
-
* prevents the service from being deleted. It is recommended to set this to `true` for all
|
|
304
|
-
* production services to prevent unintentional service deletion. This does not shield against deleting databases or
|
|
305
|
-
* topics but for services with backups much of the content can at least be restored from backup in case accidental
|
|
306
|
-
* deletion is done.
|
|
307
|
-
*/
|
|
308
|
-
terminationProtection?: pulumi.Input<boolean>;
|
|
309
154
|
}
|
package/getOpenSearch.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.getOpenSearchOutput = exports.getOpenSearch = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Opensearch Data Source
|
|
10
|
-
*
|
|
11
9
|
* The Opensearch data source provides information about the existing Aiven Opensearch service.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
@@ -28,25 +26,8 @@ function getOpenSearch(args, opts) {
|
|
|
28
26
|
}
|
|
29
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
28
|
return pulumi.runtime.invoke("aiven:index/getOpenSearch:getOpenSearch", {
|
|
31
|
-
"cloudName": args.cloudName,
|
|
32
|
-
"components": args.components,
|
|
33
|
-
"maintenanceWindowDow": args.maintenanceWindowDow,
|
|
34
|
-
"maintenanceWindowTime": args.maintenanceWindowTime,
|
|
35
|
-
"opensearch": args.opensearch,
|
|
36
|
-
"opensearchUserConfig": args.opensearchUserConfig,
|
|
37
|
-
"plan": args.plan,
|
|
38
29
|
"project": args.project,
|
|
39
|
-
"projectVpcId": args.projectVpcId,
|
|
40
|
-
"serviceHost": args.serviceHost,
|
|
41
|
-
"serviceIntegrations": args.serviceIntegrations,
|
|
42
30
|
"serviceName": args.serviceName,
|
|
43
|
-
"servicePassword": args.servicePassword,
|
|
44
|
-
"servicePort": args.servicePort,
|
|
45
|
-
"serviceType": args.serviceType,
|
|
46
|
-
"serviceUri": args.serviceUri,
|
|
47
|
-
"serviceUsername": args.serviceUsername,
|
|
48
|
-
"state": args.state,
|
|
49
|
-
"terminationProtection": args.terminationProtection,
|
|
50
31
|
}, opts);
|
|
51
32
|
}
|
|
52
33
|
exports.getOpenSearch = getOpenSearch;
|
package/getOpenSearch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOpenSearch.js","sourceRoot":"","sources":["../getOpenSearch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getOpenSearch.js","sourceRoot":"","sources":["../getOpenSearch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,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,yCAAyC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA8HD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
|
@@ -1,25 +1,56 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The Opensearch ACL Config data source provides information about an existing Aiven Opensearch ACL Config.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aiven from "@pulumi/aiven";
|
|
10
|
+
*
|
|
11
|
+
* const os-acl-config = aiven.getOpenSearchAclConfig({
|
|
12
|
+
* project: aiven_project["os-project"].project,
|
|
13
|
+
* serviceName: aiven_service.os.service_name,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
2
17
|
export declare function getOpenSearchAclConfig(args: GetOpenSearchAclConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetOpenSearchAclConfigResult>;
|
|
3
18
|
/**
|
|
4
19
|
* A collection of arguments for invoking getOpenSearchAclConfig.
|
|
5
20
|
*/
|
|
6
21
|
export interface GetOpenSearchAclConfigArgs {
|
|
7
|
-
|
|
8
|
-
|
|
22
|
+
/**
|
|
23
|
+
* 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.
|
|
24
|
+
*/
|
|
9
25
|
project: string;
|
|
26
|
+
/**
|
|
27
|
+
* 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.
|
|
28
|
+
*/
|
|
10
29
|
serviceName: string;
|
|
11
30
|
}
|
|
12
31
|
/**
|
|
13
32
|
* A collection of values returned by getOpenSearchAclConfig.
|
|
14
33
|
*/
|
|
15
34
|
export interface GetOpenSearchAclConfigResult {
|
|
16
|
-
|
|
17
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Enable Opensearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
|
|
37
|
+
*/
|
|
38
|
+
readonly enabled: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 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`.
|
|
41
|
+
*/
|
|
42
|
+
readonly extendedAcl: boolean;
|
|
18
43
|
/**
|
|
19
44
|
* The provider-assigned unique ID for this managed resource.
|
|
20
45
|
*/
|
|
21
46
|
readonly id: string;
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
22
50
|
readonly project: string;
|
|
51
|
+
/**
|
|
52
|
+
* 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.
|
|
53
|
+
*/
|
|
23
54
|
readonly serviceName: string;
|
|
24
55
|
}
|
|
25
56
|
export declare function getOpenSearchAclConfigOutput(args: GetOpenSearchAclConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOpenSearchAclConfigResult>;
|
|
@@ -27,8 +58,12 @@ export declare function getOpenSearchAclConfigOutput(args: GetOpenSearchAclConfi
|
|
|
27
58
|
* A collection of arguments for invoking getOpenSearchAclConfig.
|
|
28
59
|
*/
|
|
29
60
|
export interface GetOpenSearchAclConfigOutputArgs {
|
|
30
|
-
|
|
31
|
-
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
*/
|
|
32
64
|
project: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* 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.
|
|
67
|
+
*/
|
|
33
68
|
serviceName: pulumi.Input<string>;
|
|
34
69
|
}
|
|
@@ -5,14 +5,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getOpenSearchAclConfigOutput = exports.getOpenSearchAclConfig = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Opensearch ACL Config data source provides information about an existing Aiven Opensearch ACL Config.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const os-acl-config = aiven.getOpenSearchAclConfig({
|
|
18
|
+
* project: aiven_project["os-project"].project,
|
|
19
|
+
* serviceName: aiven_service.os.service_name,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
8
23
|
function getOpenSearchAclConfig(args, opts) {
|
|
9
24
|
if (!opts) {
|
|
10
25
|
opts = {};
|
|
11
26
|
}
|
|
12
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
13
28
|
return pulumi.runtime.invoke("aiven:index/getOpenSearchAclConfig:getOpenSearchAclConfig", {
|
|
14
|
-
"enabled": args.enabled,
|
|
15
|
-
"extendedAcl": args.extendedAcl,
|
|
16
29
|
"project": args.project,
|
|
17
30
|
"serviceName": args.serviceName,
|
|
18
31
|
}, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOpenSearchAclConfig.js","sourceRoot":"","sources":["../getOpenSearchAclConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,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,2DAA2D,EAAE;QACtF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"getOpenSearchAclConfig.js","sourceRoot":"","sources":["../getOpenSearchAclConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,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,2DAA2D,EAAE;QACtF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wDAUC;AA0CD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
|
|
@@ -1,13 +1,45 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The Opensearch ACL Rule data source provides information about an existing Aiven Opensearch ACL Rule.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aiven from "@pulumi/aiven";
|
|
10
|
+
*
|
|
11
|
+
* const osAclRule = aiven.getOpenSearchAclRule({
|
|
12
|
+
* project: aiven_opensearch_acl_config.os_acls_config.project,
|
|
13
|
+
* serviceName: aiven_opensearch_acl_config.os_acls_config.service_name,
|
|
14
|
+
* username: "<USERNAME>",
|
|
15
|
+
* index: "<INDEX>",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
2
19
|
export declare function getOpenSearchAclRule(args: GetOpenSearchAclRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetOpenSearchAclRuleResult>;
|
|
3
20
|
/**
|
|
4
21
|
* A collection of arguments for invoking getOpenSearchAclRule.
|
|
5
22
|
*/
|
|
6
23
|
export interface GetOpenSearchAclRuleArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The index pattern for this ACL entry. Maximum Length: `249`. This property cannot be changed, doing so forces recreation of the resource.
|
|
26
|
+
*/
|
|
7
27
|
index: string;
|
|
28
|
+
/**
|
|
29
|
+
* The permissions for this ACL entry The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
|
|
30
|
+
*/
|
|
8
31
|
permission: string;
|
|
32
|
+
/**
|
|
33
|
+
* 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.
|
|
34
|
+
*/
|
|
9
35
|
project: string;
|
|
36
|
+
/**
|
|
37
|
+
* 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.
|
|
38
|
+
*/
|
|
10
39
|
serviceName: string;
|
|
40
|
+
/**
|
|
41
|
+
* The username for the ACL entry Maximum Length: `40`. 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.
|
|
42
|
+
*/
|
|
11
43
|
username: string;
|
|
12
44
|
}
|
|
13
45
|
/**
|
|
@@ -18,10 +50,25 @@ export interface GetOpenSearchAclRuleResult {
|
|
|
18
50
|
* The provider-assigned unique ID for this managed resource.
|
|
19
51
|
*/
|
|
20
52
|
readonly id: string;
|
|
53
|
+
/**
|
|
54
|
+
* The index pattern for this ACL entry. Maximum Length: `249`. This property cannot be changed, doing so forces recreation of the resource.
|
|
55
|
+
*/
|
|
21
56
|
readonly index: string;
|
|
57
|
+
/**
|
|
58
|
+
* The permissions for this ACL entry The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
|
|
59
|
+
*/
|
|
22
60
|
readonly permission: string;
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
*/
|
|
23
64
|
readonly project: string;
|
|
65
|
+
/**
|
|
66
|
+
* 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.
|
|
67
|
+
*/
|
|
24
68
|
readonly serviceName: string;
|
|
69
|
+
/**
|
|
70
|
+
* The username for the ACL entry Maximum Length: `40`. 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.
|
|
71
|
+
*/
|
|
25
72
|
readonly username: string;
|
|
26
73
|
}
|
|
27
74
|
export declare function getOpenSearchAclRuleOutput(args: GetOpenSearchAclRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOpenSearchAclRuleResult>;
|
|
@@ -29,9 +76,24 @@ export declare function getOpenSearchAclRuleOutput(args: GetOpenSearchAclRuleOut
|
|
|
29
76
|
* A collection of arguments for invoking getOpenSearchAclRule.
|
|
30
77
|
*/
|
|
31
78
|
export interface GetOpenSearchAclRuleOutputArgs {
|
|
79
|
+
/**
|
|
80
|
+
* The index pattern for this ACL entry. Maximum Length: `249`. This property cannot be changed, doing so forces recreation of the resource.
|
|
81
|
+
*/
|
|
32
82
|
index: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The permissions for this ACL entry The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
|
|
85
|
+
*/
|
|
33
86
|
permission: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* 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.
|
|
89
|
+
*/
|
|
34
90
|
project: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* 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.
|
|
93
|
+
*/
|
|
35
94
|
serviceName: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The username for the ACL entry Maximum Length: `40`. 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.
|
|
97
|
+
*/
|
|
36
98
|
username: pulumi.Input<string>;
|
|
37
99
|
}
|
package/getOpenSearchAclRule.js
CHANGED
|
@@ -5,6 +5,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getOpenSearchAclRuleOutput = exports.getOpenSearchAclRule = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The Opensearch ACL Rule data source provides information about an existing Aiven Opensearch ACL Rule.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aiven from "@pulumi/aiven";
|
|
16
|
+
*
|
|
17
|
+
* const osAclRule = aiven.getOpenSearchAclRule({
|
|
18
|
+
* project: aiven_opensearch_acl_config.os_acls_config.project,
|
|
19
|
+
* serviceName: aiven_opensearch_acl_config.os_acls_config.service_name,
|
|
20
|
+
* username: "<USERNAME>",
|
|
21
|
+
* index: "<INDEX>",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
8
25
|
function getOpenSearchAclRule(args, opts) {
|
|
9
26
|
if (!opts) {
|
|
10
27
|
opts = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOpenSearchAclRule.js","sourceRoot":"","sources":["../getOpenSearchAclRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,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,uDAAuD,EAAE;QAClF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,oDAaC;
|
|
1
|
+
{"version":3,"file":"getOpenSearchAclRule.js","sourceRoot":"","sources":["../getOpenSearchAclRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,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,uDAAuD,EAAE;QAClF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,oDAaC;AA0DD,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,gEAEC"}
|