@volcengine/pulumi-volcenginecc 0.0.33 → 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.
- package/iam/accesskey.d.ts +23 -23
- package/iam/accesskey.js +1 -1
- package/iam/getAccesskey.d.ts +10 -10
- package/mongodb/getInstance.d.ts +4 -0
- package/mongodb/getInstance.js.map +1 -1
- package/mongodb/instance.d.ts +3 -0
- package/mongodb/instance.js +2 -0
- package/mongodb/instance.js.map +1 -1
- package/package.json +1 -1
- package/privatelink/endpointService.d.ts +12 -0
- package/privatelink/endpointService.js +2 -0
- package/privatelink/endpointService.js.map +1 -1
- package/privatelink/getEndpointService.d.ts +4 -0
- package/privatelink/getEndpointService.js.map +1 -1
- package/privatezone/getRecord.d.ts +5 -0
- package/privatezone/getRecord.js.map +1 -1
- package/privatezone/record.d.ts +4 -0
- package/privatezone/record.js +2 -0
- package/privatezone/record.js.map +1 -1
- package/rdsmysql/getParameterTemplate.d.ts +97 -0
- package/rdsmysql/getParameterTemplate.js +28 -0
- package/rdsmysql/getParameterTemplate.js.map +1 -0
- package/rdsmysql/getParameterTemplates.d.ts +22 -0
- package/rdsmysql/getParameterTemplates.js +24 -0
- package/rdsmysql/getParameterTemplates.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +12 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdsmysql/parameterTemplate.d.ts +186 -0
- package/rdsmysql/parameterTemplate.js +92 -0
- package/rdsmysql/parameterTemplate.js.map +1 -0
- package/rdspostgresql/allowList.d.ts +1 -22
- package/rdspostgresql/allowList.js +2 -20
- package/rdspostgresql/allowList.js.map +1 -1
- package/rdspostgresql/backup.d.ts +222 -0
- package/rdspostgresql/backup.js +97 -0
- package/rdspostgresql/backup.js.map +1 -0
- package/rdspostgresql/getBackup.d.ts +113 -0
- package/rdspostgresql/getBackup.js +28 -0
- package/rdspostgresql/getBackup.js.map +1 -0
- package/rdspostgresql/getBackups.d.ts +22 -0
- package/rdspostgresql/getBackups.js +24 -0
- package/rdspostgresql/getBackups.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/redis/getInstance.d.ts +8 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/getParameterGroup.d.ts +77 -0
- package/redis/getParameterGroup.js +28 -0
- package/redis/getParameterGroup.js.map +1 -0
- package/redis/getParameterGroups.d.ts +22 -0
- package/redis/getParameterGroups.js +24 -0
- package/redis/getParameterGroups.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.js +12 -1
- package/redis/index.js.map +1 -1
- package/redis/instance.d.ts +47 -18
- package/redis/instance.js +27 -18
- package/redis/instance.js.map +1 -1
- package/redis/parameterGroup.d.ts +151 -0
- package/redis/parameterGroup.js +108 -0
- package/redis/parameterGroup.js.map +1 -0
- package/tos/bucketCors.d.ts +62 -0
- package/tos/bucketCors.js +66 -0
- package/tos/bucketCors.js.map +1 -0
- package/tos/bucketNotification.d.ts +62 -0
- package/tos/bucketNotification.js +63 -0
- package/tos/bucketNotification.js.map +1 -0
- package/tos/bucketRealtimeLog.d.ts +71 -0
- package/tos/bucketRealtimeLog.js +66 -0
- package/tos/bucketRealtimeLog.js.map +1 -0
- package/tos/getBucketCors.d.ts +45 -0
- package/tos/getBucketCors.js +28 -0
- package/tos/getBucketCors.js.map +1 -0
- package/tos/getBucketNotification.d.ts +45 -0
- package/tos/getBucketNotification.js +28 -0
- package/tos/getBucketNotification.js.map +1 -0
- package/tos/getBucketNotifications.d.ts +22 -0
- package/tos/getBucketNotifications.js +24 -0
- package/tos/getBucketNotifications.js.map +1 -0
- package/tos/getBucketRealtimeLog.d.ts +45 -0
- package/tos/getBucketRealtimeLog.js +28 -0
- package/tos/getBucketRealtimeLog.js.map +1 -0
- package/tos/getBucketRealtimeLogs.d.ts +22 -0
- package/tos/getBucketRealtimeLogs.js +24 -0
- package/tos/getBucketRealtimeLogs.js.map +1 -0
- package/tos/index.d.ts +24 -0
- package/tos/index.js +31 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +286 -8
- package/types/output.d.ts +628 -8
- package/vefaas/function.d.ts +20 -0
- package/vefaas/function.js +4 -0
- package/vefaas/function.js.map +1 -1
- package/vefaas/getFunction.d.ts +8 -0
- package/vefaas/getFunction.js.map +1 -1
|
@@ -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,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
|
4
|
+
/**
|
|
5
|
+
* Set CORS (Cross-Origin Resource Sharing) rules for the bucket.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:tos/bucketCors:BucketCors example "bucket_name"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class BucketCors extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing BucketCors resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketCorsState, opts?: pulumi.CustomResourceOptions): BucketCors;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of BucketCors. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is BucketCors;
|
|
29
|
+
/**
|
|
30
|
+
* Bucket name.
|
|
31
|
+
*/
|
|
32
|
+
readonly bucketName: pulumi.Output<string>;
|
|
33
|
+
readonly corsRules: pulumi.Output<outputs.tos.BucketCorsCorsRule[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a BucketCors resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: BucketCorsArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Input properties used for looking up and filtering BucketCors resources.
|
|
45
|
+
*/
|
|
46
|
+
export interface BucketCorsState {
|
|
47
|
+
/**
|
|
48
|
+
* Bucket name.
|
|
49
|
+
*/
|
|
50
|
+
bucketName?: pulumi.Input<string>;
|
|
51
|
+
corsRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketCorsCorsRule>[]>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a BucketCors resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface BucketCorsArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Bucket name.
|
|
59
|
+
*/
|
|
60
|
+
bucketName: pulumi.Input<string>;
|
|
61
|
+
corsRules: pulumi.Input<pulumi.Input<inputs.tos.BucketCorsCorsRule>[]>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.BucketCors = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Set CORS (Cross-Origin Resource Sharing) rules for the bucket.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:tos/bucketCors:BucketCors example "bucket_name"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class BucketCors extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing BucketCors resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new BucketCors(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of BucketCors. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === BucketCors.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
46
|
+
resourceInputs["corsRules"] = state ? state.corsRules : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'bucketName'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.corsRules === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'corsRules'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
57
|
+
resourceInputs["corsRules"] = args ? args.corsRules : undefined;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
super(BucketCors.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.BucketCors = BucketCors;
|
|
64
|
+
/** @internal */
|
|
65
|
+
BucketCors.__pulumiType = 'volcenginecc:tos/bucketCors:BucketCors';
|
|
66
|
+
//# sourceMappingURL=bucketCors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketCors.js","sourceRoot":"","sources":["../../tos/bucketCors.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;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,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,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,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,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"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Set event notification rules. Use event notification to receive alerts when resources in the bucket change.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:tos/bucketNotification:BucketNotification example "bucket_name"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class BucketNotification extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing BucketNotification resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketNotificationState, opts?: pulumi.CustomResourceOptions): BucketNotification;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of BucketNotification. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is BucketNotification;
|
|
29
|
+
/**
|
|
30
|
+
* Bucket name.
|
|
31
|
+
*/
|
|
32
|
+
readonly bucketName: pulumi.Output<string>;
|
|
33
|
+
readonly notificationRules: pulumi.Output<outputs.tos.BucketNotificationNotificationRule[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a BucketNotification resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: BucketNotificationArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Input properties used for looking up and filtering BucketNotification resources.
|
|
45
|
+
*/
|
|
46
|
+
export interface BucketNotificationState {
|
|
47
|
+
/**
|
|
48
|
+
* Bucket name.
|
|
49
|
+
*/
|
|
50
|
+
bucketName?: pulumi.Input<string>;
|
|
51
|
+
notificationRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRule>[]>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a BucketNotification resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface BucketNotificationArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Bucket name.
|
|
59
|
+
*/
|
|
60
|
+
bucketName: pulumi.Input<string>;
|
|
61
|
+
notificationRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRule>[]>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.BucketNotification = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Set event notification rules. Use event notification to receive alerts when resources in the bucket change.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:tos/bucketNotification:BucketNotification example "bucket_name"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class BucketNotification extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing BucketNotification resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new BucketNotification(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of BucketNotification. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === BucketNotification.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
46
|
+
resourceInputs["notificationRules"] = state ? state.notificationRules : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'bucketName'");
|
|
52
|
+
}
|
|
53
|
+
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
54
|
+
resourceInputs["notificationRules"] = args ? args.notificationRules : undefined;
|
|
55
|
+
}
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
super(BucketNotification.__pulumiType, name, resourceInputs, opts);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.BucketNotification = BucketNotification;
|
|
61
|
+
/** @internal */
|
|
62
|
+
BucketNotification.__pulumiType = 'volcenginecc:tos/bucketNotification:BucketNotification';
|
|
63
|
+
//# sourceMappingURL=bucketNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketNotification.js","sourceRoot":"","sources":["../../tos/bucketNotification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EA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AAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA3DL,gDA4DC;AA9CG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Log analysis feature
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:tos/bucketRealtimeLog:BucketRealtimeLog example "bucket_name"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class BucketRealtimeLog extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing BucketRealtimeLog resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketRealtimeLogState, opts?: pulumi.CustomResourceOptions): BucketRealtimeLog;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of BucketRealtimeLog. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is BucketRealtimeLog;
|
|
29
|
+
/**
|
|
30
|
+
* Bucket name
|
|
31
|
+
*/
|
|
32
|
+
readonly bucketName: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Log analysis feature for the bucket
|
|
35
|
+
*/
|
|
36
|
+
readonly realTimeLog: pulumi.Output<outputs.tos.BucketRealtimeLogRealTimeLog>;
|
|
37
|
+
/**
|
|
38
|
+
* Create a BucketRealtimeLog resource with the given unique name, arguments, and options.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resource.
|
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
43
|
+
*/
|
|
44
|
+
constructor(name: string, args: BucketRealtimeLogArgs, opts?: pulumi.CustomResourceOptions);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Input properties used for looking up and filtering BucketRealtimeLog resources.
|
|
48
|
+
*/
|
|
49
|
+
export interface BucketRealtimeLogState {
|
|
50
|
+
/**
|
|
51
|
+
* Bucket name
|
|
52
|
+
*/
|
|
53
|
+
bucketName?: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Log analysis feature for the bucket
|
|
56
|
+
*/
|
|
57
|
+
realTimeLog?: pulumi.Input<inputs.tos.BucketRealtimeLogRealTimeLog>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The set of arguments for constructing a BucketRealtimeLog resource.
|
|
61
|
+
*/
|
|
62
|
+
export interface BucketRealtimeLogArgs {
|
|
63
|
+
/**
|
|
64
|
+
* Bucket name
|
|
65
|
+
*/
|
|
66
|
+
bucketName: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Log analysis feature for the bucket
|
|
69
|
+
*/
|
|
70
|
+
realTimeLog: pulumi.Input<inputs.tos.BucketRealtimeLogRealTimeLog>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.BucketRealtimeLog = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Log analysis feature
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:tos/bucketRealtimeLog:BucketRealtimeLog example "bucket_name"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class BucketRealtimeLog extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing BucketRealtimeLog resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new BucketRealtimeLog(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of BucketRealtimeLog. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === BucketRealtimeLog.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
46
|
+
resourceInputs["realTimeLog"] = state ? state.realTimeLog : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'bucketName'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.realTimeLog === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'realTimeLog'");
|
|
55
|
+
}
|
|
56
|
+
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
57
|
+
resourceInputs["realTimeLog"] = args ? args.realTimeLog : undefined;
|
|
58
|
+
}
|
|
59
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
super(BucketRealtimeLog.__pulumiType, name, resourceInputs, opts);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.BucketRealtimeLog = BucketRealtimeLog;
|
|
64
|
+
/** @internal */
|
|
65
|
+
BucketRealtimeLog.__pulumiType = 'volcenginecc:tos/bucketRealtimeLog:BucketRealtimeLog';
|
|
66
|
+
//# sourceMappingURL=bucketRealtimeLog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketRealtimeLog.js","sourceRoot":"","sources":["../../tos/bucketRealtimeLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;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,CA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M,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;;AAjEL,8CAkEC;AApDG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::TOS::BucketCors
|
|
5
|
+
*/
|
|
6
|
+
export declare function getBucketCors(args: GetBucketCorsArgs, opts?: pulumi.InvokeOptions): Promise<GetBucketCorsResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getBucketCors.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetBucketCorsArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getBucketCors.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetBucketCorsResult {
|
|
20
|
+
/**
|
|
21
|
+
* Bucket name.
|
|
22
|
+
*/
|
|
23
|
+
readonly bucketName: string;
|
|
24
|
+
/**
|
|
25
|
+
* CORS rule information.
|
|
26
|
+
*/
|
|
27
|
+
readonly corsRules: outputs.tos.GetBucketCorsCorsRule[];
|
|
28
|
+
/**
|
|
29
|
+
* Uniquely identifies the resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Data Source schema for Volcengine::TOS::BucketCors
|
|
35
|
+
*/
|
|
36
|
+
export declare function getBucketCorsOutput(args: GetBucketCorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBucketCorsResult>;
|
|
37
|
+
/**
|
|
38
|
+
* A collection of arguments for invoking getBucketCors.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetBucketCorsOutputArgs {
|
|
41
|
+
/**
|
|
42
|
+
* Uniquely identifies the resource.
|
|
43
|
+
*/
|
|
44
|
+
id: pulumi.Input<string>;
|
|
45
|
+
}
|
|
@@ -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.getBucketCorsOutput = exports.getBucketCors = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::TOS::BucketCors
|
|
10
|
+
*/
|
|
11
|
+
function getBucketCors(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:tos/getBucketCors:getBucketCors", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getBucketCors = getBucketCors;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::TOS::BucketCors
|
|
20
|
+
*/
|
|
21
|
+
function getBucketCorsOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:tos/getBucketCors:getBucketCors", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getBucketCorsOutput = getBucketCorsOutput;
|
|
28
|
+
//# sourceMappingURL=getBucketCors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBucketCors.js","sourceRoot":"","sources":["../../tos/getBucketCors.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AA6BD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::TOS::BucketNotification
|
|
5
|
+
*/
|
|
6
|
+
export declare function getBucketNotification(args: GetBucketNotificationArgs, opts?: pulumi.InvokeOptions): Promise<GetBucketNotificationResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getBucketNotification.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetBucketNotificationArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getBucketNotification.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetBucketNotificationResult {
|
|
20
|
+
/**
|
|
21
|
+
* Bucket name.
|
|
22
|
+
*/
|
|
23
|
+
readonly bucketName: string;
|
|
24
|
+
/**
|
|
25
|
+
* Uniquely identifies the resource.
|
|
26
|
+
*/
|
|
27
|
+
readonly id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Event notification rule information.
|
|
30
|
+
*/
|
|
31
|
+
readonly notificationRules: outputs.tos.GetBucketNotificationNotificationRule[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Data Source schema for Volcengine::TOS::BucketNotification
|
|
35
|
+
*/
|
|
36
|
+
export declare function getBucketNotificationOutput(args: GetBucketNotificationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBucketNotificationResult>;
|
|
37
|
+
/**
|
|
38
|
+
* A collection of arguments for invoking getBucketNotification.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetBucketNotificationOutputArgs {
|
|
41
|
+
/**
|
|
42
|
+
* Uniquely identifies the resource.
|
|
43
|
+
*/
|
|
44
|
+
id: pulumi.Input<string>;
|
|
45
|
+
}
|