@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/project.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Project Resource
|
|
4
|
-
*
|
|
5
3
|
* The Project resource allows the creation and management of Aiven Projects.
|
|
6
4
|
*/
|
|
7
5
|
export declare class Project extends pulumi.CustomResource {
|
|
@@ -21,104 +19,83 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
21
19
|
*/
|
|
22
20
|
static isInstance(obj: any): obj is Project;
|
|
23
21
|
/**
|
|
24
|
-
*
|
|
25
|
-
* using account ID.
|
|
22
|
+
* An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
|
|
26
23
|
*/
|
|
27
24
|
readonly accountId: pulumi.Output<string | undefined>;
|
|
28
25
|
/**
|
|
29
|
-
* is
|
|
30
|
-
|
|
26
|
+
* If accountId is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
27
|
+
*/
|
|
28
|
+
readonly addAccountOwnersAdminAccess: pulumi.Output<boolean | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* The amount of platform credits available to the project. This could be your free trial or other promotional credits.
|
|
31
31
|
*/
|
|
32
32
|
readonly availableCredits: pulumi.Output<string>;
|
|
33
33
|
/**
|
|
34
|
-
* Billing name and address of the project
|
|
34
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing name and address of the project.
|
|
35
35
|
*
|
|
36
36
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
37
37
|
*/
|
|
38
38
|
readonly billingAddress: pulumi.Output<string | undefined>;
|
|
39
39
|
/**
|
|
40
|
-
* Billing currency
|
|
40
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing currency.
|
|
41
41
|
*
|
|
42
42
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
43
43
|
*/
|
|
44
44
|
readonly billingCurrency: pulumi.Output<string | undefined>;
|
|
45
45
|
/**
|
|
46
|
-
* Billing contact emails of the project
|
|
46
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing contact emails of the project.
|
|
47
47
|
*
|
|
48
48
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
49
49
|
*/
|
|
50
50
|
readonly billingEmails: pulumi.Output<string[] | undefined>;
|
|
51
51
|
/**
|
|
52
|
-
* Extra text to be included in all project invoices, e.g. purchase order or cost center number
|
|
52
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Extra text to be included in all project invoices, e.g. purchase order or cost center number.
|
|
53
53
|
*
|
|
54
54
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
55
55
|
*/
|
|
56
56
|
readonly billingExtraText: pulumi.Output<string | undefined>;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
|
|
59
59
|
*/
|
|
60
60
|
readonly billingGroup: pulumi.Output<string | undefined>;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
* project. This is required for configuring clients that connect to certain services like
|
|
64
|
-
* Kafka. This value cannot be set, only read.
|
|
62
|
+
* The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
65
63
|
*/
|
|
66
64
|
readonly caCert: pulumi.Output<string>;
|
|
67
65
|
/**
|
|
68
|
-
*
|
|
69
|
-
* UUID is not shown in the UI it is typically easier to use the last 4 digits to identify
|
|
70
|
-
* the card. This can be omitted if `copyFromProject` is used to copy billing info from
|
|
71
|
-
* another project.
|
|
66
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if `copyFromProject` is used to copy billing info from another project.
|
|
72
67
|
*
|
|
73
68
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
74
69
|
*/
|
|
75
70
|
readonly cardId: pulumi.Output<string | undefined>;
|
|
76
71
|
/**
|
|
77
|
-
* is the name of another project used to copy billing information and
|
|
78
|
-
* some other project attributes like technical contacts from. This is mostly relevant when
|
|
79
|
-
* an existing project has billing type set to invoice and that needs to be copied over to a
|
|
80
|
-
* new project. (Setting billing is otherwise not allowed over the API.) This only has
|
|
81
|
-
* effect when the project is created.
|
|
72
|
+
* is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
|
|
82
73
|
*/
|
|
83
74
|
readonly copyFromProject: pulumi.Output<string | undefined>;
|
|
84
75
|
/**
|
|
85
|
-
* Billing country
|
|
86
|
-
*
|
|
87
|
-
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
88
|
-
*/
|
|
89
|
-
readonly country: pulumi.Output<string>;
|
|
90
|
-
/**
|
|
91
|
-
* Billing country code of the project
|
|
76
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing country code of the project.
|
|
92
77
|
*
|
|
93
78
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
94
79
|
*/
|
|
95
80
|
readonly countryCode: pulumi.Output<string | undefined>;
|
|
96
81
|
/**
|
|
97
|
-
*
|
|
98
|
-
* hosted. This can be changed freely after the project is created. This will not affect existing
|
|
99
|
-
* services.
|
|
82
|
+
* Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
|
|
100
83
|
*/
|
|
101
84
|
readonly defaultCloud: pulumi.Output<string | undefined>;
|
|
102
85
|
/**
|
|
103
|
-
*
|
|
104
|
-
* project in the current billing period.
|
|
86
|
+
* The current accumulated bill for this project in the current billing period.
|
|
105
87
|
*/
|
|
106
88
|
readonly estimatedBalance: pulumi.Output<string>;
|
|
107
89
|
/**
|
|
108
|
-
*
|
|
109
|
-
* this project, e.g. "card".
|
|
90
|
+
* The method of invoicing used for payments for this project, e.g. `card`.
|
|
110
91
|
*/
|
|
111
92
|
readonly paymentMethod: pulumi.Output<string>;
|
|
112
93
|
/**
|
|
113
|
-
*
|
|
114
|
-
* Aiven customers) and cannot be changed later without destroying and re-creating the
|
|
115
|
-
* project, including all sub-resources.
|
|
94
|
+
* Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
116
95
|
*/
|
|
117
96
|
readonly project: pulumi.Output<string>;
|
|
118
97
|
/**
|
|
119
|
-
*
|
|
120
|
-
* upcoming maintenance updates or warnings about service instability. It is a good practice to keep
|
|
121
|
-
* this up-to-date to be aware of any potential issues with your project.
|
|
98
|
+
* Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
|
|
122
99
|
*/
|
|
123
100
|
readonly technicalEmails: pulumi.Output<string[] | undefined>;
|
|
124
101
|
/**
|
|
@@ -126,7 +103,7 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
126
103
|
*/
|
|
127
104
|
readonly useSourceProjectBillingGroup: pulumi.Output<boolean | undefined>;
|
|
128
105
|
/**
|
|
129
|
-
* EU VAT Identification Number
|
|
106
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** EU VAT Identification Number.
|
|
130
107
|
*
|
|
131
108
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
132
109
|
*/
|
|
@@ -145,104 +122,83 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
145
122
|
*/
|
|
146
123
|
export interface ProjectState {
|
|
147
124
|
/**
|
|
148
|
-
*
|
|
149
|
-
* using account ID.
|
|
125
|
+
* An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
|
|
150
126
|
*/
|
|
151
127
|
accountId?: pulumi.Input<string>;
|
|
152
128
|
/**
|
|
153
|
-
* is
|
|
154
|
-
|
|
129
|
+
* If accountId is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
130
|
+
*/
|
|
131
|
+
addAccountOwnersAdminAccess?: pulumi.Input<boolean>;
|
|
132
|
+
/**
|
|
133
|
+
* The amount of platform credits available to the project. This could be your free trial or other promotional credits.
|
|
155
134
|
*/
|
|
156
135
|
availableCredits?: pulumi.Input<string>;
|
|
157
136
|
/**
|
|
158
|
-
* Billing name and address of the project
|
|
137
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing name and address of the project.
|
|
159
138
|
*
|
|
160
139
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
161
140
|
*/
|
|
162
141
|
billingAddress?: pulumi.Input<string>;
|
|
163
142
|
/**
|
|
164
|
-
* Billing currency
|
|
143
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing currency.
|
|
165
144
|
*
|
|
166
145
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
167
146
|
*/
|
|
168
147
|
billingCurrency?: pulumi.Input<string>;
|
|
169
148
|
/**
|
|
170
|
-
* Billing contact emails of the project
|
|
149
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing contact emails of the project.
|
|
171
150
|
*
|
|
172
151
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
173
152
|
*/
|
|
174
153
|
billingEmails?: pulumi.Input<pulumi.Input<string>[]>;
|
|
175
154
|
/**
|
|
176
|
-
* Extra text to be included in all project invoices, e.g. purchase order or cost center number
|
|
155
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Extra text to be included in all project invoices, e.g. purchase order or cost center number.
|
|
177
156
|
*
|
|
178
157
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
179
158
|
*/
|
|
180
159
|
billingExtraText?: pulumi.Input<string>;
|
|
181
160
|
/**
|
|
182
|
-
*
|
|
161
|
+
* The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
|
|
183
162
|
*/
|
|
184
163
|
billingGroup?: pulumi.Input<string>;
|
|
185
164
|
/**
|
|
186
|
-
*
|
|
187
|
-
* project. This is required for configuring clients that connect to certain services like
|
|
188
|
-
* Kafka. This value cannot be set, only read.
|
|
165
|
+
* The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
189
166
|
*/
|
|
190
167
|
caCert?: pulumi.Input<string>;
|
|
191
168
|
/**
|
|
192
|
-
*
|
|
193
|
-
* UUID is not shown in the UI it is typically easier to use the last 4 digits to identify
|
|
194
|
-
* the card. This can be omitted if `copyFromProject` is used to copy billing info from
|
|
195
|
-
* another project.
|
|
169
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if `copyFromProject` is used to copy billing info from another project.
|
|
196
170
|
*
|
|
197
171
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
198
172
|
*/
|
|
199
173
|
cardId?: pulumi.Input<string>;
|
|
200
174
|
/**
|
|
201
|
-
* is the name of another project used to copy billing information and
|
|
202
|
-
* some other project attributes like technical contacts from. This is mostly relevant when
|
|
203
|
-
* an existing project has billing type set to invoice and that needs to be copied over to a
|
|
204
|
-
* new project. (Setting billing is otherwise not allowed over the API.) This only has
|
|
205
|
-
* effect when the project is created.
|
|
175
|
+
* is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
|
|
206
176
|
*/
|
|
207
177
|
copyFromProject?: pulumi.Input<string>;
|
|
208
178
|
/**
|
|
209
|
-
* Billing country
|
|
210
|
-
*
|
|
211
|
-
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
212
|
-
*/
|
|
213
|
-
country?: pulumi.Input<string>;
|
|
214
|
-
/**
|
|
215
|
-
* Billing country code of the project
|
|
179
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing country code of the project.
|
|
216
180
|
*
|
|
217
181
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
218
182
|
*/
|
|
219
183
|
countryCode?: pulumi.Input<string>;
|
|
220
184
|
/**
|
|
221
|
-
*
|
|
222
|
-
* hosted. This can be changed freely after the project is created. This will not affect existing
|
|
223
|
-
* services.
|
|
185
|
+
* Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
|
|
224
186
|
*/
|
|
225
187
|
defaultCloud?: pulumi.Input<string>;
|
|
226
188
|
/**
|
|
227
|
-
*
|
|
228
|
-
* project in the current billing period.
|
|
189
|
+
* The current accumulated bill for this project in the current billing period.
|
|
229
190
|
*/
|
|
230
191
|
estimatedBalance?: pulumi.Input<string>;
|
|
231
192
|
/**
|
|
232
|
-
*
|
|
233
|
-
* this project, e.g. "card".
|
|
193
|
+
* The method of invoicing used for payments for this project, e.g. `card`.
|
|
234
194
|
*/
|
|
235
195
|
paymentMethod?: pulumi.Input<string>;
|
|
236
196
|
/**
|
|
237
|
-
*
|
|
238
|
-
* Aiven customers) and cannot be changed later without destroying and re-creating the
|
|
239
|
-
* project, including all sub-resources.
|
|
197
|
+
* Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
240
198
|
*/
|
|
241
199
|
project?: pulumi.Input<string>;
|
|
242
200
|
/**
|
|
243
|
-
*
|
|
244
|
-
* upcoming maintenance updates or warnings about service instability. It is a good practice to keep
|
|
245
|
-
* this up-to-date to be aware of any potential issues with your project.
|
|
201
|
+
* Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
|
|
246
202
|
*/
|
|
247
203
|
technicalEmails?: pulumi.Input<pulumi.Input<string>[]>;
|
|
248
204
|
/**
|
|
@@ -250,7 +206,7 @@ export interface ProjectState {
|
|
|
250
206
|
*/
|
|
251
207
|
useSourceProjectBillingGroup?: pulumi.Input<boolean>;
|
|
252
208
|
/**
|
|
253
|
-
* EU VAT Identification Number
|
|
209
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** EU VAT Identification Number.
|
|
254
210
|
*
|
|
255
211
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
256
212
|
*/
|
|
@@ -261,88 +217,71 @@ export interface ProjectState {
|
|
|
261
217
|
*/
|
|
262
218
|
export interface ProjectArgs {
|
|
263
219
|
/**
|
|
264
|
-
*
|
|
265
|
-
* using account ID.
|
|
220
|
+
* An optional property to link a project to already an existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
|
|
266
221
|
*/
|
|
267
222
|
accountId?: pulumi.Input<string>;
|
|
268
223
|
/**
|
|
269
|
-
* is
|
|
270
|
-
|
|
224
|
+
* If accountId is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
225
|
+
*/
|
|
226
|
+
addAccountOwnersAdminAccess?: pulumi.Input<boolean>;
|
|
227
|
+
/**
|
|
228
|
+
* The amount of platform credits available to the project. This could be your free trial or other promotional credits.
|
|
271
229
|
*/
|
|
272
230
|
availableCredits?: pulumi.Input<string>;
|
|
273
231
|
/**
|
|
274
|
-
* Billing name and address of the project
|
|
232
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing name and address of the project.
|
|
275
233
|
*
|
|
276
234
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
277
235
|
*/
|
|
278
236
|
billingAddress?: pulumi.Input<string>;
|
|
279
237
|
/**
|
|
280
|
-
* Billing currency
|
|
238
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing currency.
|
|
281
239
|
*
|
|
282
240
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
283
241
|
*/
|
|
284
242
|
billingCurrency?: pulumi.Input<string>;
|
|
285
243
|
/**
|
|
286
|
-
* Billing contact emails of the project
|
|
244
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing contact emails of the project.
|
|
287
245
|
*
|
|
288
246
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
289
247
|
*/
|
|
290
248
|
billingEmails?: pulumi.Input<pulumi.Input<string>[]>;
|
|
291
249
|
/**
|
|
292
|
-
* Extra text to be included in all project invoices, e.g. purchase order or cost center number
|
|
250
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Extra text to be included in all project invoices, e.g. purchase order or cost center number.
|
|
293
251
|
*
|
|
294
252
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
295
253
|
*/
|
|
296
254
|
billingExtraText?: pulumi.Input<string>;
|
|
297
255
|
/**
|
|
298
|
-
*
|
|
256
|
+
* The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
|
|
299
257
|
*/
|
|
300
258
|
billingGroup?: pulumi.Input<string>;
|
|
301
259
|
/**
|
|
302
|
-
* is
|
|
303
|
-
* project. This is required for configuring clients that connect to certain services like
|
|
304
|
-
* Kafka. This value cannot be set, only read.
|
|
305
|
-
*/
|
|
306
|
-
caCert?: pulumi.Input<string>;
|
|
307
|
-
/**
|
|
308
|
-
* is either the full card UUID or the last 4 digits of the card. As the full
|
|
309
|
-
* UUID is not shown in the UI it is typically easier to use the last 4 digits to identify
|
|
310
|
-
* the card. This can be omitted if `copyFromProject` is used to copy billing info from
|
|
311
|
-
* another project.
|
|
260
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Either the full card UUID or the last 4 digits of the card. As the full UUID is not shown in the UI it is typically easier to use the last 4 digits to identify the card. This can be omitted if `copyFromProject` is used to copy billing info from another project.
|
|
312
261
|
*
|
|
313
262
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
314
263
|
*/
|
|
315
264
|
cardId?: pulumi.Input<string>;
|
|
316
265
|
/**
|
|
317
|
-
* is the name of another project used to copy billing information and
|
|
318
|
-
* some other project attributes like technical contacts from. This is mostly relevant when
|
|
319
|
-
* an existing project has billing type set to invoice and that needs to be copied over to a
|
|
320
|
-
* new project. (Setting billing is otherwise not allowed over the API.) This only has
|
|
321
|
-
* effect when the project is created.
|
|
266
|
+
* is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
|
|
322
267
|
*/
|
|
323
268
|
copyFromProject?: pulumi.Input<string>;
|
|
324
269
|
/**
|
|
325
|
-
* Billing country code of the project
|
|
270
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** Billing country code of the project.
|
|
326
271
|
*
|
|
327
272
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
328
273
|
*/
|
|
329
274
|
countryCode?: pulumi.Input<string>;
|
|
330
275
|
/**
|
|
331
|
-
*
|
|
332
|
-
* hosted. This can be changed freely after the project is created. This will not affect existing
|
|
333
|
-
* services.
|
|
276
|
+
* Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
|
|
334
277
|
*/
|
|
335
278
|
defaultCloud?: pulumi.Input<string>;
|
|
336
279
|
/**
|
|
337
|
-
*
|
|
338
|
-
* Aiven customers) and cannot be changed later without destroying and re-creating the
|
|
339
|
-
* project, including all sub-resources.
|
|
280
|
+
* Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
340
281
|
*/
|
|
341
282
|
project: pulumi.Input<string>;
|
|
342
283
|
/**
|
|
343
|
-
*
|
|
344
|
-
* upcoming maintenance updates or warnings about service instability. It is a good practice to keep
|
|
345
|
-
* this up-to-date to be aware of any potential issues with your project.
|
|
284
|
+
* Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
|
|
346
285
|
*/
|
|
347
286
|
technicalEmails?: pulumi.Input<pulumi.Input<string>[]>;
|
|
348
287
|
/**
|
|
@@ -350,7 +289,7 @@ export interface ProjectArgs {
|
|
|
350
289
|
*/
|
|
351
290
|
useSourceProjectBillingGroup?: pulumi.Input<boolean>;
|
|
352
291
|
/**
|
|
353
|
-
* EU VAT Identification Number
|
|
292
|
+
* **DEPRECATED Please use aiven*billing*group resource to set this value.** EU VAT Identification Number.
|
|
354
293
|
*
|
|
355
294
|
* @deprecated Please use aiven_billing_group resource to set this value.
|
|
356
295
|
*/
|
package/project.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.Project = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Project Resource
|
|
10
|
-
*
|
|
11
9
|
* The Project resource allows the creation and management of Aiven Projects.
|
|
12
10
|
*/
|
|
13
11
|
class Project extends pulumi.CustomResource {
|
|
@@ -17,6 +15,7 @@ class Project extends pulumi.CustomResource {
|
|
|
17
15
|
if (opts.id) {
|
|
18
16
|
const state = argsOrState;
|
|
19
17
|
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
18
|
+
resourceInputs["addAccountOwnersAdminAccess"] = state ? state.addAccountOwnersAdminAccess : undefined;
|
|
20
19
|
resourceInputs["availableCredits"] = state ? state.availableCredits : undefined;
|
|
21
20
|
resourceInputs["billingAddress"] = state ? state.billingAddress : undefined;
|
|
22
21
|
resourceInputs["billingCurrency"] = state ? state.billingCurrency : undefined;
|
|
@@ -26,7 +25,6 @@ class Project extends pulumi.CustomResource {
|
|
|
26
25
|
resourceInputs["caCert"] = state ? state.caCert : undefined;
|
|
27
26
|
resourceInputs["cardId"] = state ? state.cardId : undefined;
|
|
28
27
|
resourceInputs["copyFromProject"] = state ? state.copyFromProject : undefined;
|
|
29
|
-
resourceInputs["country"] = state ? state.country : undefined;
|
|
30
28
|
resourceInputs["countryCode"] = state ? state.countryCode : undefined;
|
|
31
29
|
resourceInputs["defaultCloud"] = state ? state.defaultCloud : undefined;
|
|
32
30
|
resourceInputs["estimatedBalance"] = state ? state.estimatedBalance : undefined;
|
|
@@ -42,13 +40,13 @@ class Project extends pulumi.CustomResource {
|
|
|
42
40
|
throw new Error("Missing required property 'project'");
|
|
43
41
|
}
|
|
44
42
|
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
43
|
+
resourceInputs["addAccountOwnersAdminAccess"] = args ? args.addAccountOwnersAdminAccess : undefined;
|
|
45
44
|
resourceInputs["availableCredits"] = args ? args.availableCredits : undefined;
|
|
46
45
|
resourceInputs["billingAddress"] = args ? args.billingAddress : undefined;
|
|
47
46
|
resourceInputs["billingCurrency"] = args ? args.billingCurrency : undefined;
|
|
48
47
|
resourceInputs["billingEmails"] = args ? args.billingEmails : undefined;
|
|
49
48
|
resourceInputs["billingExtraText"] = args ? args.billingExtraText : undefined;
|
|
50
49
|
resourceInputs["billingGroup"] = args ? args.billingGroup : undefined;
|
|
51
|
-
resourceInputs["caCert"] = args ? args.caCert : undefined;
|
|
52
50
|
resourceInputs["cardId"] = args ? args.cardId : undefined;
|
|
53
51
|
resourceInputs["copyFromProject"] = args ? args.copyFromProject : undefined;
|
|
54
52
|
resourceInputs["countryCode"] = args ? args.countryCode : undefined;
|
|
@@ -57,7 +55,7 @@ class Project extends pulumi.CustomResource {
|
|
|
57
55
|
resourceInputs["technicalEmails"] = args ? args.technicalEmails : undefined;
|
|
58
56
|
resourceInputs["useSourceProjectBillingGroup"] = args ? args.useSourceProjectBillingGroup : undefined;
|
|
59
57
|
resourceInputs["vatId"] = args ? args.vatId : undefined;
|
|
60
|
-
resourceInputs["
|
|
58
|
+
resourceInputs["caCert"] = undefined /*out*/;
|
|
61
59
|
resourceInputs["estimatedBalance"] = undefined /*out*/;
|
|
62
60
|
resourceInputs["paymentMethod"] = undefined /*out*/;
|
|
63
61
|
}
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|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E,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BAmLC;AArKG,gBAAgB;AACO,oBAAY,GAAG,6BAA6B,CAAC"}
|
package/projectUser.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## # Project User Resource
|
|
4
|
-
*
|
|
5
3
|
* The Project User resource allows the creation and management of Aiven Project Users.
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
|
@@ -34,22 +32,19 @@ export declare class ProjectUser extends pulumi.CustomResource {
|
|
|
34
32
|
*/
|
|
35
33
|
static isInstance(obj: any): obj is ProjectUser;
|
|
36
34
|
/**
|
|
37
|
-
*
|
|
38
|
-
* the project; adding user to a project sends an invitation to the target user and the
|
|
39
|
-
* actual membership is only created once the user accepts the invitation. This property
|
|
40
|
-
* cannot be set, only read.
|
|
35
|
+
* Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
|
|
41
36
|
*/
|
|
42
37
|
readonly accepted: pulumi.Output<boolean>;
|
|
43
38
|
/**
|
|
44
|
-
*
|
|
39
|
+
* Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
|
|
45
40
|
*/
|
|
46
41
|
readonly email: pulumi.Output<string>;
|
|
47
42
|
/**
|
|
48
|
-
*
|
|
43
|
+
* Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
49
44
|
*/
|
|
50
45
|
readonly memberType: pulumi.Output<string>;
|
|
51
46
|
/**
|
|
52
|
-
*
|
|
47
|
+
* 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.
|
|
53
48
|
*/
|
|
54
49
|
readonly project: pulumi.Output<string>;
|
|
55
50
|
/**
|
|
@@ -66,22 +61,19 @@ export declare class ProjectUser extends pulumi.CustomResource {
|
|
|
66
61
|
*/
|
|
67
62
|
export interface ProjectUserState {
|
|
68
63
|
/**
|
|
69
|
-
*
|
|
70
|
-
* the project; adding user to a project sends an invitation to the target user and the
|
|
71
|
-
* actual membership is only created once the user accepts the invitation. This property
|
|
72
|
-
* cannot be set, only read.
|
|
64
|
+
* Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
|
|
73
65
|
*/
|
|
74
66
|
accepted?: pulumi.Input<boolean>;
|
|
75
67
|
/**
|
|
76
|
-
*
|
|
68
|
+
* Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
|
|
77
69
|
*/
|
|
78
70
|
email?: pulumi.Input<string>;
|
|
79
71
|
/**
|
|
80
|
-
*
|
|
72
|
+
* Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
81
73
|
*/
|
|
82
74
|
memberType?: pulumi.Input<string>;
|
|
83
75
|
/**
|
|
84
|
-
*
|
|
76
|
+
* 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.
|
|
85
77
|
*/
|
|
86
78
|
project?: pulumi.Input<string>;
|
|
87
79
|
}
|
|
@@ -90,15 +82,15 @@ export interface ProjectUserState {
|
|
|
90
82
|
*/
|
|
91
83
|
export interface ProjectUserArgs {
|
|
92
84
|
/**
|
|
93
|
-
*
|
|
85
|
+
* Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
|
|
94
86
|
*/
|
|
95
87
|
email: pulumi.Input<string>;
|
|
96
88
|
/**
|
|
97
|
-
*
|
|
89
|
+
* Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
98
90
|
*/
|
|
99
91
|
memberType: pulumi.Input<string>;
|
|
100
92
|
/**
|
|
101
|
-
*
|
|
93
|
+
* 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.
|
|
102
94
|
*/
|
|
103
95
|
project: pulumi.Input<string>;
|
|
104
96
|
}
|
package/projectUser.js
CHANGED
|
@@ -6,8 +6,6 @@ exports.ProjectUser = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Project User Resource
|
|
10
|
-
*
|
|
11
9
|
* The Project User resource allows the creation and management of Aiven Project Users.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
package/projectUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectUser.js","sourceRoot":"","sources":["../projectUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectUser.js","sourceRoot":"","sources":["../projectUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAqDlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,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