@volcengine/pulumi-volcenginecc 0.0.38 → 0.0.39

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.
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
5
+ */
6
+ export declare function getParameterTemplate(args: GetParameterTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetParameterTemplateResult>;
7
+ /**
8
+ * A collection of arguments for invoking getParameterTemplate.
9
+ */
10
+ export interface GetParameterTemplateArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getParameterTemplate.
18
+ */
19
+ export interface GetParameterTemplateResult {
20
+ /**
21
+ * Account ID
22
+ */
23
+ readonly accountId: string;
24
+ /**
25
+ * Parameter template creation time
26
+ */
27
+ readonly createTime: string;
28
+ /**
29
+ * Uniquely identifies the resource.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * Whether the template contains parameters that require a restart to take effect
34
+ */
35
+ readonly needRestart: boolean;
36
+ /**
37
+ * Number of parameters included in the template
38
+ */
39
+ readonly parameterNum: number;
40
+ /**
41
+ * Template category
42
+ */
43
+ readonly templateCategory: string;
44
+ /**
45
+ * Parameter template description information
46
+ */
47
+ readonly templateDesc: string;
48
+ /**
49
+ * Parameter template ID, automatically generated by the system
50
+ */
51
+ readonly templateId: string;
52
+ /**
53
+ * Parameter template name
54
+ */
55
+ readonly templateName: string;
56
+ /**
57
+ * List of parameters included in the parameter template
58
+ */
59
+ readonly templateParams: outputs.rdspostgresql.GetParameterTemplateTemplateParam[];
60
+ /**
61
+ * Parameter template source type. Options: System (system template), User (user template)
62
+ */
63
+ readonly templateSource: string;
64
+ /**
65
+ * Database type of the parameter template. Value: PostgreSQL
66
+ */
67
+ readonly templateType: string;
68
+ /**
69
+ * Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
70
+ */
71
+ readonly templateTypeVersion: string;
72
+ /**
73
+ * Last modified time of the parameter template
74
+ */
75
+ readonly updateTime: string;
76
+ }
77
+ /**
78
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
79
+ */
80
+ export declare function getParameterTemplateOutput(args: GetParameterTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetParameterTemplateResult>;
81
+ /**
82
+ * A collection of arguments for invoking getParameterTemplate.
83
+ */
84
+ export interface GetParameterTemplateOutputArgs {
85
+ /**
86
+ * Uniquely identifies the resource.
87
+ */
88
+ id: pulumi.Input<string>;
89
+ }
@@ -0,0 +1,28 @@
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.getParameterTemplateOutput = exports.getParameterTemplate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
10
+ */
11
+ function getParameterTemplate(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:rdspostgresql/getParameterTemplate:getParameterTemplate", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getParameterTemplate = getParameterTemplate;
18
+ /**
19
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
20
+ */
21
+ function getParameterTemplateOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:rdspostgresql/getParameterTemplate:getParameterTemplate", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getParameterTemplateOutput = getParameterTemplateOutput;
28
+ //# sourceMappingURL=getParameterTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParameterTemplate.js","sourceRoot":"","sources":["../../rdspostgresql/getParameterTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAyED;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sEAAsE,EAAE;QACvG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
4
+ */
5
+ export declare function getParameterTemplates(opts?: pulumi.InvokeOptions): Promise<GetParameterTemplatesResult>;
6
+ /**
7
+ * A collection of values returned by getParameterTemplates.
8
+ */
9
+ export interface GetParameterTemplatesResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
21
+ */
22
+ export declare function getParameterTemplatesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetParameterTemplatesResult>;
@@ -0,0 +1,24 @@
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.getParameterTemplatesOutput = exports.getParameterTemplates = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
10
+ */
11
+ function getParameterTemplates(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:rdspostgresql/getParameterTemplates:getParameterTemplates", {}, opts);
14
+ }
15
+ exports.getParameterTemplates = getParameterTemplates;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
18
+ */
19
+ function getParameterTemplatesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:rdspostgresql/getParameterTemplates:getParameterTemplates", {}, opts);
22
+ }
23
+ exports.getParameterTemplatesOutput = getParameterTemplatesOutput;
24
+ //# sourceMappingURL=getParameterTemplates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParameterTemplates.js","sourceRoot":"","sources":["../../rdspostgresql/getParameterTemplates.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA2B;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE,EACtG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC;AAeD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAiC;IACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE,EAC5G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kEAIC"}
@@ -49,6 +49,12 @@ export declare const getInstanceOutput: typeof import("./getInstance").getInstan
49
49
  export { GetInstancesResult } from "./getInstances";
50
50
  export declare const getInstances: typeof import("./getInstances").getInstances;
51
51
  export declare const getInstancesOutput: typeof import("./getInstances").getInstancesOutput;
52
+ export { GetParameterTemplateArgs, GetParameterTemplateResult, GetParameterTemplateOutputArgs } from "./getParameterTemplate";
53
+ export declare const getParameterTemplate: typeof import("./getParameterTemplate").getParameterTemplate;
54
+ export declare const getParameterTemplateOutput: typeof import("./getParameterTemplate").getParameterTemplateOutput;
55
+ export { GetParameterTemplatesResult } from "./getParameterTemplates";
56
+ export declare const getParameterTemplates: typeof import("./getParameterTemplates").getParameterTemplates;
57
+ export declare const getParameterTemplatesOutput: typeof import("./getParameterTemplates").getParameterTemplatesOutput;
52
58
  export { GetSchemaArgs, GetSchemaResult, GetSchemaOutputArgs } from "./getSchema";
53
59
  export declare const getSchema: typeof import("./getSchema").getSchema;
54
60
  export declare const getSchemaOutput: typeof import("./getSchema").getSchemaOutput;
@@ -58,6 +64,9 @@ export declare const getSchemasOutput: typeof import("./getSchemas").getSchemasO
58
64
  export { InstanceArgs, InstanceState } from "./instance";
59
65
  export type Instance = import("./instance").Instance;
60
66
  export declare const Instance: typeof import("./instance").Instance;
67
+ export { ParameterTemplateArgs, ParameterTemplateState } from "./parameterTemplate";
68
+ export type ParameterTemplate = import("./parameterTemplate").ParameterTemplate;
69
+ export declare const ParameterTemplate: typeof import("./parameterTemplate").ParameterTemplate;
61
70
  export { SchemaArgs, SchemaState } from "./schema";
62
71
  export type Schema = import("./schema").Schema;
63
72
  export declare const Schema: typeof import("./schema").Schema;
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.Schema = exports.Instance = exports.getSchemasOutput = exports.getSchemas = exports.getSchemaOutput = exports.getSchema = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getDbEndpointsOutput = exports.getDbEndpoints = exports.getDbEndpointOutput = exports.getDbEndpoint = exports.getDbAccountsOutput = exports.getDbAccounts = exports.getDbAccountOutput = exports.getDbAccount = exports.getDatabasesOutput = exports.getDatabases = exports.getDatabaseOutput = exports.getDatabase = exports.getBackupsOutput = exports.getBackups = exports.getBackupOutput = exports.getBackup = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.DbEndpoint = exports.DbAccount = exports.Database = exports.Backup = exports.AllowList = void 0;
5
+ exports.Schema = exports.ParameterTemplate = exports.Instance = exports.getSchemasOutput = exports.getSchemas = exports.getSchemaOutput = exports.getSchema = exports.getParameterTemplatesOutput = exports.getParameterTemplates = exports.getParameterTemplateOutput = exports.getParameterTemplate = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getDbEndpointsOutput = exports.getDbEndpoints = exports.getDbEndpointOutput = exports.getDbEndpoint = exports.getDbAccountsOutput = exports.getDbAccounts = exports.getDbAccountOutput = exports.getDbAccount = exports.getDatabasesOutput = exports.getDatabases = exports.getDatabaseOutput = exports.getDatabase = exports.getBackupsOutput = exports.getBackups = exports.getBackupOutput = exports.getBackup = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.DbEndpoint = exports.DbAccount = exports.Database = exports.Backup = exports.AllowList = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AllowList = null;
@@ -51,6 +51,12 @@ utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require(
51
51
  exports.getInstances = null;
52
52
  exports.getInstancesOutput = null;
53
53
  utilities.lazyLoad(exports, ["getInstances", "getInstancesOutput"], () => require("./getInstances"));
54
+ exports.getParameterTemplate = null;
55
+ exports.getParameterTemplateOutput = null;
56
+ utilities.lazyLoad(exports, ["getParameterTemplate", "getParameterTemplateOutput"], () => require("./getParameterTemplate"));
57
+ exports.getParameterTemplates = null;
58
+ exports.getParameterTemplatesOutput = null;
59
+ utilities.lazyLoad(exports, ["getParameterTemplates", "getParameterTemplatesOutput"], () => require("./getParameterTemplates"));
54
60
  exports.getSchema = null;
55
61
  exports.getSchemaOutput = null;
56
62
  utilities.lazyLoad(exports, ["getSchema", "getSchemaOutput"], () => require("./getSchema"));
@@ -59,6 +65,8 @@ exports.getSchemasOutput = null;
59
65
  utilities.lazyLoad(exports, ["getSchemas", "getSchemasOutput"], () => require("./getSchemas"));
60
66
  exports.Instance = null;
61
67
  utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
68
+ exports.ParameterTemplate = null;
69
+ utilities.lazyLoad(exports, ["ParameterTemplate"], () => require("./parameterTemplate"));
62
70
  exports.Schema = null;
63
71
  utilities.lazyLoad(exports, ["Schema"], () => require("./schema"));
64
72
  const _module = {
@@ -77,6 +85,8 @@ const _module = {
77
85
  return new exports.DbEndpoint(name, undefined, { urn });
78
86
  case "volcenginecc:rdspostgresql/instance:Instance":
79
87
  return new exports.Instance(name, undefined, { urn });
88
+ case "volcenginecc:rdspostgresql/parameterTemplate:ParameterTemplate":
89
+ return new exports.ParameterTemplate(name, undefined, { urn });
80
90
  case "volcenginecc:rdspostgresql/schema:Schema":
81
91
  return new exports.Schema(name, undefined, { urn });
82
92
  default:
@@ -90,5 +100,6 @@ pulumi.runtime.registerResourceModule("volcenginecc", "rdspostgresql/database",
90
100
  pulumi.runtime.registerResourceModule("volcenginecc", "rdspostgresql/dbAccount", _module);
91
101
  pulumi.runtime.registerResourceModule("volcenginecc", "rdspostgresql/dbEndpoint", _module);
92
102
  pulumi.runtime.registerResourceModule("volcenginecc", "rdspostgresql/instance", _module);
103
+ pulumi.runtime.registerResourceModule("volcenginecc", "rdspostgresql/parameterTemplate", _module);
93
104
  pulumi.runtime.registerResourceModule("volcenginecc", "rdspostgresql/schema", _module);
94
105
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../rdspostgresql/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CA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IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA;AACjG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,186 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Volcano Engine Cloud Database PostgreSQL parameter template, used for managing and batch applying PostgreSQL instance parameter configurations
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
12
+ *
13
+ * const rDSPostgreSQLParameterTemplatDdemo = new volcenginecc.rdspostgresql.ParameterTemplate("RDSPostgreSQLParameterTemplatDdemo", {
14
+ * templateName: "全部测试参数模板",
15
+ * templateType: "PostgreSQL",
16
+ * templateTypeVersion: "PostgreSQL_13",
17
+ * templateDesc: "全部测试参数模板,描述场景",
18
+ * templateParams: [
19
+ * {
20
+ * name: "auto_explain.log_analyze",
21
+ * value: "on",
22
+ * },
23
+ * {
24
+ * name: "auto_explain.log_buffers",
25
+ * value: "off",
26
+ * },
27
+ * ],
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * ```sh
34
+ * $ pulumi import volcenginecc:rdspostgresql/parameterTemplate:ParameterTemplate example "template_id"
35
+ * ```
36
+ */
37
+ export declare class ParameterTemplate extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing ParameterTemplate resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ParameterTemplateState, opts?: pulumi.CustomResourceOptions): ParameterTemplate;
48
+ /**
49
+ * Returns true if the given object is an instance of ParameterTemplate. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj: any): obj is ParameterTemplate;
53
+ /**
54
+ * Account ID
55
+ */
56
+ readonly accountId: pulumi.Output<string>;
57
+ /**
58
+ * Parameter template creation time
59
+ */
60
+ readonly createTime: pulumi.Output<string>;
61
+ /**
62
+ * Whether the template contains parameters that require a restart to take effect
63
+ */
64
+ readonly needRestart: pulumi.Output<boolean>;
65
+ /**
66
+ * Number of parameters included in the template
67
+ */
68
+ readonly parameterNum: pulumi.Output<number>;
69
+ /**
70
+ * Template category
71
+ */
72
+ readonly templateCategory: pulumi.Output<string>;
73
+ /**
74
+ * Parameter template description information
75
+ */
76
+ readonly templateDesc: pulumi.Output<string>;
77
+ /**
78
+ * Parameter template ID, automatically generated by the system
79
+ */
80
+ readonly templateId: pulumi.Output<string>;
81
+ /**
82
+ * Parameter template name
83
+ */
84
+ readonly templateName: pulumi.Output<string>;
85
+ readonly templateParams: pulumi.Output<outputs.rdspostgresql.ParameterTemplateTemplateParam[]>;
86
+ /**
87
+ * Parameter template source type. Options: System (system template), User (user template)
88
+ */
89
+ readonly templateSource: pulumi.Output<string>;
90
+ /**
91
+ * Database type of the parameter template. Value: PostgreSQL
92
+ */
93
+ readonly templateType: pulumi.Output<string>;
94
+ /**
95
+ * Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
96
+ */
97
+ readonly templateTypeVersion: pulumi.Output<string>;
98
+ /**
99
+ * Last modified time of the parameter template
100
+ */
101
+ readonly updateTime: pulumi.Output<string>;
102
+ /**
103
+ * Create a ParameterTemplate resource with the given unique name, arguments, and options.
104
+ *
105
+ * @param name The _unique_ name of the resource.
106
+ * @param args The arguments to use to populate this resource's properties.
107
+ * @param opts A bag of options that control this resource's behavior.
108
+ */
109
+ constructor(name: string, args: ParameterTemplateArgs, opts?: pulumi.CustomResourceOptions);
110
+ }
111
+ /**
112
+ * Input properties used for looking up and filtering ParameterTemplate resources.
113
+ */
114
+ export interface ParameterTemplateState {
115
+ /**
116
+ * Account ID
117
+ */
118
+ accountId?: pulumi.Input<string>;
119
+ /**
120
+ * Parameter template creation time
121
+ */
122
+ createTime?: pulumi.Input<string>;
123
+ /**
124
+ * Whether the template contains parameters that require a restart to take effect
125
+ */
126
+ needRestart?: pulumi.Input<boolean>;
127
+ /**
128
+ * Number of parameters included in the template
129
+ */
130
+ parameterNum?: pulumi.Input<number>;
131
+ /**
132
+ * Template category
133
+ */
134
+ templateCategory?: pulumi.Input<string>;
135
+ /**
136
+ * Parameter template description information
137
+ */
138
+ templateDesc?: pulumi.Input<string>;
139
+ /**
140
+ * Parameter template ID, automatically generated by the system
141
+ */
142
+ templateId?: pulumi.Input<string>;
143
+ /**
144
+ * Parameter template name
145
+ */
146
+ templateName?: pulumi.Input<string>;
147
+ templateParams?: pulumi.Input<pulumi.Input<inputs.rdspostgresql.ParameterTemplateTemplateParam>[]>;
148
+ /**
149
+ * Parameter template source type. Options: System (system template), User (user template)
150
+ */
151
+ templateSource?: pulumi.Input<string>;
152
+ /**
153
+ * Database type of the parameter template. Value: PostgreSQL
154
+ */
155
+ templateType?: pulumi.Input<string>;
156
+ /**
157
+ * Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
158
+ */
159
+ templateTypeVersion?: pulumi.Input<string>;
160
+ /**
161
+ * Last modified time of the parameter template
162
+ */
163
+ updateTime?: pulumi.Input<string>;
164
+ }
165
+ /**
166
+ * The set of arguments for constructing a ParameterTemplate resource.
167
+ */
168
+ export interface ParameterTemplateArgs {
169
+ /**
170
+ * Parameter template description information
171
+ */
172
+ templateDesc?: pulumi.Input<string>;
173
+ /**
174
+ * Parameter template name
175
+ */
176
+ templateName: pulumi.Input<string>;
177
+ templateParams: pulumi.Input<pulumi.Input<inputs.rdspostgresql.ParameterTemplateTemplateParam>[]>;
178
+ /**
179
+ * Database type of the parameter template. Value: PostgreSQL
180
+ */
181
+ templateType: pulumi.Input<string>;
182
+ /**
183
+ * Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
184
+ */
185
+ templateTypeVersion: pulumi.Input<string>;
186
+ }
@@ -0,0 +1,118 @@
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.ParameterTemplate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Volcano Engine Cloud Database PostgreSQL parameter template, used for managing and batch applying PostgreSQL instance parameter configurations
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const rDSPostgreSQLParameterTemplatDdemo = new volcenginecc.rdspostgresql.ParameterTemplate("RDSPostgreSQLParameterTemplatDdemo", {
18
+ * templateName: "全部测试参数模板",
19
+ * templateType: "PostgreSQL",
20
+ * templateTypeVersion: "PostgreSQL_13",
21
+ * templateDesc: "全部测试参数模板,描述场景",
22
+ * templateParams: [
23
+ * {
24
+ * name: "auto_explain.log_analyze",
25
+ * value: "on",
26
+ * },
27
+ * {
28
+ * name: "auto_explain.log_buffers",
29
+ * value: "off",
30
+ * },
31
+ * ],
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * ```sh
38
+ * $ pulumi import volcenginecc:rdspostgresql/parameterTemplate:ParameterTemplate example "template_id"
39
+ * ```
40
+ */
41
+ class ParameterTemplate extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing ParameterTemplate resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new ParameterTemplate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of ParameterTemplate. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === ParameterTemplate.__pulumiType;
63
+ }
64
+ constructor(name, argsOrState, opts) {
65
+ let resourceInputs = {};
66
+ opts = opts || {};
67
+ if (opts.id) {
68
+ const state = argsOrState;
69
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
70
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
71
+ resourceInputs["needRestart"] = state ? state.needRestart : undefined;
72
+ resourceInputs["parameterNum"] = state ? state.parameterNum : undefined;
73
+ resourceInputs["templateCategory"] = state ? state.templateCategory : undefined;
74
+ resourceInputs["templateDesc"] = state ? state.templateDesc : undefined;
75
+ resourceInputs["templateId"] = state ? state.templateId : undefined;
76
+ resourceInputs["templateName"] = state ? state.templateName : undefined;
77
+ resourceInputs["templateParams"] = state ? state.templateParams : undefined;
78
+ resourceInputs["templateSource"] = state ? state.templateSource : undefined;
79
+ resourceInputs["templateType"] = state ? state.templateType : undefined;
80
+ resourceInputs["templateTypeVersion"] = state ? state.templateTypeVersion : undefined;
81
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
82
+ }
83
+ else {
84
+ const args = argsOrState;
85
+ if ((!args || args.templateName === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'templateName'");
87
+ }
88
+ if ((!args || args.templateParams === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'templateParams'");
90
+ }
91
+ if ((!args || args.templateType === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'templateType'");
93
+ }
94
+ if ((!args || args.templateTypeVersion === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'templateTypeVersion'");
96
+ }
97
+ resourceInputs["templateDesc"] = args ? args.templateDesc : undefined;
98
+ resourceInputs["templateName"] = args ? args.templateName : undefined;
99
+ resourceInputs["templateParams"] = args ? args.templateParams : undefined;
100
+ resourceInputs["templateType"] = args ? args.templateType : undefined;
101
+ resourceInputs["templateTypeVersion"] = args ? args.templateTypeVersion : undefined;
102
+ resourceInputs["accountId"] = undefined /*out*/;
103
+ resourceInputs["createTime"] = undefined /*out*/;
104
+ resourceInputs["needRestart"] = undefined /*out*/;
105
+ resourceInputs["parameterNum"] = undefined /*out*/;
106
+ resourceInputs["templateCategory"] = undefined /*out*/;
107
+ resourceInputs["templateId"] = undefined /*out*/;
108
+ resourceInputs["templateSource"] = undefined /*out*/;
109
+ resourceInputs["updateTime"] = undefined /*out*/;
110
+ }
111
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
112
+ super(ParameterTemplate.__pulumiType, name, resourceInputs, opts);
113
+ }
114
+ }
115
+ exports.ParameterTemplate = ParameterTemplate;
116
+ /** @internal */
117
+ ParameterTemplate.__pulumiType = 'volcenginecc:rdspostgresql/parameterTemplate:ParameterTemplate';
118
+ //# sourceMappingURL=parameterTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameterTemplate.js","sourceRoot":"","sources":["../../rdspostgresql/parameterTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA4DD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAA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I,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtIL,8CAuIC;AAzHG,gBAAgB;AACO,8BAAY,GAAG,gEAAgE,CAAC"}
@@ -66,11 +66,11 @@ export interface GetInstanceResult {
66
66
  */
67
67
  readonly dataLayout: string;
68
68
  /**
69
- * Enable or disable instance deletion protection.
69
+ * Enable or disable instance deletion protection. disabled: Off. enabled: On.
70
70
  */
71
71
  readonly deletionProtection: string;
72
72
  /**
73
- * Database version number.
73
+ * Database version number. Valid values: 5.0: Version 5.0. 6.0: Version 6.0. 7.0: Version 7.0.
74
74
  */
75
75
  readonly engineVersion: string;
76
76
  /**
@@ -106,7 +106,7 @@ export interface GetInstanceResult {
106
106
  */
107
107
  readonly maxConnections: number;
108
108
  /**
109
- * Set the deployment scheme for the instance's availability zone.
109
+ * Set the instance's availability zone deployment scheme. Valid values: enabled: Multi-availability zone deployment. disabled: Single availability zone deployment.
110
110
  */
111
111
  readonly multiAz: string;
112
112
  /**
@@ -154,7 +154,11 @@ export interface GetInstanceResult {
154
154
  */
155
155
  readonly reserveAdditionalBandwidth: boolean;
156
156
  /**
157
- * Service type of the instance
157
+ * Restart instance? Only instances with the status Running support restart operations. During the restart process, access to some services may be temporarily affected. Proceed with caution. It is recommended to restart during off-peak hours and ensure your application supports automatic reconnection.
158
+ */
159
+ readonly restartInstance: boolean;
160
+ /**
161
+ * Instance service type. Valid values: Basic: Community Edition. Enterprise: Enterprise Edition.
158
162
  */
159
163
  readonly serviceType: string;
160
164
  /**
@@ -170,7 +174,7 @@ export interface GetInstanceResult {
170
174
  */
171
175
  readonly shardedCluster: number;
172
176
  /**
173
- * Service type of the instance. Value options: Basic (default): Community Edition; Enterprise: Enterprise Edition.
177
+ * Current status of the instance.
174
178
  */
175
179
  readonly status: string;
176
180
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../redis/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AA6MD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAA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