@volcengine/pulumi 0.0.38 → 0.0.40
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/nat/dnatEntry.d.ts +3 -3
- package/nat/gateway.d.ts +89 -5
- package/nat/gateway.js +70 -2
- package/nat/gateway.js.map +1 -1
- package/nat/getIps.d.ts +170 -0
- package/nat/getIps.js +111 -0
- package/nat/getIps.js.map +1 -0
- package/nat/index.d.ts +9 -0
- package/nat/index.js +12 -1
- package/nat/index.js.map +1 -1
- package/nat/ip.d.ts +157 -0
- package/nat/ip.js +113 -0
- package/nat/ip.js.map +1 -0
- package/nat/ips.d.ts +172 -0
- package/nat/ips.js +114 -0
- package/nat/ips.js.map +1 -0
- package/nat/snatEntry.d.ts +17 -5
- package/nat/snatEntry.js +2 -3
- package/nat/snatEntry.js.map +1 -1
- package/package.json +1 -1
- package/rds_postgresql/account.d.ts +20 -7
- package/rds_postgresql/account.js +6 -3
- package/rds_postgresql/account.js.map +1 -1
- package/rds_postgresql/allowlist.d.ts +76 -8
- package/rds_postgresql/allowlist.js +22 -7
- package/rds_postgresql/allowlist.js.map +1 -1
- package/rds_postgresql/allowlistVersionUpgrade.d.ts +59 -0
- package/rds_postgresql/allowlistVersionUpgrade.js +63 -0
- package/rds_postgresql/allowlistVersionUpgrade.js.map +1 -0
- package/rds_postgresql/allowlists.d.ts +73 -2
- package/rds_postgresql/allowlists.js +21 -2
- package/rds_postgresql/allowlists.js.map +1 -1
- package/rds_postgresql/backupDownload.d.ts +82 -0
- package/rds_postgresql/backupDownload.js +79 -0
- package/rds_postgresql/backupDownload.js.map +1 -0
- package/rds_postgresql/backupDownloads.d.ts +94 -0
- package/rds_postgresql/backupDownloads.js +52 -0
- package/rds_postgresql/backupDownloads.js.map +1 -0
- package/rds_postgresql/backupPolicies.d.ts +33 -0
- package/rds_postgresql/backupPolicies.js +23 -0
- package/rds_postgresql/backupPolicies.js.map +1 -0
- package/rds_postgresql/backupPolicy.d.ts +160 -0
- package/rds_postgresql/backupPolicy.js +94 -0
- package/rds_postgresql/backupPolicy.js.map +1 -0
- package/rds_postgresql/dataBackup.d.ts +163 -0
- package/rds_postgresql/dataBackup.js +109 -0
- package/rds_postgresql/dataBackup.js.map +1 -0
- package/rds_postgresql/dataBackups.d.ts +212 -0
- package/rds_postgresql/dataBackups.js +66 -0
- package/rds_postgresql/dataBackups.js.map +1 -0
- package/rds_postgresql/database.d.ts +43 -0
- package/rds_postgresql/database.js +13 -0
- package/rds_postgresql/database.js.map +1 -1
- package/rds_postgresql/databaseEndpoint.d.ts +280 -0
- package/rds_postgresql/databaseEndpoint.js +129 -0
- package/rds_postgresql/databaseEndpoint.js.map +1 -0
- package/rds_postgresql/databaseEndpoints.d.ts +88 -0
- package/rds_postgresql/databaseEndpoints.js +53 -0
- package/rds_postgresql/databaseEndpoints.js.map +1 -0
- package/rds_postgresql/endpointPublicAddress.d.ts +95 -0
- package/rds_postgresql/endpointPublicAddress.js +85 -0
- package/rds_postgresql/endpointPublicAddress.js.map +1 -0
- package/rds_postgresql/engineVersionParameters.d.ts +91 -0
- package/rds_postgresql/engineVersionParameters.js +52 -0
- package/rds_postgresql/engineVersionParameters.js.map +1 -0
- package/rds_postgresql/getAllowlists.d.ts +73 -2
- package/rds_postgresql/getAllowlists.js +21 -2
- package/rds_postgresql/getAllowlists.js.map +1 -1
- package/rds_postgresql/getBackupDownloads.d.ts +92 -0
- package/rds_postgresql/getBackupDownloads.js +49 -0
- package/rds_postgresql/getBackupDownloads.js.map +1 -0
- package/rds_postgresql/getBackupPolicies.d.ts +31 -0
- package/rds_postgresql/getBackupPolicies.js +20 -0
- package/rds_postgresql/getBackupPolicies.js.map +1 -0
- package/rds_postgresql/getDataBackups.d.ts +210 -0
- package/rds_postgresql/getDataBackups.js +63 -0
- package/rds_postgresql/getDataBackups.js.map +1 -0
- package/rds_postgresql/getDatabaseEndpoints.d.ts +86 -0
- package/rds_postgresql/getDatabaseEndpoints.js +50 -0
- package/rds_postgresql/getDatabaseEndpoints.js.map +1 -0
- package/rds_postgresql/getEngineVersionParameters.d.ts +89 -0
- package/rds_postgresql/getEngineVersionParameters.js +49 -0
- package/rds_postgresql/getEngineVersionParameters.js.map +1 -0
- package/rds_postgresql/getInstanceBackupDetacheds.d.ts +167 -0
- package/rds_postgresql/getInstanceBackupDetacheds.js +62 -0
- package/rds_postgresql/getInstanceBackupDetacheds.js.map +1 -0
- package/rds_postgresql/getInstanceBackupWalLogs.d.ts +111 -0
- package/rds_postgresql/getInstanceBackupWalLogs.js +55 -0
- package/rds_postgresql/getInstanceBackupWalLogs.js.map +1 -0
- package/rds_postgresql/getInstanceFailoverLogs.d.ts +108 -0
- package/rds_postgresql/getInstanceFailoverLogs.js +55 -0
- package/rds_postgresql/getInstanceFailoverLogs.js.map +1 -0
- package/rds_postgresql/getInstanceParameterLogs.d.ts +97 -0
- package/rds_postgresql/getInstanceParameterLogs.js +52 -0
- package/rds_postgresql/getInstanceParameterLogs.js.map +1 -0
- package/rds_postgresql/getInstanceParameters.d.ts +89 -0
- package/rds_postgresql/getInstanceParameters.js +49 -0
- package/rds_postgresql/getInstanceParameters.js.map +1 -0
- package/rds_postgresql/getInstancePriceDetails.d.ts +157 -0
- package/rds_postgresql/getInstancePriceDetails.js +103 -0
- package/rds_postgresql/getInstancePriceDetails.js.map +1 -0
- package/rds_postgresql/getInstancePriceDifferences.d.ts +172 -0
- package/rds_postgresql/getInstancePriceDifferences.js +94 -0
- package/rds_postgresql/getInstancePriceDifferences.js.map +1 -0
- package/rds_postgresql/getInstanceRecoverableTimes.d.ts +75 -0
- package/rds_postgresql/getInstanceRecoverableTimes.js +46 -0
- package/rds_postgresql/getInstanceRecoverableTimes.js.map +1 -0
- package/rds_postgresql/getInstanceSpecs.d.ts +120 -0
- package/rds_postgresql/getInstanceSpecs.js +56 -0
- package/rds_postgresql/getInstanceSpecs.js.map +1 -0
- package/rds_postgresql/getInstanceSsls.d.ts +101 -0
- package/rds_postgresql/getInstanceSsls.js +56 -0
- package/rds_postgresql/getInstanceSsls.js.map +1 -0
- package/rds_postgresql/getInstanceTasks.d.ts +160 -0
- package/rds_postgresql/getInstanceTasks.js +69 -0
- package/rds_postgresql/getInstanceTasks.js.map +1 -0
- package/rds_postgresql/getInstances.d.ts +24 -0
- package/rds_postgresql/getInstances.js +2 -0
- package/rds_postgresql/getInstances.js.map +1 -1
- package/rds_postgresql/getParameterTemplateApplyDiffs.d.ts +86 -0
- package/rds_postgresql/getParameterTemplateApplyDiffs.js +49 -0
- package/rds_postgresql/getParameterTemplateApplyDiffs.js.map +1 -0
- package/rds_postgresql/getParameterTemplates.d.ts +118 -0
- package/rds_postgresql/getParameterTemplates.js +54 -0
- package/rds_postgresql/getParameterTemplates.js.map +1 -0
- package/rds_postgresql/getPlannedEvents.d.ts +178 -0
- package/rds_postgresql/getPlannedEvents.js +71 -0
- package/rds_postgresql/getPlannedEvents.js.map +1 -0
- package/rds_postgresql/getRegions.d.ts +62 -0
- package/rds_postgresql/getRegions.js +42 -0
- package/rds_postgresql/getRegions.js.map +1 -0
- package/rds_postgresql/getReplicationSlots.d.ts +153 -0
- package/rds_postgresql/getReplicationSlots.js +59 -0
- package/rds_postgresql/getReplicationSlots.js.map +1 -0
- package/rds_postgresql/getZones.d.ts +71 -0
- package/rds_postgresql/getZones.js +43 -0
- package/rds_postgresql/getZones.js.map +1 -0
- package/rds_postgresql/index.d.ts +165 -0
- package/rds_postgresql/index.js +190 -1
- package/rds_postgresql/index.js.map +1 -1
- package/rds_postgresql/instance.d.ts +178 -11
- package/rds_postgresql/instance.js +50 -5
- package/rds_postgresql/instance.js.map +1 -1
- package/rds_postgresql/instanceBackupDetacheds.d.ts +169 -0
- package/rds_postgresql/instanceBackupDetacheds.js +65 -0
- package/rds_postgresql/instanceBackupDetacheds.js.map +1 -0
- package/rds_postgresql/instanceBackupWalLogs.d.ts +113 -0
- package/rds_postgresql/instanceBackupWalLogs.js +58 -0
- package/rds_postgresql/instanceBackupWalLogs.js.map +1 -0
- package/rds_postgresql/instanceFailoverLogs.d.ts +110 -0
- package/rds_postgresql/instanceFailoverLogs.js +58 -0
- package/rds_postgresql/instanceFailoverLogs.js.map +1 -0
- package/rds_postgresql/instanceParameterLogs.d.ts +99 -0
- package/rds_postgresql/instanceParameterLogs.js +55 -0
- package/rds_postgresql/instanceParameterLogs.js.map +1 -0
- package/rds_postgresql/instanceParameters.d.ts +91 -0
- package/rds_postgresql/instanceParameters.js +52 -0
- package/rds_postgresql/instanceParameters.js.map +1 -0
- package/rds_postgresql/instancePriceDetails.d.ts +159 -0
- package/rds_postgresql/instancePriceDetails.js +106 -0
- package/rds_postgresql/instancePriceDetails.js.map +1 -0
- package/rds_postgresql/instancePriceDifferences.d.ts +174 -0
- package/rds_postgresql/instancePriceDifferences.js +97 -0
- package/rds_postgresql/instancePriceDifferences.js.map +1 -0
- package/rds_postgresql/instanceRecoverableTimes.d.ts +77 -0
- package/rds_postgresql/instanceRecoverableTimes.js +49 -0
- package/rds_postgresql/instanceRecoverableTimes.js.map +1 -0
- package/rds_postgresql/instanceSpecs.d.ts +122 -0
- package/rds_postgresql/instanceSpecs.js +59 -0
- package/rds_postgresql/instanceSpecs.js.map +1 -0
- package/rds_postgresql/instanceSsl.d.ts +107 -0
- package/rds_postgresql/instanceSsl.js +81 -0
- package/rds_postgresql/instanceSsl.js.map +1 -0
- package/rds_postgresql/instanceSsls.d.ts +103 -0
- package/rds_postgresql/instanceSsls.js +59 -0
- package/rds_postgresql/instanceSsls.js.map +1 -0
- package/rds_postgresql/instanceTasks.d.ts +162 -0
- package/rds_postgresql/instanceTasks.js +72 -0
- package/rds_postgresql/instanceTasks.js.map +1 -0
- package/rds_postgresql/instances.d.ts +24 -0
- package/rds_postgresql/instances.js +2 -0
- package/rds_postgresql/instances.js.map +1 -1
- package/rds_postgresql/parameterTemplate.d.ts +178 -0
- package/rds_postgresql/parameterTemplate.js +117 -0
- package/rds_postgresql/parameterTemplate.js.map +1 -0
- package/rds_postgresql/parameterTemplateApplyDiffs.d.ts +88 -0
- package/rds_postgresql/parameterTemplateApplyDiffs.js +52 -0
- package/rds_postgresql/parameterTemplateApplyDiffs.js.map +1 -0
- package/rds_postgresql/parameterTemplates.d.ts +120 -0
- package/rds_postgresql/parameterTemplates.js +57 -0
- package/rds_postgresql/parameterTemplates.js.map +1 -0
- package/rds_postgresql/plannedEvents.d.ts +180 -0
- package/rds_postgresql/plannedEvents.js +74 -0
- package/rds_postgresql/plannedEvents.js.map +1 -0
- package/rds_postgresql/regions.d.ts +64 -0
- package/rds_postgresql/regions.js +45 -0
- package/rds_postgresql/regions.js.map +1 -0
- package/rds_postgresql/replicationSlot.d.ts +82 -0
- package/rds_postgresql/replicationSlot.js +79 -0
- package/rds_postgresql/replicationSlot.js.map +1 -0
- package/rds_postgresql/replicationSlots.d.ts +155 -0
- package/rds_postgresql/replicationSlots.js +62 -0
- package/rds_postgresql/replicationSlots.js.map +1 -0
- package/rds_postgresql/restoreBackup.d.ts +126 -0
- package/rds_postgresql/restoreBackup.js +100 -0
- package/rds_postgresql/restoreBackup.js.map +1 -0
- package/rds_postgresql/schema.d.ts +3 -3
- package/rds_postgresql/state.d.ts +106 -0
- package/rds_postgresql/state.js +83 -0
- package/rds_postgresql/state.js.map +1 -0
- package/rds_postgresql/zones.d.ts +73 -0
- package/rds_postgresql/zones.js +46 -0
- package/rds_postgresql/zones.js.map +1 -0
- package/tos/bucket.d.ts +16 -4
- package/tos/bucket.js +3 -1
- package/tos/bucket.js.map +1 -1
- package/tos/bucketAccessMonitor.d.ts +67 -0
- package/tos/bucketAccessMonitor.js +71 -0
- package/tos/bucketAccessMonitor.js.map +1 -0
- package/tos/bucketCustomdomain.d.ts +95 -0
- package/tos/bucketCustomdomain.js +90 -0
- package/tos/bucketCustomdomain.js.map +1 -0
- package/tos/bucketEncryption.d.ts +1 -1
- package/tos/bucketEncryption.js +1 -1
- package/tos/bucketLifecycle.d.ts +158 -0
- package/tos/bucketLifecycle.js +153 -0
- package/tos/bucketLifecycle.js.map +1 -0
- package/tos/bucketLogging.d.ts +88 -0
- package/tos/bucketLogging.js +80 -0
- package/tos/bucketLogging.js.map +1 -0
- package/tos/bucketMirrorBack.d.ts +72 -0
- package/tos/bucketMirrorBack.js +67 -0
- package/tos/bucketMirrorBack.js.map +1 -0
- package/tos/bucketObjectLockConfiguration.d.ts +89 -0
- package/tos/bucketObjectLockConfiguration.js +81 -0
- package/tos/bucketObjectLockConfiguration.js.map +1 -0
- package/tos/bucketRename.d.ts +67 -0
- package/tos/bucketRename.js +71 -0
- package/tos/bucketRename.js.map +1 -0
- package/tos/bucketReplication.d.ts +130 -0
- package/tos/bucketReplication.js +118 -0
- package/tos/bucketReplication.js.map +1 -0
- package/tos/bucketRequestPayment.d.ts +67 -0
- package/tos/bucketRequestPayment.js +71 -0
- package/tos/bucketRequestPayment.js.map +1 -0
- package/tos/bucketTransferAcceleration.d.ts +67 -0
- package/tos/bucketTransferAcceleration.js +71 -0
- package/tos/bucketTransferAcceleration.js.map +1 -0
- package/tos/bucketWebsite.d.ts +138 -0
- package/tos/bucketWebsite.js +103 -0
- package/tos/bucketWebsite.js.map +1 -0
- package/tos/buckets.d.ts +24 -0
- package/tos/buckets.js +2 -0
- package/tos/buckets.js.map +1 -1
- package/tos/getBuckets.d.ts +24 -0
- package/tos/getBuckets.js +2 -0
- package/tos/getBuckets.js.map +1 -1
- package/tos/index.d.ts +33 -0
- package/tos/index.js +56 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +1062 -84
- package/types/output.d.ts +3394 -466
- package/vpc/index.d.ts +3 -0
- package/vpc/index.js +6 -1
- package/vpc/index.js.map +1 -1
- package/vpc/userCidrBlockAssociate.d.ts +91 -0
- package/vpc/userCidrBlockAssociate.js +88 -0
- package/vpc/userCidrBlockAssociate.js.map +1 -0
- package/vpc/vpc.d.ts +8 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.instancePriceDifferencesOutput = exports.instancePriceDifferences = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of rds postgresql instance price differences
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const example = volcengine.rds_postgresql.getInstancePriceDifferences({
|
|
17
|
+
* chargeInfo: {
|
|
18
|
+
* chargeType: "PostPaid",
|
|
19
|
+
* number: 1,
|
|
20
|
+
* },
|
|
21
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
22
|
+
* modifyType: "Usually",
|
|
23
|
+
* nodeInfos: [
|
|
24
|
+
* {
|
|
25
|
+
* nodeId: "postgres-72715e0d9f58",
|
|
26
|
+
* nodeSpec: "rds.postgres.2c4g",
|
|
27
|
+
* nodeType: "Primary",
|
|
28
|
+
* zoneId: "cn-beijing-a",
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* nodeId: "postgres-72715e0d9f58-iyys",
|
|
32
|
+
* nodeSpec: "rds.postgres.2c4g",
|
|
33
|
+
* nodeType: "Secondary",
|
|
34
|
+
* zoneId: "cn-beijing-a",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* storageSpace: 100,
|
|
38
|
+
* storageType: "LocalSSD",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
/** @deprecated volcengine.rds_postgresql.InstancePriceDifferences has been deprecated in favor of volcengine.rds_postgresql.getInstancePriceDifferences */
|
|
43
|
+
function instancePriceDifferences(args, opts) {
|
|
44
|
+
pulumi.log.warn("instancePriceDifferences is deprecated: volcengine.rds_postgresql.InstancePriceDifferences has been deprecated in favor of volcengine.rds_postgresql.getInstancePriceDifferences");
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invoke("volcengine:rds_postgresql/instancePriceDifferences:InstancePriceDifferences", {
|
|
47
|
+
"chargeInfo": args.chargeInfo,
|
|
48
|
+
"instanceId": args.instanceId,
|
|
49
|
+
"modifyType": args.modifyType,
|
|
50
|
+
"nodeInfos": args.nodeInfos,
|
|
51
|
+
"outputFile": args.outputFile,
|
|
52
|
+
"rollbackTime": args.rollbackTime,
|
|
53
|
+
"storageSpace": args.storageSpace,
|
|
54
|
+
"storageType": args.storageType,
|
|
55
|
+
}, opts);
|
|
56
|
+
}
|
|
57
|
+
exports.instancePriceDifferences = instancePriceDifferences;
|
|
58
|
+
/**
|
|
59
|
+
* Use this data source to query detailed information of rds postgresql instance price differences
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
65
|
+
*
|
|
66
|
+
* const example = volcengine.rds_postgresql.getInstancePriceDifferences({
|
|
67
|
+
* chargeInfo: {
|
|
68
|
+
* chargeType: "PostPaid",
|
|
69
|
+
* number: 1,
|
|
70
|
+
* },
|
|
71
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
72
|
+
* modifyType: "Usually",
|
|
73
|
+
* nodeInfos: [
|
|
74
|
+
* {
|
|
75
|
+
* nodeId: "postgres-72715e0d9f58",
|
|
76
|
+
* nodeSpec: "rds.postgres.2c4g",
|
|
77
|
+
* nodeType: "Primary",
|
|
78
|
+
* zoneId: "cn-beijing-a",
|
|
79
|
+
* },
|
|
80
|
+
* {
|
|
81
|
+
* nodeId: "postgres-72715e0d9f58-iyys",
|
|
82
|
+
* nodeSpec: "rds.postgres.2c4g",
|
|
83
|
+
* nodeType: "Secondary",
|
|
84
|
+
* zoneId: "cn-beijing-a",
|
|
85
|
+
* },
|
|
86
|
+
* ],
|
|
87
|
+
* storageSpace: 100,
|
|
88
|
+
* storageType: "LocalSSD",
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
/** @deprecated volcengine.rds_postgresql.InstancePriceDifferences has been deprecated in favor of volcengine.rds_postgresql.getInstancePriceDifferences */
|
|
93
|
+
function instancePriceDifferencesOutput(args, opts) {
|
|
94
|
+
return pulumi.output(args).apply((a) => instancePriceDifferences(a, opts));
|
|
95
|
+
}
|
|
96
|
+
exports.instancePriceDifferencesOutput = instancePriceDifferencesOutput;
|
|
97
|
+
//# sourceMappingURL=instancePriceDifferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instancePriceDifferences.js","sourceRoot":"","sources":["../../rds_postgresql/instancePriceDifferences.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,2JAA2J;AAC3J,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kLAAkL,CAAC,CAAA;IAEnM,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE;QACxG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,4DAcC;AAiED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,2JAA2J;AAC3J,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of rds postgresql instance recoverable times
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const example = volcengine.rds_postgresql.getInstanceRecoverableTimes({
|
|
12
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
/** @deprecated volcengine.rds_postgresql.InstanceRecoverableTimes has been deprecated in favor of volcengine.rds_postgresql.getInstanceRecoverableTimes */
|
|
17
|
+
export declare function instanceRecoverableTimes(args: InstanceRecoverableTimesArgs, opts?: pulumi.InvokeOptions): Promise<InstanceRecoverableTimesResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking InstanceRecoverableTimes.
|
|
20
|
+
*/
|
|
21
|
+
export interface InstanceRecoverableTimesArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The id of the Postgresql instance.
|
|
24
|
+
*/
|
|
25
|
+
instanceId: string;
|
|
26
|
+
/**
|
|
27
|
+
* File name where to save data source results.
|
|
28
|
+
*/
|
|
29
|
+
outputFile?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by InstanceRecoverableTimes.
|
|
33
|
+
*/
|
|
34
|
+
export interface InstanceRecoverableTimesResult {
|
|
35
|
+
/**
|
|
36
|
+
* The provider-assigned unique ID for this managed resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
readonly instanceId: string;
|
|
40
|
+
readonly outputFile?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The earliest and latest recoverable times of the instance (UTC time). If it is empty, it indicates that the instance is currently unrecoverable.
|
|
43
|
+
*/
|
|
44
|
+
readonly recoverableTimeInfos: outputs.rds_postgresql.InstanceRecoverableTimesRecoverableTimeInfo[];
|
|
45
|
+
/**
|
|
46
|
+
* The total count of query.
|
|
47
|
+
*/
|
|
48
|
+
readonly totalCount: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Use this data source to query detailed information of rds postgresql instance recoverable times
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
57
|
+
*
|
|
58
|
+
* const example = volcengine.rds_postgresql.getInstanceRecoverableTimes({
|
|
59
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
/** @deprecated volcengine.rds_postgresql.InstanceRecoverableTimes has been deprecated in favor of volcengine.rds_postgresql.getInstanceRecoverableTimes */
|
|
64
|
+
export declare function instanceRecoverableTimesOutput(args: InstanceRecoverableTimesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceRecoverableTimesResult>;
|
|
65
|
+
/**
|
|
66
|
+
* A collection of arguments for invoking InstanceRecoverableTimes.
|
|
67
|
+
*/
|
|
68
|
+
export interface InstanceRecoverableTimesOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The id of the Postgresql instance.
|
|
71
|
+
*/
|
|
72
|
+
instanceId: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* File name where to save data source results.
|
|
75
|
+
*/
|
|
76
|
+
outputFile?: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.instanceRecoverableTimesOutput = exports.instanceRecoverableTimes = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of rds postgresql instance recoverable times
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const example = volcengine.rds_postgresql.getInstanceRecoverableTimes({
|
|
17
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
/** @deprecated volcengine.rds_postgresql.InstanceRecoverableTimes has been deprecated in favor of volcengine.rds_postgresql.getInstanceRecoverableTimes */
|
|
22
|
+
function instanceRecoverableTimes(args, opts) {
|
|
23
|
+
pulumi.log.warn("instanceRecoverableTimes is deprecated: volcengine.rds_postgresql.InstanceRecoverableTimes has been deprecated in favor of volcengine.rds_postgresql.getInstanceRecoverableTimes");
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("volcengine:rds_postgresql/instanceRecoverableTimes:InstanceRecoverableTimes", {
|
|
26
|
+
"instanceId": args.instanceId,
|
|
27
|
+
"outputFile": args.outputFile,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.instanceRecoverableTimes = instanceRecoverableTimes;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to query detailed information of rds postgresql instance recoverable times
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
38
|
+
*
|
|
39
|
+
* const example = volcengine.rds_postgresql.getInstanceRecoverableTimes({
|
|
40
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
/** @deprecated volcengine.rds_postgresql.InstanceRecoverableTimes has been deprecated in favor of volcengine.rds_postgresql.getInstanceRecoverableTimes */
|
|
45
|
+
function instanceRecoverableTimesOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => instanceRecoverableTimes(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.instanceRecoverableTimesOutput = instanceRecoverableTimesOutput;
|
|
49
|
+
//# sourceMappingURL=instanceRecoverableTimes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instanceRecoverableTimes.js","sourceRoot":"","sources":["../../rds_postgresql/instanceRecoverableTimes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,2JAA2J;AAC3J,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kLAAkL,CAAC,CAAA;IAEnM,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE;QACxG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC;AAmCD;;;;;;;;;;;;GAYG;AACH,2JAA2J;AAC3J,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of rds postgresql instance specs
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const example = volcengine.rds_postgresql.getInstanceSpecs({
|
|
12
|
+
* dbEngineVersion: "PostgreSQL_12",
|
|
13
|
+
* specCode: "rds.postgres.32c128g",
|
|
14
|
+
* storageType: "LocalSSD",
|
|
15
|
+
* zoneId: "cn-chongqing-a",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
|
|
20
|
+
export declare function instanceSpecs(args?: InstanceSpecsArgs, opts?: pulumi.InvokeOptions): Promise<InstanceSpecsResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking InstanceSpecs.
|
|
23
|
+
*/
|
|
24
|
+
export interface InstanceSpecsArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The version of the RDS PostgreSQL instance.
|
|
27
|
+
*/
|
|
28
|
+
dbEngineVersion?: string;
|
|
29
|
+
/**
|
|
30
|
+
* File name where to save data source results.
|
|
31
|
+
*/
|
|
32
|
+
outputFile?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Instance specification code.
|
|
35
|
+
*/
|
|
36
|
+
specCode?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Storage type, fixed to LocalSSD.
|
|
39
|
+
*/
|
|
40
|
+
storageType?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Primary availability zone ID.
|
|
43
|
+
*/
|
|
44
|
+
zoneId?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A collection of values returned by InstanceSpecs.
|
|
48
|
+
*/
|
|
49
|
+
export interface InstanceSpecsResult {
|
|
50
|
+
/**
|
|
51
|
+
* The version of the RDS PostgreSQL instance.
|
|
52
|
+
*/
|
|
53
|
+
readonly dbEngineVersion?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The provider-assigned unique ID for this managed resource.
|
|
56
|
+
*/
|
|
57
|
+
readonly id: string;
|
|
58
|
+
/**
|
|
59
|
+
* Available instance specs.
|
|
60
|
+
*/
|
|
61
|
+
readonly instanceSpecs: outputs.rds_postgresql.InstanceSpecsInstanceSpec[];
|
|
62
|
+
readonly outputFile?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Instance specification code.
|
|
65
|
+
*/
|
|
66
|
+
readonly specCode?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Storage type, fixed to LocalSSD.
|
|
69
|
+
*/
|
|
70
|
+
readonly storageType?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The total count of query.
|
|
73
|
+
*/
|
|
74
|
+
readonly totalCount: number;
|
|
75
|
+
/**
|
|
76
|
+
* Supported availability zone ID.
|
|
77
|
+
*/
|
|
78
|
+
readonly zoneId?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Use this data source to query detailed information of rds postgresql instance specs
|
|
82
|
+
* ## Example Usage
|
|
83
|
+
*
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
87
|
+
*
|
|
88
|
+
* const example = volcengine.rds_postgresql.getInstanceSpecs({
|
|
89
|
+
* dbEngineVersion: "PostgreSQL_12",
|
|
90
|
+
* specCode: "rds.postgres.32c128g",
|
|
91
|
+
* storageType: "LocalSSD",
|
|
92
|
+
* zoneId: "cn-chongqing-a",
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
|
|
97
|
+
export declare function instanceSpecsOutput(args?: InstanceSpecsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceSpecsResult>;
|
|
98
|
+
/**
|
|
99
|
+
* A collection of arguments for invoking InstanceSpecs.
|
|
100
|
+
*/
|
|
101
|
+
export interface InstanceSpecsOutputArgs {
|
|
102
|
+
/**
|
|
103
|
+
* The version of the RDS PostgreSQL instance.
|
|
104
|
+
*/
|
|
105
|
+
dbEngineVersion?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* File name where to save data source results.
|
|
108
|
+
*/
|
|
109
|
+
outputFile?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Instance specification code.
|
|
112
|
+
*/
|
|
113
|
+
specCode?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Storage type, fixed to LocalSSD.
|
|
116
|
+
*/
|
|
117
|
+
storageType?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Primary availability zone ID.
|
|
120
|
+
*/
|
|
121
|
+
zoneId?: pulumi.Input<string>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.instanceSpecsOutput = exports.instanceSpecs = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of rds postgresql instance specs
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const example = volcengine.rds_postgresql.getInstanceSpecs({
|
|
17
|
+
* dbEngineVersion: "PostgreSQL_12",
|
|
18
|
+
* specCode: "rds.postgres.32c128g",
|
|
19
|
+
* storageType: "LocalSSD",
|
|
20
|
+
* zoneId: "cn-chongqing-a",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
|
|
25
|
+
function instanceSpecs(args, opts) {
|
|
26
|
+
pulumi.log.warn("instanceSpecs is deprecated: volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs");
|
|
27
|
+
args = args || {};
|
|
28
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
|
+
return pulumi.runtime.invoke("volcengine:rds_postgresql/instanceSpecs:InstanceSpecs", {
|
|
30
|
+
"dbEngineVersion": args.dbEngineVersion,
|
|
31
|
+
"outputFile": args.outputFile,
|
|
32
|
+
"specCode": args.specCode,
|
|
33
|
+
"storageType": args.storageType,
|
|
34
|
+
"zoneId": args.zoneId,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.instanceSpecs = instanceSpecs;
|
|
38
|
+
/**
|
|
39
|
+
* Use this data source to query detailed information of rds postgresql instance specs
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
45
|
+
*
|
|
46
|
+
* const example = volcengine.rds_postgresql.getInstanceSpecs({
|
|
47
|
+
* dbEngineVersion: "PostgreSQL_12",
|
|
48
|
+
* specCode: "rds.postgres.32c128g",
|
|
49
|
+
* storageType: "LocalSSD",
|
|
50
|
+
* zoneId: "cn-chongqing-a",
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
|
|
55
|
+
function instanceSpecsOutput(args, opts) {
|
|
56
|
+
return pulumi.output(args).apply((a) => instanceSpecs(a, opts));
|
|
57
|
+
}
|
|
58
|
+
exports.instanceSpecsOutput = instanceSpecsOutput;
|
|
59
|
+
//# sourceMappingURL=instanceSpecs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instanceSpecs.js","sourceRoot":"","sources":["../../rds_postgresql/instanceSpecs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,qIAAqI;AACrI,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iJAAiJ,CAAC,CAAA;IAClK,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AA8DD;;;;;;;;;;;;;;;GAeG;AACH,qIAAqI;AACrI,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage rds postgresql instance ssl
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const example = new volcengine.rds_postgresql.InstanceSsl("example", {
|
|
11
|
+
* forceEncryption: true,
|
|
12
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
13
|
+
* sslEnable: true,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* RdsPostgresqlInstanceSsl can be imported using the id, e.g.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import volcengine:rds_postgresql/instanceSsl:InstanceSsl default resource_id
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class InstanceSsl extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing InstanceSsl resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceSslState, opts?: pulumi.CustomResourceOptions): InstanceSsl;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of InstanceSsl. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is InstanceSsl;
|
|
41
|
+
/**
|
|
42
|
+
* Whether to enable force encryption. This only takes effect when the SSL encryption function of the instance is enabled.
|
|
43
|
+
*/
|
|
44
|
+
readonly forceEncryption: pulumi.Output<boolean | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* The id of the postgresql Instance.
|
|
47
|
+
*/
|
|
48
|
+
readonly instanceId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Update the validity period of the SSL certificate. This only takes effect when the SSL encryption function of the instance is enabled. It is not supported to pass in reloadSslCertificate and sslEnable at the same time.
|
|
51
|
+
*/
|
|
52
|
+
readonly reloadSslCertificate: pulumi.Output<boolean | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to enable SSL.
|
|
55
|
+
*/
|
|
56
|
+
readonly sslEnable: pulumi.Output<boolean | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a InstanceSsl resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: InstanceSslArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Input properties used for looking up and filtering InstanceSsl resources.
|
|
68
|
+
*/
|
|
69
|
+
export interface InstanceSslState {
|
|
70
|
+
/**
|
|
71
|
+
* Whether to enable force encryption. This only takes effect when the SSL encryption function of the instance is enabled.
|
|
72
|
+
*/
|
|
73
|
+
forceEncryption?: pulumi.Input<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* The id of the postgresql Instance.
|
|
76
|
+
*/
|
|
77
|
+
instanceId?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Update the validity period of the SSL certificate. This only takes effect when the SSL encryption function of the instance is enabled. It is not supported to pass in reloadSslCertificate and sslEnable at the same time.
|
|
80
|
+
*/
|
|
81
|
+
reloadSslCertificate?: pulumi.Input<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* Whether to enable SSL.
|
|
84
|
+
*/
|
|
85
|
+
sslEnable?: pulumi.Input<boolean>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a InstanceSsl resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface InstanceSslArgs {
|
|
91
|
+
/**
|
|
92
|
+
* Whether to enable force encryption. This only takes effect when the SSL encryption function of the instance is enabled.
|
|
93
|
+
*/
|
|
94
|
+
forceEncryption?: pulumi.Input<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* The id of the postgresql Instance.
|
|
97
|
+
*/
|
|
98
|
+
instanceId: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Update the validity period of the SSL certificate. This only takes effect when the SSL encryption function of the instance is enabled. It is not supported to pass in reloadSslCertificate and sslEnable at the same time.
|
|
101
|
+
*/
|
|
102
|
+
reloadSslCertificate?: pulumi.Input<boolean>;
|
|
103
|
+
/**
|
|
104
|
+
* Whether to enable SSL.
|
|
105
|
+
*/
|
|
106
|
+
sslEnable?: pulumi.Input<boolean>;
|
|
107
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.InstanceSsl = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage rds postgresql instance ssl
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const example = new volcengine.rds_postgresql.InstanceSsl("example", {
|
|
17
|
+
* forceEncryption: true,
|
|
18
|
+
* instanceId: "postgres-72715e0d9f58",
|
|
19
|
+
* sslEnable: true,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* RdsPostgresqlInstanceSsl can be imported using the id, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import volcengine:rds_postgresql/instanceSsl:InstanceSsl default resource_id
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class InstanceSsl extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing InstanceSsl resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new InstanceSsl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of InstanceSsl. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === InstanceSsl.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["forceEncryption"] = state ? state.forceEncryption : undefined;
|
|
60
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
61
|
+
resourceInputs["reloadSslCertificate"] = state ? state.reloadSslCertificate : undefined;
|
|
62
|
+
resourceInputs["sslEnable"] = state ? state.sslEnable : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'instanceId'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["forceEncryption"] = args ? args.forceEncryption : undefined;
|
|
70
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
71
|
+
resourceInputs["reloadSslCertificate"] = args ? args.reloadSslCertificate : undefined;
|
|
72
|
+
resourceInputs["sslEnable"] = args ? args.sslEnable : undefined;
|
|
73
|
+
}
|
|
74
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
75
|
+
super(InstanceSsl.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.InstanceSsl = InstanceSsl;
|
|
79
|
+
/** @internal */
|
|
80
|
+
InstanceSsl.__pulumiType = 'volcengine:rds_postgresql/instanceSsl:InstanceSsl';
|
|
81
|
+
//# sourceMappingURL=instanceSsl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instanceSsl.js","sourceRoot":"","sources":["../../rds_postgresql/instanceSsl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA2BD,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,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA1EL,kCA2EC;AA7DG,gBAAgB;AACO,wBAAY,GAAG,mDAAmD,CAAC"}
|