@pulumi/alicloud 3.92.0-alpha.1768281730 → 3.92.0
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/alikafka/consumerGroup.d.ts +51 -40
- package/alikafka/consumerGroup.js +16 -33
- package/alikafka/consumerGroup.js.map +1 -1
- package/cr/registryEnterpriseInstance.d.ts +65 -6
- package/cr/registryEnterpriseInstance.js +9 -1
- package/cr/registryEnterpriseInstance.js.map +1 -1
- package/drds/polardbxInstance.d.ts +71 -13
- package/drds/polardbxInstance.js +15 -3
- package/drds/polardbxInstance.js.map +1 -1
- package/eci/getZones.d.ts +7 -4
- package/eci/getZones.js +4 -4
- package/eci/getZones.js.map +1 -1
- package/ecs/instance.d.ts +10 -7
- package/ecs/instance.js.map +1 -1
- package/ess/eciScalingConfiguration.d.ts +13 -1
- package/ess/eciScalingConfiguration.js +3 -1
- package/ess/eciScalingConfiguration.js.map +1 -1
- package/gpdb/jdbcDataSource.d.ts +4 -3
- package/gpdb/jdbcDataSource.js +4 -3
- package/gpdb/jdbcDataSource.js.map +1 -1
- package/gpdb/streamingDataService.d.ts +6 -6
- package/gpdb/streamingDataService.js +3 -3
- package/hbr/policy.d.ts +3 -9
- package/hbr/policy.js.map +1 -1
- package/hbr/policyBinding.d.ts +8 -6
- package/hbr/policyBinding.js +5 -3
- package/hbr/policyBinding.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +14 -4
- package/mongodb/shardingInstance.js +4 -4
- package/mongodb/shardingInstance.js.map +1 -1
- package/package.json +2 -2
- package/rds/aiInstance.d.ts +291 -0
- package/rds/aiInstance.js +131 -0
- package/rds/aiInstance.js.map +1 -0
- package/rds/index.d.ts +3 -0
- package/rds/index.js +7 -2
- package/rds/index.js.map +1 -1
- package/resourcemanager/resourceShare.d.ts +39 -3
- package/resourcemanager/resourceShare.js +2 -0
- package/resourcemanager/resourceShare.js.map +1 -1
- package/resourcemanager/sharedResource.d.ts +45 -30
- package/resourcemanager/sharedResource.js +4 -6
- package/resourcemanager/sharedResource.js.map +1 -1
- package/threatdetection/checkConfig.d.ts +2 -0
- package/threatdetection/checkConfig.js +2 -0
- package/threatdetection/checkConfig.js.map +1 -1
- package/threatdetection/ossScanConfig.d.ts +3 -3
- package/types/input.d.ts +81 -13
- package/types/output.d.ts +81 -13
- package/vpc/havipAttachment.d.ts +12 -12
- package/vpc/havipAttachment.js +12 -12
- package/vpc/network.d.ts +3 -3
package/hbr/policyBinding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policyBinding.js","sourceRoot":"","sources":["../../hbr/policyBinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"policyBinding.js","sourceRoot":"","sources":["../../hbr/policyBinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA2ED,YAAY,IAAY,EAAE,WAAoD,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,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA3IL,sCA4IC;AA9HG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -24,8 +24,6 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
* const config = new pulumi.Config();
|
|
25
25
|
* const name = config.get("name") || "terraform-example";
|
|
26
26
|
* const _default = alicloud.mongodb.getZones({});
|
|
27
|
-
* const index = _default.then(_default => _default.zones).length.apply(length => length - 1);
|
|
28
|
-
* const zoneId = _default.then(_default => _default.zones[index].id);
|
|
29
27
|
* const defaultNetwork = new alicloud.vpc.Network("default", {
|
|
30
28
|
* vpcName: name,
|
|
31
29
|
* cidrBlock: "172.17.3.0/24",
|
|
@@ -34,12 +32,12 @@ import * as outputs from "../types/output";
|
|
|
34
32
|
* vswitchName: name,
|
|
35
33
|
* cidrBlock: "172.17.3.0/24",
|
|
36
34
|
* vpcId: defaultNetwork.id,
|
|
37
|
-
* zoneId:
|
|
35
|
+
* zoneId: _default.then(_default => _default.zones?.[1]?.id),
|
|
38
36
|
* });
|
|
39
37
|
* const defaultShardingInstance = new alicloud.mongodb.ShardingInstance("default", {
|
|
40
38
|
* engineVersion: "4.2",
|
|
41
39
|
* vswitchId: defaultSwitch.id,
|
|
42
|
-
* zoneId: zoneId,
|
|
40
|
+
* zoneId: defaultSwitch.zoneId,
|
|
43
41
|
* name: name,
|
|
44
42
|
* mongoLists: [
|
|
45
43
|
* {
|
|
@@ -208,6 +206,10 @@ export declare class ShardingInstance extends pulumi.CustomResource {
|
|
|
208
206
|
* **NOTE:** `orderType` is only applicable to instances when `instanceChargeType` is `PrePaid`.
|
|
209
207
|
*/
|
|
210
208
|
readonly orderType: pulumi.Output<string | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* Set of parameters needs to be set after mongodb instance was launched. See `parameters` below.
|
|
211
|
+
*/
|
|
212
|
+
readonly parameters: pulumi.Output<outputs.mongodb.ShardingInstanceParameter[]>;
|
|
211
213
|
/**
|
|
212
214
|
* The duration that you will buy DB instance (in month). It is valid when `instanceChargeType` is `PrePaid`. Default value: `1`. Valid values: [1~9], 12, 24, 36.
|
|
213
215
|
*/
|
|
@@ -423,6 +425,10 @@ export interface ShardingInstanceState {
|
|
|
423
425
|
* **NOTE:** `orderType` is only applicable to instances when `instanceChargeType` is `PrePaid`.
|
|
424
426
|
*/
|
|
425
427
|
orderType?: pulumi.Input<string>;
|
|
428
|
+
/**
|
|
429
|
+
* Set of parameters needs to be set after mongodb instance was launched. See `parameters` below.
|
|
430
|
+
*/
|
|
431
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.mongodb.ShardingInstanceParameter>[]>;
|
|
426
432
|
/**
|
|
427
433
|
* The duration that you will buy DB instance (in month). It is valid when `instanceChargeType` is `PrePaid`. Default value: `1`. Valid values: [1~9], 12, 24, 36.
|
|
428
434
|
*/
|
|
@@ -630,6 +636,10 @@ export interface ShardingInstanceArgs {
|
|
|
630
636
|
* **NOTE:** `orderType` is only applicable to instances when `instanceChargeType` is `PrePaid`.
|
|
631
637
|
*/
|
|
632
638
|
orderType?: pulumi.Input<string>;
|
|
639
|
+
/**
|
|
640
|
+
* Set of parameters needs to be set after mongodb instance was launched. See `parameters` below.
|
|
641
|
+
*/
|
|
642
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.mongodb.ShardingInstanceParameter>[]>;
|
|
633
643
|
/**
|
|
634
644
|
* The duration that you will buy DB instance (in month). It is valid when `instanceChargeType` is `PrePaid`. Default value: `1`. Valid values: [1~9], 12, 24, 36.
|
|
635
645
|
*/
|
|
@@ -28,8 +28,6 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* const config = new pulumi.Config();
|
|
29
29
|
* const name = config.get("name") || "terraform-example";
|
|
30
30
|
* const _default = alicloud.mongodb.getZones({});
|
|
31
|
-
* const index = _default.then(_default => _default.zones).length.apply(length => length - 1);
|
|
32
|
-
* const zoneId = _default.then(_default => _default.zones[index].id);
|
|
33
31
|
* const defaultNetwork = new alicloud.vpc.Network("default", {
|
|
34
32
|
* vpcName: name,
|
|
35
33
|
* cidrBlock: "172.17.3.0/24",
|
|
@@ -38,12 +36,12 @@ const utilities = require("../utilities");
|
|
|
38
36
|
* vswitchName: name,
|
|
39
37
|
* cidrBlock: "172.17.3.0/24",
|
|
40
38
|
* vpcId: defaultNetwork.id,
|
|
41
|
-
* zoneId:
|
|
39
|
+
* zoneId: _default.then(_default => _default.zones?.[1]?.id),
|
|
42
40
|
* });
|
|
43
41
|
* const defaultShardingInstance = new alicloud.mongodb.ShardingInstance("default", {
|
|
44
42
|
* engineVersion: "4.2",
|
|
45
43
|
* vswitchId: defaultSwitch.id,
|
|
46
|
-
* zoneId: zoneId,
|
|
44
|
+
* zoneId: defaultSwitch.zoneId,
|
|
47
45
|
* name: name,
|
|
48
46
|
* mongoLists: [
|
|
49
47
|
* {
|
|
@@ -137,6 +135,7 @@ class ShardingInstance extends pulumi.CustomResource {
|
|
|
137
135
|
resourceInputs["name"] = state?.name;
|
|
138
136
|
resourceInputs["networkType"] = state?.networkType;
|
|
139
137
|
resourceInputs["orderType"] = state?.orderType;
|
|
138
|
+
resourceInputs["parameters"] = state?.parameters;
|
|
140
139
|
resourceInputs["period"] = state?.period;
|
|
141
140
|
resourceInputs["protocolType"] = state?.protocolType;
|
|
142
141
|
resourceInputs["provisionedIops"] = state?.provisionedIops;
|
|
@@ -196,6 +195,7 @@ class ShardingInstance extends pulumi.CustomResource {
|
|
|
196
195
|
resourceInputs["name"] = args?.name;
|
|
197
196
|
resourceInputs["networkType"] = args?.networkType;
|
|
198
197
|
resourceInputs["orderType"] = args?.orderType;
|
|
198
|
+
resourceInputs["parameters"] = args?.parameters;
|
|
199
199
|
resourceInputs["period"] = args?.period;
|
|
200
200
|
resourceInputs["protocolType"] = args?.protocolType;
|
|
201
201
|
resourceInputs["provisionedIops"] = args?.provisionedIops;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shardingInstance.js","sourceRoot":"","sources":["../../mongodb/shardingInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"shardingInstance.js","sourceRoot":"","sources":["../../mongodb/shardingInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAiB,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AApWL,4CAqWC;AAvVG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/alicloud",
|
|
3
|
-
"version": "3.92.0
|
|
3
|
+
"version": "3.92.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing AliCloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "alicloud",
|
|
25
|
-
"version": "3.92.0
|
|
25
|
+
"version": "3.92.0"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a Rds Ai Instance resource.
|
|
6
|
+
*
|
|
7
|
+
* For information about Rds Ai Instance and how to use it, see [What is Instance](https://next.api.alibabacloud.com/document/RdsAi/2025-05-07/CreateAppInstance).
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** Available since v1.268.0.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
+
*
|
|
19
|
+
* const config = new pulumi.Config();
|
|
20
|
+
* const name = config.get("name") || "terraform-example";
|
|
21
|
+
* const _default = alicloud.vpc.getSwitches({
|
|
22
|
+
* zoneId: "cn-hangzhou-i",
|
|
23
|
+
* });
|
|
24
|
+
* const defaultInstance = new alicloud.rds.Instance("default", {
|
|
25
|
+
* engine: "PostgreSQL",
|
|
26
|
+
* engineVersion: "17.0",
|
|
27
|
+
* dbInstanceStorageType: "general_essd",
|
|
28
|
+
* instanceType: "pg.n2.1c.1m",
|
|
29
|
+
* instanceStorage: 100,
|
|
30
|
+
* vswitchId: _default.then(_default => _default.ids?.[0]),
|
|
31
|
+
* instanceName: name,
|
|
32
|
+
* });
|
|
33
|
+
* const defaultAiInstance = new alicloud.rds.AiInstance("default", {
|
|
34
|
+
* appName: name,
|
|
35
|
+
* appType: "supabase",
|
|
36
|
+
* dbInstanceName: defaultInstance.id,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* 📚 Need more examples? VIEW MORE EXAMPLES
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* Rds Ai Instance can be imported using the id, e.g.
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import alicloud:rds/aiInstance:AiInstance example <id>
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare class AiInstance extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing AiInstance resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param state Any extra arguments used during the lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiInstanceState, opts?: pulumi.CustomResourceOptions): AiInstance;
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of AiInstance. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj: any): obj is AiInstance;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the new AI application.
|
|
68
|
+
*/
|
|
69
|
+
readonly appName: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Application type. Currently, only `supabase` is supported.
|
|
72
|
+
*/
|
|
73
|
+
readonly appType: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Authentication information list. See `authConfigList` below.
|
|
76
|
+
*/
|
|
77
|
+
readonly authConfigLists: pulumi.Output<outputs.rds.AiInstanceAuthConfigList[]>;
|
|
78
|
+
/**
|
|
79
|
+
* The type of the certificate. Currently, only `custom` is supported. A custom certificate is used.
|
|
80
|
+
*
|
|
81
|
+
* > **NOTE:** When `sslEnabled` is set to `1`, this parameter must be configured.
|
|
82
|
+
*/
|
|
83
|
+
readonly caType: pulumi.Output<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Supabase Dashboard password.
|
|
86
|
+
* The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
|
|
87
|
+
*/
|
|
88
|
+
readonly dashboardPassword: pulumi.Output<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The RDS Database access password.
|
|
91
|
+
* The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
|
|
92
|
+
*/
|
|
93
|
+
readonly databasePassword: pulumi.Output<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* The ID of the RDS PostgreSQL database instance accessed by the AI application.
|
|
96
|
+
* supports only **newly purchased empty RDS PostgreSQL instances**. The major version is `17`, and the minor version is **20250630 or later**.>
|
|
97
|
+
*/
|
|
98
|
+
readonly dbInstanceName: pulumi.Output<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Whether to recover from existing PG data. Valid values:
|
|
101
|
+
*/
|
|
102
|
+
readonly initializeWithExistingData: pulumi.Output<boolean | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Whether to enable the public network connection address. Valid values:
|
|
105
|
+
*/
|
|
106
|
+
readonly publicEndpointEnabled: pulumi.Output<boolean | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether to enable the public network NAT gateway. Valid values:
|
|
109
|
+
*/
|
|
110
|
+
readonly publicNetworkAccessEnabled: pulumi.Output<boolean | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Customize the certificate content.
|
|
113
|
+
*
|
|
114
|
+
* > **NOTE:** When `caType` is set to `custom`, this parameter must be configured.
|
|
115
|
+
*/
|
|
116
|
+
readonly serverCert: pulumi.Output<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* The certificate private key.
|
|
119
|
+
*
|
|
120
|
+
* > **NOTE:** When `caType` is set to `custom`, this parameter must be configured.
|
|
121
|
+
*/
|
|
122
|
+
readonly serverKey: pulumi.Output<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Enable or disable SSL. Valid values:
|
|
125
|
+
*/
|
|
126
|
+
readonly sslEnabled: pulumi.Output<number | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The status of the instance. Valid values: `Running`, `Stopped`.
|
|
129
|
+
*/
|
|
130
|
+
readonly status: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* A list of storage configurations. See `storageConfigList` below.
|
|
133
|
+
*/
|
|
134
|
+
readonly storageConfigLists: pulumi.Output<outputs.rds.AiInstanceStorageConfigList[]>;
|
|
135
|
+
/**
|
|
136
|
+
* Create a AiInstance resource with the given unique name, arguments, and options.
|
|
137
|
+
*
|
|
138
|
+
* @param name The _unique_ name of the resource.
|
|
139
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
140
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
141
|
+
*/
|
|
142
|
+
constructor(name: string, args: AiInstanceArgs, opts?: pulumi.CustomResourceOptions);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Input properties used for looking up and filtering AiInstance resources.
|
|
146
|
+
*/
|
|
147
|
+
export interface AiInstanceState {
|
|
148
|
+
/**
|
|
149
|
+
* The name of the new AI application.
|
|
150
|
+
*/
|
|
151
|
+
appName?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Application type. Currently, only `supabase` is supported.
|
|
154
|
+
*/
|
|
155
|
+
appType?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* Authentication information list. See `authConfigList` below.
|
|
158
|
+
*/
|
|
159
|
+
authConfigLists?: pulumi.Input<pulumi.Input<inputs.rds.AiInstanceAuthConfigList>[]>;
|
|
160
|
+
/**
|
|
161
|
+
* The type of the certificate. Currently, only `custom` is supported. A custom certificate is used.
|
|
162
|
+
*
|
|
163
|
+
* > **NOTE:** When `sslEnabled` is set to `1`, this parameter must be configured.
|
|
164
|
+
*/
|
|
165
|
+
caType?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Supabase Dashboard password.
|
|
168
|
+
* The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
|
|
169
|
+
*/
|
|
170
|
+
dashboardPassword?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* The RDS Database access password.
|
|
173
|
+
* The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
|
|
174
|
+
*/
|
|
175
|
+
databasePassword?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The ID of the RDS PostgreSQL database instance accessed by the AI application.
|
|
178
|
+
* supports only **newly purchased empty RDS PostgreSQL instances**. The major version is `17`, and the minor version is **20250630 or later**.>
|
|
179
|
+
*/
|
|
180
|
+
dbInstanceName?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Whether to recover from existing PG data. Valid values:
|
|
183
|
+
*/
|
|
184
|
+
initializeWithExistingData?: pulumi.Input<boolean>;
|
|
185
|
+
/**
|
|
186
|
+
* Whether to enable the public network connection address. Valid values:
|
|
187
|
+
*/
|
|
188
|
+
publicEndpointEnabled?: pulumi.Input<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* Whether to enable the public network NAT gateway. Valid values:
|
|
191
|
+
*/
|
|
192
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
193
|
+
/**
|
|
194
|
+
* Customize the certificate content.
|
|
195
|
+
*
|
|
196
|
+
* > **NOTE:** When `caType` is set to `custom`, this parameter must be configured.
|
|
197
|
+
*/
|
|
198
|
+
serverCert?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The certificate private key.
|
|
201
|
+
*
|
|
202
|
+
* > **NOTE:** When `caType` is set to `custom`, this parameter must be configured.
|
|
203
|
+
*/
|
|
204
|
+
serverKey?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Enable or disable SSL. Valid values:
|
|
207
|
+
*/
|
|
208
|
+
sslEnabled?: pulumi.Input<number>;
|
|
209
|
+
/**
|
|
210
|
+
* The status of the instance. Valid values: `Running`, `Stopped`.
|
|
211
|
+
*/
|
|
212
|
+
status?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* A list of storage configurations. See `storageConfigList` below.
|
|
215
|
+
*/
|
|
216
|
+
storageConfigLists?: pulumi.Input<pulumi.Input<inputs.rds.AiInstanceStorageConfigList>[]>;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* The set of arguments for constructing a AiInstance resource.
|
|
220
|
+
*/
|
|
221
|
+
export interface AiInstanceArgs {
|
|
222
|
+
/**
|
|
223
|
+
* The name of the new AI application.
|
|
224
|
+
*/
|
|
225
|
+
appName: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* Application type. Currently, only `supabase` is supported.
|
|
228
|
+
*/
|
|
229
|
+
appType: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Authentication information list. See `authConfigList` below.
|
|
232
|
+
*/
|
|
233
|
+
authConfigLists?: pulumi.Input<pulumi.Input<inputs.rds.AiInstanceAuthConfigList>[]>;
|
|
234
|
+
/**
|
|
235
|
+
* The type of the certificate. Currently, only `custom` is supported. A custom certificate is used.
|
|
236
|
+
*
|
|
237
|
+
* > **NOTE:** When `sslEnabled` is set to `1`, this parameter must be configured.
|
|
238
|
+
*/
|
|
239
|
+
caType?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* Supabase Dashboard password.
|
|
242
|
+
* The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
|
|
243
|
+
*/
|
|
244
|
+
dashboardPassword?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* The RDS Database access password.
|
|
247
|
+
* The password must be 8 to 32 characters in length and contain three or more characters: uppercase letters, lowercase letters, numbers, and underscores (_).
|
|
248
|
+
*/
|
|
249
|
+
databasePassword?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* The ID of the RDS PostgreSQL database instance accessed by the AI application.
|
|
252
|
+
* supports only **newly purchased empty RDS PostgreSQL instances**. The major version is `17`, and the minor version is **20250630 or later**.>
|
|
253
|
+
*/
|
|
254
|
+
dbInstanceName?: pulumi.Input<string>;
|
|
255
|
+
/**
|
|
256
|
+
* Whether to recover from existing PG data. Valid values:
|
|
257
|
+
*/
|
|
258
|
+
initializeWithExistingData?: pulumi.Input<boolean>;
|
|
259
|
+
/**
|
|
260
|
+
* Whether to enable the public network connection address. Valid values:
|
|
261
|
+
*/
|
|
262
|
+
publicEndpointEnabled?: pulumi.Input<boolean>;
|
|
263
|
+
/**
|
|
264
|
+
* Whether to enable the public network NAT gateway. Valid values:
|
|
265
|
+
*/
|
|
266
|
+
publicNetworkAccessEnabled?: pulumi.Input<boolean>;
|
|
267
|
+
/**
|
|
268
|
+
* Customize the certificate content.
|
|
269
|
+
*
|
|
270
|
+
* > **NOTE:** When `caType` is set to `custom`, this parameter must be configured.
|
|
271
|
+
*/
|
|
272
|
+
serverCert?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* The certificate private key.
|
|
275
|
+
*
|
|
276
|
+
* > **NOTE:** When `caType` is set to `custom`, this parameter must be configured.
|
|
277
|
+
*/
|
|
278
|
+
serverKey?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* Enable or disable SSL. Valid values:
|
|
281
|
+
*/
|
|
282
|
+
sslEnabled?: pulumi.Input<number>;
|
|
283
|
+
/**
|
|
284
|
+
* The status of the instance. Valid values: `Running`, `Stopped`.
|
|
285
|
+
*/
|
|
286
|
+
status?: pulumi.Input<string>;
|
|
287
|
+
/**
|
|
288
|
+
* A list of storage configurations. See `storageConfigList` below.
|
|
289
|
+
*/
|
|
290
|
+
storageConfigLists?: pulumi.Input<pulumi.Input<inputs.rds.AiInstanceStorageConfigList>[]>;
|
|
291
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AiInstance = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Rds Ai Instance resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about Rds Ai Instance and how to use it, see [What is Instance](https://next.api.alibabacloud.com/document/RdsAi/2025-05-07/CreateAppInstance).
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Available since v1.268.0.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* Basic Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
+
*
|
|
23
|
+
* const config = new pulumi.Config();
|
|
24
|
+
* const name = config.get("name") || "terraform-example";
|
|
25
|
+
* const _default = alicloud.vpc.getSwitches({
|
|
26
|
+
* zoneId: "cn-hangzhou-i",
|
|
27
|
+
* });
|
|
28
|
+
* const defaultInstance = new alicloud.rds.Instance("default", {
|
|
29
|
+
* engine: "PostgreSQL",
|
|
30
|
+
* engineVersion: "17.0",
|
|
31
|
+
* dbInstanceStorageType: "general_essd",
|
|
32
|
+
* instanceType: "pg.n2.1c.1m",
|
|
33
|
+
* instanceStorage: 100,
|
|
34
|
+
* vswitchId: _default.then(_default => _default.ids?.[0]),
|
|
35
|
+
* instanceName: name,
|
|
36
|
+
* });
|
|
37
|
+
* const defaultAiInstance = new alicloud.rds.AiInstance("default", {
|
|
38
|
+
* appName: name,
|
|
39
|
+
* appType: "supabase",
|
|
40
|
+
* dbInstanceName: defaultInstance.id,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* 📚 Need more examples? VIEW MORE EXAMPLES
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* Rds Ai Instance can be imported using the id, e.g.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import alicloud:rds/aiInstance:AiInstance example <id>
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
class AiInstance extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing AiInstance resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name, id, state, opts) {
|
|
65
|
+
return new AiInstance(name, state, { ...opts, id: id });
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of AiInstance. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj) {
|
|
72
|
+
if (obj === undefined || obj === null) {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
return obj['__pulumiType'] === AiInstance.__pulumiType;
|
|
76
|
+
}
|
|
77
|
+
constructor(name, argsOrState, opts) {
|
|
78
|
+
let resourceInputs = {};
|
|
79
|
+
opts = opts || {};
|
|
80
|
+
if (opts.id) {
|
|
81
|
+
const state = argsOrState;
|
|
82
|
+
resourceInputs["appName"] = state?.appName;
|
|
83
|
+
resourceInputs["appType"] = state?.appType;
|
|
84
|
+
resourceInputs["authConfigLists"] = state?.authConfigLists;
|
|
85
|
+
resourceInputs["caType"] = state?.caType;
|
|
86
|
+
resourceInputs["dashboardPassword"] = state?.dashboardPassword;
|
|
87
|
+
resourceInputs["databasePassword"] = state?.databasePassword;
|
|
88
|
+
resourceInputs["dbInstanceName"] = state?.dbInstanceName;
|
|
89
|
+
resourceInputs["initializeWithExistingData"] = state?.initializeWithExistingData;
|
|
90
|
+
resourceInputs["publicEndpointEnabled"] = state?.publicEndpointEnabled;
|
|
91
|
+
resourceInputs["publicNetworkAccessEnabled"] = state?.publicNetworkAccessEnabled;
|
|
92
|
+
resourceInputs["serverCert"] = state?.serverCert;
|
|
93
|
+
resourceInputs["serverKey"] = state?.serverKey;
|
|
94
|
+
resourceInputs["sslEnabled"] = state?.sslEnabled;
|
|
95
|
+
resourceInputs["status"] = state?.status;
|
|
96
|
+
resourceInputs["storageConfigLists"] = state?.storageConfigLists;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
const args = argsOrState;
|
|
100
|
+
if (args?.appName === undefined && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'appName'");
|
|
102
|
+
}
|
|
103
|
+
if (args?.appType === undefined && !opts.urn) {
|
|
104
|
+
throw new Error("Missing required property 'appType'");
|
|
105
|
+
}
|
|
106
|
+
resourceInputs["appName"] = args?.appName;
|
|
107
|
+
resourceInputs["appType"] = args?.appType;
|
|
108
|
+
resourceInputs["authConfigLists"] = args?.authConfigLists;
|
|
109
|
+
resourceInputs["caType"] = args?.caType;
|
|
110
|
+
resourceInputs["dashboardPassword"] = args?.dashboardPassword ? pulumi.secret(args.dashboardPassword) : undefined;
|
|
111
|
+
resourceInputs["databasePassword"] = args?.databasePassword ? pulumi.secret(args.databasePassword) : undefined;
|
|
112
|
+
resourceInputs["dbInstanceName"] = args?.dbInstanceName;
|
|
113
|
+
resourceInputs["initializeWithExistingData"] = args?.initializeWithExistingData;
|
|
114
|
+
resourceInputs["publicEndpointEnabled"] = args?.publicEndpointEnabled;
|
|
115
|
+
resourceInputs["publicNetworkAccessEnabled"] = args?.publicNetworkAccessEnabled;
|
|
116
|
+
resourceInputs["serverCert"] = args?.serverCert;
|
|
117
|
+
resourceInputs["serverKey"] = args?.serverKey;
|
|
118
|
+
resourceInputs["sslEnabled"] = args?.sslEnabled;
|
|
119
|
+
resourceInputs["status"] = args?.status;
|
|
120
|
+
resourceInputs["storageConfigLists"] = args?.storageConfigLists;
|
|
121
|
+
}
|
|
122
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
123
|
+
const secretOpts = { additionalSecretOutputs: ["dashboardPassword", "databasePassword"] };
|
|
124
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
125
|
+
super(AiInstance.__pulumiType, name, resourceInputs, opts);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.AiInstance = AiInstance;
|
|
129
|
+
/** @internal */
|
|
130
|
+
AiInstance.__pulumiType = 'alicloud:rds/aiInstance:AiInstance';
|
|
131
|
+
//# sourceMappingURL=aiInstance.js.map
|
|
@@ -0,0 +1 @@
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,GAAG,oCAAoC,CAAC"}
|
package/rds/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const Account: typeof import("./account").Account;
|
|
|
4
4
|
export { AccountPrivilegeArgs, AccountPrivilegeState } from "./accountPrivilege";
|
|
5
5
|
export type AccountPrivilege = import("./accountPrivilege").AccountPrivilege;
|
|
6
6
|
export declare const AccountPrivilege: typeof import("./accountPrivilege").AccountPrivilege;
|
|
7
|
+
export { AiInstanceArgs, AiInstanceState } from "./aiInstance";
|
|
8
|
+
export type AiInstance = import("./aiInstance").AiInstance;
|
|
9
|
+
export declare const AiInstance: typeof import("./aiInstance").AiInstance;
|
|
7
10
|
export { BackupPolicyArgs, BackupPolicyState } from "./backupPolicy";
|
|
8
11
|
export type BackupPolicy = import("./backupPolicy").BackupPolicy;
|
|
9
12
|
export declare const BackupPolicy: typeof import("./backupPolicy").BackupPolicy;
|
package/rds/index.js
CHANGED
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
6
|
-
exports.WhitelistTemplate = exports.ReadWriteSplittingConnection = exports.ReadOnlyInstance = exports.RdsUpgradeDbInstance = exports.RdsServiceLinkedRole = void 0;
|
|
5
|
+
exports.RdsInstanceCrossBackupPolicy = exports.RdsDbProxy = exports.RdsCloneDbInstance = exports.RdsBackup = exports.RdsAccount = exports.Instance = exports.getZonesOutput = exports.getZones = exports.getSlotsOutput = exports.getSlots = exports.getRdsParameterGroupsOutput = exports.getRdsParameterGroups = exports.getRdsBackupsOutput = exports.getRdsBackups = exports.getModifyParameterLogsOutput = exports.getModifyParameterLogs = exports.getInstancesOutput = exports.getInstances = exports.getInstanceEnginesOutput = exports.getInstanceEngines = exports.getInstanceClassesOutput = exports.getInstanceClasses = exports.getInstanceClassInfosOutput = exports.getInstanceClassInfos = exports.getCrossRegionsOutput = exports.getCrossRegions = exports.getCrossRegionBackupsOutput = exports.getCrossRegionBackups = exports.getCollationTimeZonesOutput = exports.getCollationTimeZones = exports.getClassDetailsOutput = exports.getClassDetails = exports.getCharacterSetNamesOutput = exports.getCharacterSetNames = exports.getAccountsOutput = exports.getAccounts = exports.DdrInstance = exports.DbProxyPublic = exports.DbNode = exports.DbInstanceEndpointAddress = exports.DbInstanceEndpoint = exports.Database = exports.CustomDisk = exports.CustomDeploymentSet = exports.Custom = exports.Connection = exports.BackupPolicy = exports.AiInstance = exports.AccountPrivilege = exports.Account = void 0;
|
|
6
|
+
exports.WhitelistTemplate = exports.ReadWriteSplittingConnection = exports.ReadOnlyInstance = exports.RdsUpgradeDbInstance = exports.RdsServiceLinkedRole = exports.RdsParameterGroup = void 0;
|
|
7
7
|
const pulumi = require("@pulumi/pulumi");
|
|
8
8
|
const utilities = require("../utilities");
|
|
9
9
|
exports.Account = null;
|
|
10
10
|
utilities.lazyLoad(exports, ["Account"], () => require("./account"));
|
|
11
11
|
exports.AccountPrivilege = null;
|
|
12
12
|
utilities.lazyLoad(exports, ["AccountPrivilege"], () => require("./accountPrivilege"));
|
|
13
|
+
exports.AiInstance = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["AiInstance"], () => require("./aiInstance"));
|
|
13
15
|
exports.BackupPolicy = null;
|
|
14
16
|
utilities.lazyLoad(exports, ["BackupPolicy"], () => require("./backupPolicy"));
|
|
15
17
|
exports.Connection = null;
|
|
@@ -109,6 +111,8 @@ const _module = {
|
|
|
109
111
|
return new exports.Account(name, undefined, { urn });
|
|
110
112
|
case "alicloud:rds/accountPrivilege:AccountPrivilege":
|
|
111
113
|
return new exports.AccountPrivilege(name, undefined, { urn });
|
|
114
|
+
case "alicloud:rds/aiInstance:AiInstance":
|
|
115
|
+
return new exports.AiInstance(name, undefined, { urn });
|
|
112
116
|
case "alicloud:rds/backupPolicy:BackupPolicy":
|
|
113
117
|
return new exports.BackupPolicy(name, undefined, { urn });
|
|
114
118
|
case "alicloud:rds/connection:Connection":
|
|
@@ -162,6 +166,7 @@ const _module = {
|
|
|
162
166
|
};
|
|
163
167
|
pulumi.runtime.registerResourceModule("alicloud", "rds/account", _module);
|
|
164
168
|
pulumi.runtime.registerResourceModule("alicloud", "rds/accountPrivilege", _module);
|
|
169
|
+
pulumi.runtime.registerResourceModule("alicloud", "rds/aiInstance", _module);
|
|
165
170
|
pulumi.runtime.registerResourceModule("alicloud", "rds/backupPolicy", _module);
|
|
166
171
|
pulumi.runtime.registerResourceModule("alicloud", "rds/connection", _module);
|
|
167
172
|
pulumi.runtime.registerResourceModule("alicloud", "rds/custom", _module);
|