@volcengine/pulumi-volcenginecc 0.0.34 → 0.0.35

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.
Files changed (57) hide show
  1. package/iam/accesskey.d.ts +23 -23
  2. package/iam/accesskey.js +1 -1
  3. package/iam/getAccesskey.d.ts +10 -10
  4. package/mongodb/getInstance.d.ts +4 -0
  5. package/mongodb/getInstance.js.map +1 -1
  6. package/mongodb/instance.d.ts +3 -0
  7. package/mongodb/instance.js +2 -0
  8. package/mongodb/instance.js.map +1 -1
  9. package/package.json +1 -1
  10. package/privatelink/endpointService.d.ts +12 -0
  11. package/privatelink/endpointService.js +2 -0
  12. package/privatelink/endpointService.js.map +1 -1
  13. package/privatelink/getEndpointService.d.ts +4 -0
  14. package/privatelink/getEndpointService.js.map +1 -1
  15. package/rdspostgresql/allowList.d.ts +1 -22
  16. package/rdspostgresql/allowList.js +2 -20
  17. package/rdspostgresql/allowList.js.map +1 -1
  18. package/rdspostgresql/backup.d.ts +222 -0
  19. package/rdspostgresql/backup.js +97 -0
  20. package/rdspostgresql/backup.js.map +1 -0
  21. package/rdspostgresql/getBackup.d.ts +113 -0
  22. package/rdspostgresql/getBackup.js +28 -0
  23. package/rdspostgresql/getBackup.js.map +1 -0
  24. package/rdspostgresql/getBackups.d.ts +22 -0
  25. package/rdspostgresql/getBackups.js +24 -0
  26. package/rdspostgresql/getBackups.js.map +1 -0
  27. package/rdspostgresql/index.d.ts +9 -0
  28. package/rdspostgresql/index.js +12 -1
  29. package/rdspostgresql/index.js.map +1 -1
  30. package/redis/getParameterGroup.d.ts +77 -0
  31. package/redis/getParameterGroup.js +28 -0
  32. package/redis/getParameterGroup.js.map +1 -0
  33. package/redis/getParameterGroups.d.ts +22 -0
  34. package/redis/getParameterGroups.js +24 -0
  35. package/redis/getParameterGroups.js.map +1 -0
  36. package/redis/index.d.ts +9 -0
  37. package/redis/index.js +12 -1
  38. package/redis/index.js.map +1 -1
  39. package/redis/parameterGroup.d.ts +151 -0
  40. package/redis/parameterGroup.js +108 -0
  41. package/redis/parameterGroup.js.map +1 -0
  42. package/tos/bucketCors.d.ts +4 -11
  43. package/tos/bucketCors.js +4 -11
  44. package/tos/bucketCors.js.map +1 -1
  45. package/tos/bucketNotification.d.ts +4 -11
  46. package/tos/bucketNotification.js +4 -11
  47. package/tos/bucketNotification.js.map +1 -1
  48. package/tos/bucketRealtimeLog.d.ts +4 -11
  49. package/tos/bucketRealtimeLog.js +4 -11
  50. package/tos/bucketRealtimeLog.js.map +1 -1
  51. package/types/input.d.ts +104 -8
  52. package/types/output.d.ts +232 -8
  53. package/vefaas/function.d.ts +20 -0
  54. package/vefaas/function.js +4 -0
  55. package/vefaas/function.js.map +1 -1
  56. package/vefaas/getFunction.d.ts +8 -0
  57. package/vefaas/getFunction.js.map +1 -1
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::Redis::ParameterGroup
5
+ */
6
+ export declare function getParameterGroup(args: GetParameterGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetParameterGroupResult>;
7
+ /**
8
+ * A collection of arguments for invoking getParameterGroup.
9
+ */
10
+ export interface GetParameterGroupArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getParameterGroup.
18
+ */
19
+ export interface GetParameterGroupResult {
20
+ /**
21
+ * Parameter group creation time
22
+ */
23
+ readonly createTime: string;
24
+ /**
25
+ * Whether it is the default parameter group
26
+ */
27
+ readonly default: boolean;
28
+ /**
29
+ * Parameter group description
30
+ */
31
+ readonly description: string;
32
+ /**
33
+ * Redis engine version for the parameter group
34
+ */
35
+ readonly engineVersion: string;
36
+ /**
37
+ * Uniquely identifies the resource.
38
+ */
39
+ readonly id: string;
40
+ /**
41
+ * Parameter group name
42
+ */
43
+ readonly name: string;
44
+ /**
45
+ * List of parameter values to set
46
+ */
47
+ readonly paramValues: outputs.redis.GetParameterGroupParamValue[];
48
+ /**
49
+ * Parameter group ID, automatically generated by the system
50
+ */
51
+ readonly parameterGroupId: string;
52
+ /**
53
+ * List of parameter details in the parameter group, must be provided when modifying
54
+ */
55
+ readonly parameters: outputs.redis.GetParameterGroupParameter[];
56
+ /**
57
+ * Parameter group source. Values: System (system parameter group), User (user parameter group)
58
+ */
59
+ readonly source: string;
60
+ /**
61
+ * Parameter group update time
62
+ */
63
+ readonly updateTime: string;
64
+ }
65
+ /**
66
+ * Data Source schema for Volcengine::Redis::ParameterGroup
67
+ */
68
+ export declare function getParameterGroupOutput(args: GetParameterGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetParameterGroupResult>;
69
+ /**
70
+ * A collection of arguments for invoking getParameterGroup.
71
+ */
72
+ export interface GetParameterGroupOutputArgs {
73
+ /**
74
+ * Uniquely identifies the resource.
75
+ */
76
+ id: pulumi.Input<string>;
77
+ }
@@ -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.getParameterGroupOutput = exports.getParameterGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::Redis::ParameterGroup
10
+ */
11
+ function getParameterGroup(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:redis/getParameterGroup:getParameterGroup", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getParameterGroup = getParameterGroup;
18
+ /**
19
+ * Data Source schema for Volcengine::Redis::ParameterGroup
20
+ */
21
+ function getParameterGroupOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:redis/getParameterGroup:getParameterGroup", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getParameterGroupOutput = getParameterGroupOutput;
28
+ //# sourceMappingURL=getParameterGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParameterGroup.js","sourceRoot":"","sources":["../../redis/getParameterGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC;AA6DD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::Redis::ParameterGroup
4
+ */
5
+ export declare function getParameterGroups(opts?: pulumi.InvokeOptions): Promise<GetParameterGroupsResult>;
6
+ /**
7
+ * A collection of values returned by getParameterGroups.
8
+ */
9
+ export interface GetParameterGroupsResult {
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::Redis::ParameterGroup
21
+ */
22
+ export declare function getParameterGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetParameterGroupsResult>;
@@ -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.getParameterGroupsOutput = exports.getParameterGroups = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::Redis::ParameterGroup
10
+ */
11
+ function getParameterGroups(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:redis/getParameterGroups:getParameterGroups", {}, opts);
14
+ }
15
+ exports.getParameterGroups = getParameterGroups;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::Redis::ParameterGroup
18
+ */
19
+ function getParameterGroupsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:redis/getParameterGroups:getParameterGroups", {}, opts);
22
+ }
23
+ exports.getParameterGroupsOutput = getParameterGroupsOutput;
24
+ //# sourceMappingURL=getParameterGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParameterGroups.js","sourceRoot":"","sources":["../../redis/getParameterGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE,EACxF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC;AAeD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAiC;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE,EAC9F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4DAIC"}
package/redis/index.d.ts CHANGED
@@ -31,6 +31,15 @@ export declare const getInstanceOutput: typeof import("./getInstance").getInstan
31
31
  export { GetInstancesResult } from "./getInstances";
32
32
  export declare const getInstances: typeof import("./getInstances").getInstances;
33
33
  export declare const getInstancesOutput: typeof import("./getInstances").getInstancesOutput;
34
+ export { GetParameterGroupArgs, GetParameterGroupResult, GetParameterGroupOutputArgs } from "./getParameterGroup";
35
+ export declare const getParameterGroup: typeof import("./getParameterGroup").getParameterGroup;
36
+ export declare const getParameterGroupOutput: typeof import("./getParameterGroup").getParameterGroupOutput;
37
+ export { GetParameterGroupsResult } from "./getParameterGroups";
38
+ export declare const getParameterGroups: typeof import("./getParameterGroups").getParameterGroups;
39
+ export declare const getParameterGroupsOutput: typeof import("./getParameterGroups").getParameterGroupsOutput;
34
40
  export { InstanceArgs, InstanceState } from "./instance";
35
41
  export type Instance = import("./instance").Instance;
36
42
  export declare const Instance: typeof import("./instance").Instance;
43
+ export { ParameterGroupArgs, ParameterGroupState } from "./parameterGroup";
44
+ export type ParameterGroup = import("./parameterGroup").ParameterGroup;
45
+ export declare const ParameterGroup: typeof import("./parameterGroup").ParameterGroup;
package/redis/index.js CHANGED
@@ -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.Instance = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getEndpointPublicAddressesOutput = exports.getEndpointPublicAddresses = exports.getEndpointPublicAddressOutput = exports.getEndpointPublicAddress = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.getAccountsOutput = exports.getAccounts = exports.getAccountOutput = exports.getAccount = exports.EndpointPublicAddress = exports.AllowList = exports.Account = void 0;
5
+ exports.ParameterGroup = exports.Instance = exports.getParameterGroupsOutput = exports.getParameterGroups = exports.getParameterGroupOutput = exports.getParameterGroup = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getEndpointPublicAddressesOutput = exports.getEndpointPublicAddresses = exports.getEndpointPublicAddressOutput = exports.getEndpointPublicAddress = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.getAccountsOutput = exports.getAccounts = exports.getAccountOutput = exports.getAccount = exports.EndpointPublicAddress = exports.AllowList = exports.Account = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.Account = null;
@@ -35,8 +35,16 @@ utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require(
35
35
  exports.getInstances = null;
36
36
  exports.getInstancesOutput = null;
37
37
  utilities.lazyLoad(exports, ["getInstances", "getInstancesOutput"], () => require("./getInstances"));
38
+ exports.getParameterGroup = null;
39
+ exports.getParameterGroupOutput = null;
40
+ utilities.lazyLoad(exports, ["getParameterGroup", "getParameterGroupOutput"], () => require("./getParameterGroup"));
41
+ exports.getParameterGroups = null;
42
+ exports.getParameterGroupsOutput = null;
43
+ utilities.lazyLoad(exports, ["getParameterGroups", "getParameterGroupsOutput"], () => require("./getParameterGroups"));
38
44
  exports.Instance = null;
39
45
  utilities.lazyLoad(exports, ["Instance"], () => require("./instance"));
46
+ exports.ParameterGroup = null;
47
+ utilities.lazyLoad(exports, ["ParameterGroup"], () => require("./parameterGroup"));
40
48
  const _module = {
41
49
  version: utilities.getVersion(),
42
50
  construct: (name, type, urn) => {
@@ -49,6 +57,8 @@ const _module = {
49
57
  return new exports.EndpointPublicAddress(name, undefined, { urn });
50
58
  case "volcenginecc:redis/instance:Instance":
51
59
  return new exports.Instance(name, undefined, { urn });
60
+ case "volcenginecc:redis/parameterGroup:ParameterGroup":
61
+ return new exports.ParameterGroup(name, undefined, { urn });
52
62
  default:
53
63
  throw new Error(`unknown resource type ${type}`);
54
64
  }
@@ -58,4 +68,5 @@ pulumi.runtime.registerResourceModule("volcenginecc", "redis/account", _module);
58
68
  pulumi.runtime.registerResourceModule("volcenginecc", "redis/allowList", _module);
59
69
  pulumi.runtime.registerResourceModule("volcenginecc", "redis/endpointPublicAddress", _module);
60
70
  pulumi.runtime.registerResourceModule("volcenginecc", "redis/instance", _module);
71
+ pulumi.runtime.registerResourceModule("volcenginecc", "redis/parameterGroup", _module);
61
72
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../redis/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,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,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB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-0,0 +1,151 @@
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 Redis Edition parameter group, used to manage and apply Redis instance parameter configurations in bulk
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@pulumi/volcenginecc";
12
+ *
13
+ * const redisParameterGroupDemo = new volcenginecc.index.RedisParametergroup("RedisParameterGroupDemo", {
14
+ * engineVersion: "6.0",
15
+ * description: "用于测试的Redis 6.0自定义参数组",
16
+ * paramValues: [
17
+ * {
18
+ * value: "allkeys-lru",
19
+ * name: "maxmemory-policy",
20
+ * },
21
+ * {
22
+ * value: "300",
23
+ * name: "proxy-client-idle-timeout",
24
+ * },
25
+ * ],
26
+ * name: "test-redis6-param-group",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * ```sh
33
+ * $ pulumi import volcenginecc:redis/parameterGroup:ParameterGroup example "parameter_group_id"
34
+ * ```
35
+ */
36
+ export declare class ParameterGroup extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing ParameterGroup resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ParameterGroupState, opts?: pulumi.CustomResourceOptions): ParameterGroup;
47
+ /**
48
+ * Returns true if the given object is an instance of ParameterGroup. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj: any): obj is ParameterGroup;
52
+ /**
53
+ * Parameter group creation time
54
+ */
55
+ readonly createTime: pulumi.Output<string>;
56
+ /**
57
+ * Whether it is the default parameter group
58
+ */
59
+ readonly default: pulumi.Output<boolean>;
60
+ /**
61
+ * Parameter group description
62
+ */
63
+ readonly description: pulumi.Output<string>;
64
+ /**
65
+ * Redis engine version for the parameter group
66
+ */
67
+ readonly engineVersion: pulumi.Output<string>;
68
+ /**
69
+ * Parameter group name
70
+ */
71
+ readonly name: pulumi.Output<string>;
72
+ readonly paramValues: pulumi.Output<outputs.redis.ParameterGroupParamValue[]>;
73
+ /**
74
+ * Parameter group ID, automatically generated by the system
75
+ */
76
+ readonly parameterGroupId: pulumi.Output<string>;
77
+ readonly parameters: pulumi.Output<outputs.redis.ParameterGroupParameter[]>;
78
+ /**
79
+ * Parameter group source. Values: System (system parameter group), User (user parameter group)
80
+ */
81
+ readonly source: pulumi.Output<string>;
82
+ /**
83
+ * Parameter group update time
84
+ */
85
+ readonly updateTime: pulumi.Output<string>;
86
+ /**
87
+ * Create a ParameterGroup resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: ParameterGroupArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering ParameterGroup resources.
97
+ */
98
+ export interface ParameterGroupState {
99
+ /**
100
+ * Parameter group creation time
101
+ */
102
+ createTime?: pulumi.Input<string>;
103
+ /**
104
+ * Whether it is the default parameter group
105
+ */
106
+ default?: pulumi.Input<boolean>;
107
+ /**
108
+ * Parameter group description
109
+ */
110
+ description?: pulumi.Input<string>;
111
+ /**
112
+ * Redis engine version for the parameter group
113
+ */
114
+ engineVersion?: pulumi.Input<string>;
115
+ /**
116
+ * Parameter group name
117
+ */
118
+ name?: pulumi.Input<string>;
119
+ paramValues?: pulumi.Input<pulumi.Input<inputs.redis.ParameterGroupParamValue>[]>;
120
+ /**
121
+ * Parameter group ID, automatically generated by the system
122
+ */
123
+ parameterGroupId?: pulumi.Input<string>;
124
+ parameters?: pulumi.Input<pulumi.Input<inputs.redis.ParameterGroupParameter>[]>;
125
+ /**
126
+ * Parameter group source. Values: System (system parameter group), User (user parameter group)
127
+ */
128
+ source?: pulumi.Input<string>;
129
+ /**
130
+ * Parameter group update time
131
+ */
132
+ updateTime?: pulumi.Input<string>;
133
+ }
134
+ /**
135
+ * The set of arguments for constructing a ParameterGroup resource.
136
+ */
137
+ export interface ParameterGroupArgs {
138
+ /**
139
+ * Parameter group description
140
+ */
141
+ description?: pulumi.Input<string>;
142
+ /**
143
+ * Redis engine version for the parameter group
144
+ */
145
+ engineVersion: pulumi.Input<string>;
146
+ /**
147
+ * Parameter group name
148
+ */
149
+ name: pulumi.Input<string>;
150
+ paramValues: pulumi.Input<pulumi.Input<inputs.redis.ParameterGroupParamValue>[]>;
151
+ }
@@ -0,0 +1,108 @@
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.ParameterGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Volcano Engine Cloud Database Redis Edition parameter group, used to manage and apply Redis instance parameter configurations in bulk
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@pulumi/volcenginecc";
16
+ *
17
+ * const redisParameterGroupDemo = new volcenginecc.index.RedisParametergroup("RedisParameterGroupDemo", {
18
+ * engineVersion: "6.0",
19
+ * description: "用于测试的Redis 6.0自定义参数组",
20
+ * paramValues: [
21
+ * {
22
+ * value: "allkeys-lru",
23
+ * name: "maxmemory-policy",
24
+ * },
25
+ * {
26
+ * value: "300",
27
+ * name: "proxy-client-idle-timeout",
28
+ * },
29
+ * ],
30
+ * name: "test-redis6-param-group",
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * ```sh
37
+ * $ pulumi import volcenginecc:redis/parameterGroup:ParameterGroup example "parameter_group_id"
38
+ * ```
39
+ */
40
+ class ParameterGroup extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing ParameterGroup resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new ParameterGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of ParameterGroup. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === ParameterGroup.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
69
+ resourceInputs["default"] = state ? state.default : undefined;
70
+ resourceInputs["description"] = state ? state.description : undefined;
71
+ resourceInputs["engineVersion"] = state ? state.engineVersion : undefined;
72
+ resourceInputs["name"] = state ? state.name : undefined;
73
+ resourceInputs["paramValues"] = state ? state.paramValues : undefined;
74
+ resourceInputs["parameterGroupId"] = state ? state.parameterGroupId : undefined;
75
+ resourceInputs["parameters"] = state ? state.parameters : undefined;
76
+ resourceInputs["source"] = state ? state.source : undefined;
77
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
78
+ }
79
+ else {
80
+ const args = argsOrState;
81
+ if ((!args || args.engineVersion === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'engineVersion'");
83
+ }
84
+ if ((!args || args.name === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'name'");
86
+ }
87
+ if ((!args || args.paramValues === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'paramValues'");
89
+ }
90
+ resourceInputs["description"] = args ? args.description : undefined;
91
+ resourceInputs["engineVersion"] = args ? args.engineVersion : undefined;
92
+ resourceInputs["name"] = args ? args.name : undefined;
93
+ resourceInputs["paramValues"] = args ? args.paramValues : undefined;
94
+ resourceInputs["createTime"] = undefined /*out*/;
95
+ resourceInputs["default"] = undefined /*out*/;
96
+ resourceInputs["parameterGroupId"] = undefined /*out*/;
97
+ resourceInputs["parameters"] = undefined /*out*/;
98
+ resourceInputs["source"] = undefined /*out*/;
99
+ resourceInputs["updateTime"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ super(ParameterGroup.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.ParameterGroup = ParameterGroup;
106
+ /** @internal */
107
+ ParameterGroup.__pulumiType = 'volcenginecc:redis/parameterGroup:ParameterGroup';
108
+ //# sourceMappingURL=parameterGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameterGroup.js","sourceRoot":"","sources":["../../redis/parameterGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAA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,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA9GL,wCA+GC;AAjGG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
@@ -2,20 +2,13 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * { .Description | trimspace }
6
- *
7
- * ## Example Usage
8
- *
9
- * { tffile (printf "examples/resources/%s/tos_bucket_cors.tf" .Name)}
10
- *
11
- * { .SchemaMarkdown | trimspace }
12
- * {- if .HasImport }
5
+ * Set CORS (Cross-Origin Resource Sharing) rules for the bucket.
13
6
  *
14
7
  * ## Import
15
8
  *
16
- * { codefile "shell" .ImportFile }
17
- *
18
- * {- end }
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:tos/bucketCors:BucketCors example "bucket_name"
11
+ * ```
19
12
  */
20
13
  export declare class BucketCors extends pulumi.CustomResource {
21
14
  /**
package/tos/bucketCors.js CHANGED
@@ -6,20 +6,13 @@ exports.BucketCors = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * { .Description | trimspace }
10
- *
11
- * ## Example Usage
12
- *
13
- * { tffile (printf "examples/resources/%s/tos_bucket_cors.tf" .Name)}
14
- *
15
- * { .SchemaMarkdown | trimspace }
16
- * {- if .HasImport }
9
+ * Set CORS (Cross-Origin Resource Sharing) rules for the bucket.
17
10
  *
18
11
  * ## Import
19
12
  *
20
- * { codefile "shell" .ImportFile }
21
- *
22
- * {- end }
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:tos/bucketCors:BucketCors example "bucket_name"
15
+ * ```
23
16
  */
24
17
  class BucketCors extends pulumi.CustomResource {
25
18
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"bucketCors.js","sourceRoot":"","sources":["../../tos/bucketCors.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAgBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,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CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9DL,gCA+DC;AAjDG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
@@ -2,20 +2,13 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * { .Description | trimspace }
6
- *
7
- * ## Example Usage
8
- *
9
- * { tffile (printf "examples/resources/%s/tos_bucket_notification.tf" .Name)}
10
- *
11
- * { .SchemaMarkdown | trimspace }
12
- * {- if .HasImport }
5
+ * Set event notification rules. Use event notification to receive alerts when resources in the bucket change.
13
6
  *
14
7
  * ## Import
15
8
  *
16
- * { codefile "shell" .ImportFile }
17
- *
18
- * {- end }
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:tos/bucketNotification:BucketNotification example "bucket_name"
11
+ * ```
19
12
  */
20
13
  export declare class BucketNotification extends pulumi.CustomResource {
21
14
  /**
@@ -6,20 +6,13 @@ exports.BucketNotification = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * { .Description | trimspace }
10
- *
11
- * ## Example Usage
12
- *
13
- * { tffile (printf "examples/resources/%s/tos_bucket_notification.tf" .Name)}
14
- *
15
- * { .SchemaMarkdown | trimspace }
16
- * {- if .HasImport }
9
+ * Set event notification rules. Use event notification to receive alerts when resources in the bucket change.
17
10
  *
18
11
  * ## Import
19
12
  *
20
- * { codefile "shell" .ImportFile }
21
- *
22
- * {- end }
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:tos/bucketNotification:BucketNotification example "bucket_name"
15
+ * ```
23
16
  */
24
17
  class BucketNotification extends pulumi.CustomResource {
25
18
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"bucketNotification.js","sourceRoot":"","sources":["../../tos/bucketNotification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAgBD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;SACrF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