@volcengine/pulumi-volcenginecc 0.0.31 → 0.0.32
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/cen/getInterRegionBandwidth.d.ts +72 -0
- package/cen/getInterRegionBandwidth.js +28 -0
- package/cen/getInterRegionBandwidth.js.map +1 -0
- package/cen/getInterRegionBandwidths.d.ts +22 -0
- package/cen/getInterRegionBandwidths.js +24 -0
- package/cen/getInterRegionBandwidths.js.map +1 -0
- package/cen/getRouteEntries.d.ts +22 -0
- package/cen/getRouteEntries.js +24 -0
- package/cen/getRouteEntries.js.map +1 -0
- package/cen/getRouteEntry.d.ts +72 -0
- package/cen/getRouteEntry.js +28 -0
- package/cen/getRouteEntry.js.map +1 -0
- package/cen/getServiceRouteEntries.d.ts +22 -0
- package/cen/getServiceRouteEntries.js +24 -0
- package/cen/getServiceRouteEntries.js.map +1 -0
- package/cen/getServiceRouteEntry.d.ts +73 -0
- package/cen/getServiceRouteEntry.js +28 -0
- package/cen/getServiceRouteEntry.js.map +1 -0
- package/cen/index.d.ts +27 -0
- package/cen/index.js +34 -1
- package/cen/index.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +152 -0
- package/cen/interRegionBandwidth.js +101 -0
- package/cen/interRegionBandwidth.js.map +1 -0
- package/cen/routeEntry.d.ts +152 -0
- package/cen/routeEntry.js +104 -0
- package/cen/routeEntry.js.map +1 -0
- package/cen/serviceRouteEntry.d.ts +138 -0
- package/cen/serviceRouteEntry.js +83 -0
- package/cen/serviceRouteEntry.js.map +1 -0
- package/clb/getListener.d.ts +4 -0
- package/clb/getListener.js.map +1 -1
- package/clb/listener.d.ts +3 -0
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/mongodb/getSslState.d.ts +56 -0
- package/mongodb/getSslState.js +28 -0
- package/mongodb/getSslState.js.map +1 -0
- package/mongodb/getSslStates.d.ts +22 -0
- package/mongodb/getSslStates.js +24 -0
- package/mongodb/getSslStates.js.map +1 -0
- package/mongodb/index.d.ts +9 -0
- package/mongodb/index.js +12 -1
- package/mongodb/index.js.map +1 -1
- package/mongodb/sslState.d.ts +105 -0
- package/mongodb/sslState.js +81 -0
- package/mongodb/sslState.js.map +1 -0
- package/package.json +1 -1
- package/privatelink/endpointService.d.ts +15 -3
- package/privatelink/endpointService.js +2 -0
- package/privatelink/endpointService.js.map +1 -1
- package/privatelink/getEndpointService.d.ts +5 -1
- package/privatelink/getEndpointService.js.map +1 -1
- package/privatelink/getVpcEndpointConnection.d.ts +89 -0
- package/privatelink/getVpcEndpointConnection.js +28 -0
- package/privatelink/getVpcEndpointConnection.js.map +1 -0
- package/privatelink/getVpcEndpointConnections.d.ts +22 -0
- package/privatelink/getVpcEndpointConnections.js +24 -0
- package/privatelink/getVpcEndpointConnections.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/privatelink/vpcEndpointConnection.d.ts +156 -0
- package/privatelink/vpcEndpointConnection.js +88 -0
- package/privatelink/vpcEndpointConnection.js.map +1 -0
- package/rabbitmq/allowList.d.ts +151 -0
- package/rabbitmq/allowList.js +100 -0
- package/rabbitmq/allowList.js.map +1 -0
- package/rabbitmq/getAllowList.d.ts +73 -0
- package/rabbitmq/getAllowList.js +28 -0
- package/rabbitmq/getAllowList.js.map +1 -0
- package/rabbitmq/getAllowLists.d.ts +22 -0
- package/rabbitmq/getAllowLists.js +24 -0
- package/rabbitmq/getAllowLists.js.map +1 -0
- package/rabbitmq/index.d.ts +9 -0
- package/rabbitmq/index.js +12 -1
- package/rabbitmq/index.js.map +1 -1
- package/redis/allowList.d.ts +148 -0
- package/redis/allowList.js +78 -0
- package/redis/allowList.js.map +1 -0
- package/redis/getAllowList.d.ts +81 -0
- package/redis/getAllowList.js +28 -0
- package/redis/getAllowList.js.map +1 -0
- package/redis/getAllowLists.d.ts +22 -0
- package/redis/getAllowLists.js +24 -0
- package/redis/getAllowLists.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/storageebs/getSnapshotGroup.d.ts +81 -0
- package/storageebs/getSnapshotGroup.js +28 -0
- package/storageebs/getSnapshotGroup.js.map +1 -0
- package/storageebs/getSnapshotGroups.d.ts +22 -0
- package/storageebs/getSnapshotGroups.js +24 -0
- package/storageebs/getSnapshotGroups.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotGroup.d.ts +168 -0
- package/storageebs/snapshotGroup.js +105 -0
- package/storageebs/snapshotGroup.js.map +1 -0
- package/tls/alarmNotifyGroup.d.ts +113 -0
- package/tls/alarmNotifyGroup.js +75 -0
- package/tls/alarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroup.d.ts +69 -0
- package/tls/getAlarmNotifyGroup.js +28 -0
- package/tls/getAlarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroups.d.ts +22 -0
- package/tls/getAlarmNotifyGroups.js +24 -0
- package/tls/getAlarmNotifyGroups.js.map +1 -0
- package/tls/getRule.d.ts +109 -0
- package/tls/getRule.js +28 -0
- package/tls/getRule.js.map +1 -0
- package/tls/getRules.d.ts +22 -0
- package/tls/getRules.js +24 -0
- package/tls/getRules.js.map +1 -0
- package/tls/getShipper.d.ts +101 -0
- package/tls/getShipper.js +28 -0
- package/tls/getShipper.js.map +1 -0
- package/tls/getShippers.d.ts +22 -0
- package/tls/getShippers.js +24 -0
- package/tls/getShippers.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +34 -1
- package/tls/index.js.map +1 -1
- package/tls/rule.d.ts +221 -0
- package/tls/rule.js +98 -0
- package/tls/rule.js.map +1 -0
- package/tls/shipper.d.ts +211 -0
- package/tls/shipper.js +97 -0
- package/tls/shipper.js.map +1 -0
- package/tos/bucketEncryption.d.ts +94 -0
- package/tos/bucketEncryption.js +78 -0
- package/tos/bucketEncryption.js.map +1 -0
- package/tos/bucketInventory.d.ts +155 -0
- package/tos/bucketInventory.js +95 -0
- package/tos/bucketInventory.js.map +1 -0
- package/tos/getBucketEncryption.d.ts +48 -0
- package/tos/getBucketEncryption.js +28 -0
- package/tos/getBucketEncryption.js.map +1 -0
- package/tos/getBucketEncryptions.d.ts +22 -0
- package/tos/getBucketEncryptions.js +24 -0
- package/tos/getBucketEncryptions.js.map +1 -0
- package/tos/getBucketInventories.d.ts +22 -0
- package/tos/getBucketInventories.js +24 -0
- package/tos/getBucketInventories.js.map +1 -0
- package/tos/getBucketInventory.d.ts +73 -0
- package/tos/getBucketInventory.js +28 -0
- package/tos/getBucketInventory.js.map +1 -0
- package/tos/index.d.ts +18 -0
- package/tos/index.js +23 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +934 -31
- package/types/output.d.ts +2309 -360
- package/vefaas/getRelease.d.ts +120 -0
- package/vefaas/getRelease.js +28 -0
- package/vefaas/getRelease.js.map +1 -0
- package/vefaas/getReleases.d.ts +22 -0
- package/vefaas/getReleases.js +24 -0
- package/vefaas/getReleases.js.map +1 -0
- package/vefaas/index.d.ts +9 -0
- package/vefaas/index.js +12 -1
- package/vefaas/index.js.map +1 -1
- package/vefaas/release.d.ts +253 -0
- package/vefaas/release.js +120 -0
- package/vefaas/release.js.map +1 -0
- package/vepfs/getMountService.d.ts +93 -0
- package/vepfs/getMountService.js +28 -0
- package/vepfs/getMountService.js.map +1 -0
- package/vepfs/getMountServices.d.ts +22 -0
- package/vepfs/getMountServices.js +24 -0
- package/vepfs/getMountServices.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +12 -1
- package/vepfs/index.js.map +1 -1
- package/vepfs/mountService.d.ts +172 -0
- package/vepfs/mountService.js +99 -0
- package/vepfs/mountService.js.map +1 -0
- package/vke/getKubeconfig.d.ts +72 -0
- package/vke/getKubeconfig.js +28 -0
- package/vke/getKubeconfig.js.map +1 -0
- package/vke/getKubeconfigs.d.ts +22 -0
- package/vke/getKubeconfigs.js +24 -0
- package/vke/getKubeconfigs.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/kubeconfig.d.ts +142 -0
- package/vke/kubeconfig.js +93 -0
- package/vke/kubeconfig.js.map +1 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A snapshot consistency group is a combination of snapshots from multiple cloud disks. In scenarios where business systems span multiple cloud disks, you can use a snapshot consistency group to ensure write order consistency and crash consistency for data written to the disks
|
|
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 storageEBSSnapshotGroupDemo = new volcenginecc.storageebs.SnapshotGroup("StorageEBSSnapshotGroupDemo", {
|
|
14
|
+
* name: "ccapi-test",
|
|
15
|
+
* projectName: "default",
|
|
16
|
+
* description: "this-is_test",
|
|
17
|
+
* instanceId: "i-yekg7jsw00bw8xxxxx",
|
|
18
|
+
* volumeIds: [
|
|
19
|
+
* "vol-3x1q75ir0t4qbgxxxxx",
|
|
20
|
+
* "vol-3x1q75ir0t4qbgxxxxx",
|
|
21
|
+
* "vol-3x1q75ir0t4qbgxxxxx",
|
|
22
|
+
* "vol-3x1q75ir0t4qbghxxxxx",
|
|
23
|
+
* ],
|
|
24
|
+
* tags: [{
|
|
25
|
+
* key: "env",
|
|
26
|
+
* value: "test",
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import volcenginecc:storageebs/snapshotGroup:SnapshotGroup example "snapshot_group_id"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class SnapshotGroup extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing SnapshotGroup 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?: SnapshotGroupState, opts?: pulumi.CustomResourceOptions): SnapshotGroup;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of SnapshotGroup. 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 SnapshotGroup;
|
|
53
|
+
/**
|
|
54
|
+
* Snapshot consistency group creation time
|
|
55
|
+
*/
|
|
56
|
+
readonly creationTime: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Snapshot consistency group description
|
|
59
|
+
*/
|
|
60
|
+
readonly description: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Image ID of the snapshot consistency group
|
|
63
|
+
*/
|
|
64
|
+
readonly imageId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* ECS instance ID of the snapshot consistency group
|
|
67
|
+
*/
|
|
68
|
+
readonly instanceId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Snapshot consistency group name
|
|
71
|
+
*/
|
|
72
|
+
readonly name: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Project name
|
|
75
|
+
*/
|
|
76
|
+
readonly projectName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Snapshot consistency group ID
|
|
79
|
+
*/
|
|
80
|
+
readonly snapshotGroupId: pulumi.Output<string>;
|
|
81
|
+
readonly snapshots: pulumi.Output<outputs.storageebs.SnapshotGroupSnapshot[]>;
|
|
82
|
+
/**
|
|
83
|
+
* Snapshot consistency group status
|
|
84
|
+
*/
|
|
85
|
+
readonly status: pulumi.Output<string>;
|
|
86
|
+
readonly tags: pulumi.Output<outputs.storageebs.SnapshotGroupTag[]>;
|
|
87
|
+
/**
|
|
88
|
+
* Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
|
|
89
|
+
*/
|
|
90
|
+
readonly volumeIds: pulumi.Output<string[]>;
|
|
91
|
+
/**
|
|
92
|
+
* Create a SnapshotGroup resource with the given unique name, arguments, and options.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resource.
|
|
95
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
96
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
97
|
+
*/
|
|
98
|
+
constructor(name: string, args: SnapshotGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Input properties used for looking up and filtering SnapshotGroup resources.
|
|
102
|
+
*/
|
|
103
|
+
export interface SnapshotGroupState {
|
|
104
|
+
/**
|
|
105
|
+
* Snapshot consistency group creation time
|
|
106
|
+
*/
|
|
107
|
+
creationTime?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Snapshot consistency group description
|
|
110
|
+
*/
|
|
111
|
+
description?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Image ID of the snapshot consistency group
|
|
114
|
+
*/
|
|
115
|
+
imageId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* ECS instance ID of the snapshot consistency group
|
|
118
|
+
*/
|
|
119
|
+
instanceId?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Snapshot consistency group name
|
|
122
|
+
*/
|
|
123
|
+
name?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Project name
|
|
126
|
+
*/
|
|
127
|
+
projectName?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Snapshot consistency group ID
|
|
130
|
+
*/
|
|
131
|
+
snapshotGroupId?: pulumi.Input<string>;
|
|
132
|
+
snapshots?: pulumi.Input<pulumi.Input<inputs.storageebs.SnapshotGroupSnapshot>[]>;
|
|
133
|
+
/**
|
|
134
|
+
* Snapshot consistency group status
|
|
135
|
+
*/
|
|
136
|
+
status?: pulumi.Input<string>;
|
|
137
|
+
tags?: pulumi.Input<pulumi.Input<inputs.storageebs.SnapshotGroupTag>[]>;
|
|
138
|
+
/**
|
|
139
|
+
* Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
|
|
140
|
+
*/
|
|
141
|
+
volumeIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The set of arguments for constructing a SnapshotGroup resource.
|
|
145
|
+
*/
|
|
146
|
+
export interface SnapshotGroupArgs {
|
|
147
|
+
/**
|
|
148
|
+
* Snapshot consistency group description
|
|
149
|
+
*/
|
|
150
|
+
description?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* ECS instance ID of the snapshot consistency group
|
|
153
|
+
*/
|
|
154
|
+
instanceId?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Snapshot consistency group name
|
|
157
|
+
*/
|
|
158
|
+
name?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Project name
|
|
161
|
+
*/
|
|
162
|
+
projectName?: pulumi.Input<string>;
|
|
163
|
+
tags?: pulumi.Input<pulumi.Input<inputs.storageebs.SnapshotGroupTag>[]>;
|
|
164
|
+
/**
|
|
165
|
+
* Cloud disk ID. Note: The cloud disk must be in 'attached' status. If multiple cloud disks are set, they must be attached to the same ECS instance
|
|
166
|
+
*/
|
|
167
|
+
volumeIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
168
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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.SnapshotGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A snapshot consistency group is a combination of snapshots from multiple cloud disks. In scenarios where business systems span multiple cloud disks, you can use a snapshot consistency group to ensure write order consistency and crash consistency for data written to the disks
|
|
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 storageEBSSnapshotGroupDemo = new volcenginecc.storageebs.SnapshotGroup("StorageEBSSnapshotGroupDemo", {
|
|
18
|
+
* name: "ccapi-test",
|
|
19
|
+
* projectName: "default",
|
|
20
|
+
* description: "this-is_test",
|
|
21
|
+
* instanceId: "i-yekg7jsw00bw8xxxxx",
|
|
22
|
+
* volumeIds: [
|
|
23
|
+
* "vol-3x1q75ir0t4qbgxxxxx",
|
|
24
|
+
* "vol-3x1q75ir0t4qbgxxxxx",
|
|
25
|
+
* "vol-3x1q75ir0t4qbgxxxxx",
|
|
26
|
+
* "vol-3x1q75ir0t4qbghxxxxx",
|
|
27
|
+
* ],
|
|
28
|
+
* tags: [{
|
|
29
|
+
* key: "env",
|
|
30
|
+
* value: "test",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcenginecc:storageebs/snapshotGroup:SnapshotGroup example "snapshot_group_id"
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class SnapshotGroup extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing SnapshotGroup 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 SnapshotGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of SnapshotGroup. 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'] === SnapshotGroup.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
70
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
71
|
+
resourceInputs["imageId"] = state ? state.imageId : undefined;
|
|
72
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
73
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
74
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
75
|
+
resourceInputs["snapshotGroupId"] = state ? state.snapshotGroupId : undefined;
|
|
76
|
+
resourceInputs["snapshots"] = state ? state.snapshots : undefined;
|
|
77
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
78
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
79
|
+
resourceInputs["volumeIds"] = state ? state.volumeIds : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.volumeIds === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'volumeIds'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
87
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
88
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
89
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
90
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
91
|
+
resourceInputs["volumeIds"] = args ? args.volumeIds : undefined;
|
|
92
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["imageId"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["snapshotGroupId"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["snapshots"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(SnapshotGroup.__pulumiType, name, resourceInputs, opts);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.SnapshotGroup = SnapshotGroup;
|
|
103
|
+
/** @internal */
|
|
104
|
+
SnapshotGroup.__pulumiType = 'volcenginecc:storageebs/snapshotGroup:SnapshotGroup';
|
|
105
|
+
//# sourceMappingURL=snapshotGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
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AC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA9GL,sCA+GC;AAjGG,gBAAgB;AACO,0BAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The logging service notification group is a collection of alarm notification channels used to specify the action strategy after an alarm is triggered. You can add notification rules, and the logging service will intelligently assign different alarm notification channels based on these rules.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:tls/alarmNotifyGroup:AlarmNotifyGroup example "alarm_notify_group_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class AlarmNotifyGroup extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing AlarmNotifyGroup 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?: AlarmNotifyGroupState, opts?: pulumi.CustomResourceOptions): AlarmNotifyGroup;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of AlarmNotifyGroup. 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 AlarmNotifyGroup;
|
|
29
|
+
/**
|
|
30
|
+
* Alarm notification group ID.
|
|
31
|
+
*/
|
|
32
|
+
readonly alarmNotifyGroupId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Alarm notification group name. Refer to the resource naming rules.
|
|
35
|
+
*/
|
|
36
|
+
readonly alarmNotifyGroupName: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Time when the alarm notification group was created.
|
|
39
|
+
*/
|
|
40
|
+
readonly createdTime: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
|
|
43
|
+
*/
|
|
44
|
+
readonly iamProjectName: pulumi.Output<string>;
|
|
45
|
+
readonly noticeRules: pulumi.Output<outputs.tls.AlarmNotifyGroupNoticeRule[]>;
|
|
46
|
+
/**
|
|
47
|
+
* Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
|
|
48
|
+
*/
|
|
49
|
+
readonly notifyTypes: pulumi.Output<string[]>;
|
|
50
|
+
readonly receivers: pulumi.Output<outputs.tls.AlarmNotifyGroupReceiver[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Time when the alarm notification group was modified.
|
|
53
|
+
*/
|
|
54
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a AlarmNotifyGroup resource with the given unique name, arguments, and options.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resource.
|
|
59
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
60
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
61
|
+
*/
|
|
62
|
+
constructor(name: string, args: AlarmNotifyGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Input properties used for looking up and filtering AlarmNotifyGroup resources.
|
|
66
|
+
*/
|
|
67
|
+
export interface AlarmNotifyGroupState {
|
|
68
|
+
/**
|
|
69
|
+
* Alarm notification group ID.
|
|
70
|
+
*/
|
|
71
|
+
alarmNotifyGroupId?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Alarm notification group name. Refer to the resource naming rules.
|
|
74
|
+
*/
|
|
75
|
+
alarmNotifyGroupName?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Time when the alarm notification group was created.
|
|
78
|
+
*/
|
|
79
|
+
createdTime?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
|
|
82
|
+
*/
|
|
83
|
+
iamProjectName?: pulumi.Input<string>;
|
|
84
|
+
noticeRules?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupNoticeRule>[]>;
|
|
85
|
+
/**
|
|
86
|
+
* Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
|
|
87
|
+
*/
|
|
88
|
+
notifyTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
89
|
+
receivers?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupReceiver>[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Time when the alarm notification group was modified.
|
|
92
|
+
*/
|
|
93
|
+
updatedTime?: pulumi.Input<string>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a AlarmNotifyGroup resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface AlarmNotifyGroupArgs {
|
|
99
|
+
/**
|
|
100
|
+
* Alarm notification group name. Refer to the resource naming rules.
|
|
101
|
+
*/
|
|
102
|
+
alarmNotifyGroupName: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
|
|
105
|
+
*/
|
|
106
|
+
iamProjectName?: pulumi.Input<string>;
|
|
107
|
+
noticeRules?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupNoticeRule>[]>;
|
|
108
|
+
/**
|
|
109
|
+
* Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
|
|
110
|
+
*/
|
|
111
|
+
notifyTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
|
+
receivers?: pulumi.Input<pulumi.Input<inputs.tls.AlarmNotifyGroupReceiver>[]>;
|
|
113
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.AlarmNotifyGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The logging service notification group is a collection of alarm notification channels used to specify the action strategy after an alarm is triggered. You can add notification rules, and the logging service will intelligently assign different alarm notification channels based on these rules.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:tls/alarmNotifyGroup:AlarmNotifyGroup example "alarm_notify_group_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class AlarmNotifyGroup extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing AlarmNotifyGroup 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 AlarmNotifyGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of AlarmNotifyGroup. 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'] === AlarmNotifyGroup.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["alarmNotifyGroupId"] = state ? state.alarmNotifyGroupId : undefined;
|
|
46
|
+
resourceInputs["alarmNotifyGroupName"] = state ? state.alarmNotifyGroupName : undefined;
|
|
47
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
48
|
+
resourceInputs["iamProjectName"] = state ? state.iamProjectName : undefined;
|
|
49
|
+
resourceInputs["noticeRules"] = state ? state.noticeRules : undefined;
|
|
50
|
+
resourceInputs["notifyTypes"] = state ? state.notifyTypes : undefined;
|
|
51
|
+
resourceInputs["receivers"] = state ? state.receivers : undefined;
|
|
52
|
+
resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.alarmNotifyGroupName === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'alarmNotifyGroupName'");
|
|
58
|
+
}
|
|
59
|
+
resourceInputs["alarmNotifyGroupName"] = args ? args.alarmNotifyGroupName : undefined;
|
|
60
|
+
resourceInputs["iamProjectName"] = args ? args.iamProjectName : undefined;
|
|
61
|
+
resourceInputs["noticeRules"] = args ? args.noticeRules : undefined;
|
|
62
|
+
resourceInputs["notifyTypes"] = args ? args.notifyTypes : undefined;
|
|
63
|
+
resourceInputs["receivers"] = args ? args.receivers : undefined;
|
|
64
|
+
resourceInputs["alarmNotifyGroupId"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["updatedTime"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
super(AlarmNotifyGroup.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.AlarmNotifyGroup = AlarmNotifyGroup;
|
|
73
|
+
/** @internal */
|
|
74
|
+
AlarmNotifyGroup.__pulumiType = 'volcenginecc:tls/alarmNotifyGroup:AlarmNotifyGroup';
|
|
75
|
+
//# sourceMappingURL=alarmNotifyGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarmNotifyGroup.js","sourceRoot":"","sources":["../../tls/alarmNotifyGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAqCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,aAAa,CAAC,GAAG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I,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5FL,4CA6FC;AA/EG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::TLS::AlarmNotifyGroup
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAlarmNotifyGroup(args: GetAlarmNotifyGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetAlarmNotifyGroupResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAlarmNotifyGroup.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAlarmNotifyGroupArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAlarmNotifyGroup.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAlarmNotifyGroupResult {
|
|
20
|
+
/**
|
|
21
|
+
* Alarm notification group ID.
|
|
22
|
+
*/
|
|
23
|
+
readonly alarmNotifyGroupId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Alarm notification group name. Refer to the resource naming rules.
|
|
26
|
+
*/
|
|
27
|
+
readonly alarmNotifyGroupName: string;
|
|
28
|
+
/**
|
|
29
|
+
* Time when the alarm notification group was created.
|
|
30
|
+
*/
|
|
31
|
+
readonly createdTime: string;
|
|
32
|
+
/**
|
|
33
|
+
* Name of the IAM project to which the alarm group belongs. If not specified, the logging service adds the alarm group to the IAM project named default.
|
|
34
|
+
*/
|
|
35
|
+
readonly iamProjectName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Uniquely identifies the resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* Alarm notification group configuration. Note: If the NoticeRules parameter is configured, leave the NotifyType and Receivers parameters empty. If NoticeRules is empty, you must configure the NotifyType and Receivers parameters. When modifying, do not change NoticeRules, NotifyType, and Receivers at the same time, as some fields may not take effect.
|
|
42
|
+
*/
|
|
43
|
+
readonly noticeRules: outputs.tls.GetAlarmNotifyGroupNoticeRule[];
|
|
44
|
+
/**
|
|
45
|
+
* Type of alarm notification. Trigger: alarm triggered. Recovery: alarm recovered.
|
|
46
|
+
*/
|
|
47
|
+
readonly notifyTypes: string[];
|
|
48
|
+
/**
|
|
49
|
+
* IAM user list to receive alarms. You can set 1–10 IAM users.
|
|
50
|
+
*/
|
|
51
|
+
readonly receivers: outputs.tls.GetAlarmNotifyGroupReceiver[];
|
|
52
|
+
/**
|
|
53
|
+
* Time when the alarm notification group was modified.
|
|
54
|
+
*/
|
|
55
|
+
readonly updatedTime: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Data Source schema for Volcengine::TLS::AlarmNotifyGroup
|
|
59
|
+
*/
|
|
60
|
+
export declare function getAlarmNotifyGroupOutput(args: GetAlarmNotifyGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlarmNotifyGroupResult>;
|
|
61
|
+
/**
|
|
62
|
+
* A collection of arguments for invoking getAlarmNotifyGroup.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetAlarmNotifyGroupOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* Uniquely identifies the resource.
|
|
67
|
+
*/
|
|
68
|
+
id: pulumi.Input<string>;
|
|
69
|
+
}
|
|
@@ -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.getAlarmNotifyGroupOutput = exports.getAlarmNotifyGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::TLS::AlarmNotifyGroup
|
|
10
|
+
*/
|
|
11
|
+
function getAlarmNotifyGroup(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:tls/getAlarmNotifyGroup:getAlarmNotifyGroup", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAlarmNotifyGroup = getAlarmNotifyGroup;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::TLS::AlarmNotifyGroup
|
|
20
|
+
*/
|
|
21
|
+
function getAlarmNotifyGroupOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:tls/getAlarmNotifyGroup:getAlarmNotifyGroup", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getAlarmNotifyGroupOutput = getAlarmNotifyGroupOutput;
|
|
28
|
+
//# sourceMappingURL=getAlarmNotifyGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAlarmNotifyGroup.js","sourceRoot":"","sources":["../../tls/getAlarmNotifyGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAqDD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,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;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::TLS::AlarmNotifyGroup
|
|
4
|
+
*/
|
|
5
|
+
export declare function getAlarmNotifyGroups(opts?: pulumi.InvokeOptions): Promise<GetAlarmNotifyGroupsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getAlarmNotifyGroups.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetAlarmNotifyGroupsResult {
|
|
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::TLS::AlarmNotifyGroup
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAlarmNotifyGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlarmNotifyGroupsResult>;
|
|
@@ -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.getAlarmNotifyGroupsOutput = exports.getAlarmNotifyGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::TLS::AlarmNotifyGroup
|
|
10
|
+
*/
|
|
11
|
+
function getAlarmNotifyGroups(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:tls/getAlarmNotifyGroups:getAlarmNotifyGroups", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getAlarmNotifyGroups = getAlarmNotifyGroups;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::TLS::AlarmNotifyGroup
|
|
18
|
+
*/
|
|
19
|
+
function getAlarmNotifyGroupsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:tls/getAlarmNotifyGroups:getAlarmNotifyGroups", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAlarmNotifyGroupsOutput = getAlarmNotifyGroupsOutput;
|
|
24
|
+
//# sourceMappingURL=getAlarmNotifyGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAlarmNotifyGroups.js","sourceRoot":"","sources":["../../tls/getAlarmNotifyGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE,EAC1F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC;AAeD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAiC;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE,EAChG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC"}
|