@volcengine/pulumi-volcenginecc 0.0.30 → 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/bandwidthPackage.d.ts +320 -0
- package/cen/bandwidthPackage.js +134 -0
- package/cen/bandwidthPackage.js.map +1 -0
- package/cen/getBandwidthPackage.d.ts +137 -0
- package/cen/getBandwidthPackage.js +28 -0
- package/cen/getBandwidthPackage.js.map +1 -0
- package/cen/getBandwidthPackages.d.ts +22 -0
- package/cen/getBandwidthPackages.js +24 -0
- package/cen/getBandwidthPackages.js.map +1 -0
- 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 +36 -0
- package/cen/index.js +45 -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/clb.d.ts +8 -0
- package/clb/clb.js +2 -0
- package/clb/clb.js.map +1 -1
- package/clb/getClb.d.ts +4 -0
- package/clb/getClb.js.map +1 -1
- 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/iam/accesskey.d.ts +2 -2
- package/iam/accesskey.js +2 -2
- package/iam/accesskey.js.map +1 -1
- package/mongodb/getInstance.d.ts +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/instance.d.ts +3 -3
- 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/getVpcEndpoint.d.ts +137 -0
- package/privatelink/getVpcEndpoint.js +28 -0
- package/privatelink/getVpcEndpoint.js.map +1 -0
- 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/getVpcEndpoints.d.ts +22 -0
- package/privatelink/getVpcEndpoints.js +24 -0
- package/privatelink/getVpcEndpoints.js.map +1 -0
- package/privatelink/index.d.ts +18 -0
- package/privatelink/index.js +23 -1
- package/privatelink/index.js.map +1 -1
- package/privatelink/vpcEndpoint.d.ts +277 -0
- package/privatelink/vpcEndpoint.js +106 -0
- package/privatelink/vpcEndpoint.js.map +1 -0
- 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/rdspostgresql/getInstance.d.ts +153 -0
- package/rdspostgresql/getInstance.js +28 -0
- package/rdspostgresql/getInstance.js.map +1 -0
- package/rdspostgresql/getInstances.d.ts +22 -0
- package/rdspostgresql/getInstances.js +24 -0
- package/rdspostgresql/getInstances.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/rdspostgresql/instance.d.ts +303 -0
- package/rdspostgresql/instance.js +132 -0
- package/rdspostgresql/instance.js.map +1 -0
- 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/consumerGroup.d.ts +128 -0
- package/tls/consumerGroup.js +98 -0
- package/tls/consumerGroup.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/getConsumerGroup.d.ts +60 -0
- package/tls/getConsumerGroup.js +28 -0
- package/tls/getConsumerGroup.js.map +1 -0
- package/tls/getConsumerGroups.d.ts +22 -0
- package/tls/getConsumerGroups.js +24 -0
- package/tls/getConsumerGroups.js.map +1 -0
- package/tls/getImportTask.d.ts +89 -0
- package/tls/getImportTask.js +28 -0
- package/tls/getImportTask.js.map +1 -0
- package/tls/getImportTasks.d.ts +22 -0
- package/tls/getImportTasks.js +24 -0
- package/tls/getImportTasks.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/importTask.d.ts +183 -0
- package/tls/importTask.js +97 -0
- package/tls/importTask.js.map +1 -0
- package/tls/index.d.ts +45 -0
- package/tls/index.js +56 -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 +1804 -186
- package/types/output.d.ts +3846 -591
- package/vedbm/endpoint.d.ts +247 -0
- package/vedbm/endpoint.js +93 -0
- package/vedbm/endpoint.js.map +1 -0
- package/vedbm/getEndpoint.d.ts +105 -0
- package/vedbm/getEndpoint.js +28 -0
- package/vedbm/getEndpoint.js.map +1 -0
- package/vedbm/getEndpoints.d.ts +22 -0
- package/vedbm/getEndpoints.js +24 -0
- package/vedbm/getEndpoints.js.map +1 -0
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +12 -1
- package/vedbm/index.js.map +1 -1
- 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,156 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Unidirectional, private network connection established between the endpoint and the endpoint service
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:privatelink/vpcEndpointConnection:VpcEndpointConnection example "service_id|endpoint_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class VpcEndpointConnection extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing VpcEndpointConnection 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?: VpcEndpointConnectionState, opts?: pulumi.CustomResourceOptions): VpcEndpointConnection;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of VpcEndpointConnection. 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 VpcEndpointConnection;
|
|
29
|
+
/**
|
|
30
|
+
* Maximum bandwidth for the endpoint connection, range 100–20000 Mbps
|
|
31
|
+
*/
|
|
32
|
+
readonly bps: pulumi.Output<number>;
|
|
33
|
+
/**
|
|
34
|
+
* Status of the endpoint connection. PendingAcceptance: waiting for connection. Connecting: connecting. Connected: connected. Disconnecting: disconnecting. Rejected: connection rejected. Failed: connection failed. PartialFailed: partial connection failure. ServiceDeleted: service deleted
|
|
35
|
+
*/
|
|
36
|
+
readonly connectionStatus: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Creation time of the endpoint connection
|
|
39
|
+
*/
|
|
40
|
+
readonly creationTime: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Endpoint ID
|
|
43
|
+
*/
|
|
44
|
+
readonly endpointId: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* Account ID to which the endpoint belongs
|
|
47
|
+
*/
|
|
48
|
+
readonly endpointOwnerAccountId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* ID of the VPC to which the endpoint network interface belongs
|
|
51
|
+
*/
|
|
52
|
+
readonly endpointVpcId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* New service resource ID
|
|
55
|
+
*/
|
|
56
|
+
readonly replaceResourceId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Whether to operate the endpoint connection for seamless service resource replacement. true: yes, disconnect the old service resource for the seamless replacement endpoint connection. false: no, reject the specified endpoint connection. If this parameter is empty, the specified endpoint connection is rejected
|
|
59
|
+
*/
|
|
60
|
+
readonly replacingResource: pulumi.Output<string>;
|
|
61
|
+
readonly resourcesAllocates: pulumi.Output<outputs.privatelink.VpcEndpointConnectionResourcesAllocate[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Endpoint service ID
|
|
64
|
+
*/
|
|
65
|
+
readonly serviceId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Most recent operation time of the endpoint connection
|
|
68
|
+
*/
|
|
69
|
+
readonly updateTime: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Endpoint zone ID
|
|
72
|
+
*/
|
|
73
|
+
readonly zoneId: pulumi.Output<string>;
|
|
74
|
+
readonly zones: pulumi.Output<outputs.privatelink.VpcEndpointConnectionZone[]>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a VpcEndpointConnection resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args: VpcEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering VpcEndpointConnection resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface VpcEndpointConnectionState {
|
|
88
|
+
/**
|
|
89
|
+
* Maximum bandwidth for the endpoint connection, range 100–20000 Mbps
|
|
90
|
+
*/
|
|
91
|
+
bps?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* Status of the endpoint connection. PendingAcceptance: waiting for connection. Connecting: connecting. Connected: connected. Disconnecting: disconnecting. Rejected: connection rejected. Failed: connection failed. PartialFailed: partial connection failure. ServiceDeleted: service deleted
|
|
94
|
+
*/
|
|
95
|
+
connectionStatus?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Creation time of the endpoint connection
|
|
98
|
+
*/
|
|
99
|
+
creationTime?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Endpoint ID
|
|
102
|
+
*/
|
|
103
|
+
endpointId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Account ID to which the endpoint belongs
|
|
106
|
+
*/
|
|
107
|
+
endpointOwnerAccountId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* ID of the VPC to which the endpoint network interface belongs
|
|
110
|
+
*/
|
|
111
|
+
endpointVpcId?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* New service resource ID
|
|
114
|
+
*/
|
|
115
|
+
replaceResourceId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Whether to operate the endpoint connection for seamless service resource replacement. true: yes, disconnect the old service resource for the seamless replacement endpoint connection. false: no, reject the specified endpoint connection. If this parameter is empty, the specified endpoint connection is rejected
|
|
118
|
+
*/
|
|
119
|
+
replacingResource?: pulumi.Input<string>;
|
|
120
|
+
resourcesAllocates?: pulumi.Input<pulumi.Input<inputs.privatelink.VpcEndpointConnectionResourcesAllocate>[]>;
|
|
121
|
+
/**
|
|
122
|
+
* Endpoint service ID
|
|
123
|
+
*/
|
|
124
|
+
serviceId?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Most recent operation time of the endpoint connection
|
|
127
|
+
*/
|
|
128
|
+
updateTime?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Endpoint zone ID
|
|
131
|
+
*/
|
|
132
|
+
zoneId?: pulumi.Input<string>;
|
|
133
|
+
zones?: pulumi.Input<pulumi.Input<inputs.privatelink.VpcEndpointConnectionZone>[]>;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The set of arguments for constructing a VpcEndpointConnection resource.
|
|
137
|
+
*/
|
|
138
|
+
export interface VpcEndpointConnectionArgs {
|
|
139
|
+
/**
|
|
140
|
+
* Maximum bandwidth for the endpoint connection, range 100–20000 Mbps
|
|
141
|
+
*/
|
|
142
|
+
bps?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* Endpoint ID
|
|
145
|
+
*/
|
|
146
|
+
endpointId: pulumi.Input<string>;
|
|
147
|
+
resourcesAllocates?: pulumi.Input<pulumi.Input<inputs.privatelink.VpcEndpointConnectionResourcesAllocate>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Endpoint service ID
|
|
150
|
+
*/
|
|
151
|
+
serviceId: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Endpoint zone ID
|
|
154
|
+
*/
|
|
155
|
+
zoneId?: pulumi.Input<string>;
|
|
156
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.VpcEndpointConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Unidirectional, private network connection established between the endpoint and the endpoint service
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:privatelink/vpcEndpointConnection:VpcEndpointConnection example "service_id|endpoint_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class VpcEndpointConnection extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing VpcEndpointConnection 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 VpcEndpointConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of VpcEndpointConnection. 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'] === VpcEndpointConnection.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["bps"] = state ? state.bps : undefined;
|
|
46
|
+
resourceInputs["connectionStatus"] = state ? state.connectionStatus : undefined;
|
|
47
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
48
|
+
resourceInputs["endpointId"] = state ? state.endpointId : undefined;
|
|
49
|
+
resourceInputs["endpointOwnerAccountId"] = state ? state.endpointOwnerAccountId : undefined;
|
|
50
|
+
resourceInputs["endpointVpcId"] = state ? state.endpointVpcId : undefined;
|
|
51
|
+
resourceInputs["replaceResourceId"] = state ? state.replaceResourceId : undefined;
|
|
52
|
+
resourceInputs["replacingResource"] = state ? state.replacingResource : undefined;
|
|
53
|
+
resourceInputs["resourcesAllocates"] = state ? state.resourcesAllocates : undefined;
|
|
54
|
+
resourceInputs["serviceId"] = state ? state.serviceId : undefined;
|
|
55
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
56
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
57
|
+
resourceInputs["zones"] = state ? state.zones : undefined;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const args = argsOrState;
|
|
61
|
+
if ((!args || args.endpointId === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'endpointId'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.serviceId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'serviceId'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["bps"] = args ? args.bps : undefined;
|
|
68
|
+
resourceInputs["endpointId"] = args ? args.endpointId : undefined;
|
|
69
|
+
resourceInputs["resourcesAllocates"] = args ? args.resourcesAllocates : undefined;
|
|
70
|
+
resourceInputs["serviceId"] = args ? args.serviceId : undefined;
|
|
71
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
72
|
+
resourceInputs["connectionStatus"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["endpointOwnerAccountId"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["endpointVpcId"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["replaceResourceId"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["replacingResource"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["zones"] = undefined /*out*/;
|
|
80
|
+
}
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
|
+
super(VpcEndpointConnection.__pulumiType, name, resourceInputs, opts);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.VpcEndpointConnection = VpcEndpointConnection;
|
|
86
|
+
/** @internal */
|
|
87
|
+
VpcEndpointConnection.__pulumiType = 'volcenginecc:privatelink/vpcEndpointConnection:VpcEndpointConnection';
|
|
88
|
+
//# sourceMappingURL=vpcEndpointConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcEndpointConnection.js","sourceRoot":"","sources":["../../privatelink/vpcEndpointConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAyDD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;Y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Ae,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA7HL,sDA8HC;AAhHG,gBAAgB;AACO,kCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -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
|
+
* RabbitMQ access allowlist
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@pulumi/volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const rabbitMQAllowListDemo = new volcenginecc.index.RabbitmqAllowlist("RabbitMQAllowListDemo", {
|
|
14
|
+
* allowListType: "IPv4",
|
|
15
|
+
* allowList: "192.x.0.0/24",
|
|
16
|
+
* allowListName: "ccapi-test",
|
|
17
|
+
* allowListDesc: "test-desc",
|
|
18
|
+
* associatedInstances: [{
|
|
19
|
+
* instanceId: "rbtmq-a69238e***",
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import volcenginecc:rabbitmq/allowList:AllowList example "allow_list_id"
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class AllowList extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing AllowList resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AllowListState, opts?: pulumi.CustomResourceOptions): AllowList;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of AllowList. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is AllowList;
|
|
46
|
+
/**
|
|
47
|
+
* IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
|
|
48
|
+
*/
|
|
49
|
+
readonly allowList: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Allowlist Description
|
|
52
|
+
*/
|
|
53
|
+
readonly allowListDesc: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Allowlist ID
|
|
56
|
+
*/
|
|
57
|
+
readonly allowListId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Total number of IP addresses (or address ranges) in the allowlist
|
|
60
|
+
*/
|
|
61
|
+
readonly allowListIpNum: pulumi.Output<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Allowlist Name
|
|
64
|
+
*/
|
|
65
|
+
readonly allowListName: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* IP address type in the allowlist. Only IPv4 is currently supported
|
|
68
|
+
*/
|
|
69
|
+
readonly allowListType: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Total number of instances bound to the allowlist
|
|
72
|
+
*/
|
|
73
|
+
readonly associatedInstanceNum: pulumi.Output<number>;
|
|
74
|
+
readonly associatedInstances: pulumi.Output<outputs.rabbitmq.AllowListAssociatedInstance[]>;
|
|
75
|
+
/**
|
|
76
|
+
* Allowlist modification method. Default is Cover
|
|
77
|
+
*/
|
|
78
|
+
readonly modifyMode: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Create a AllowList resource with the given unique name, arguments, and options.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resource.
|
|
83
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
84
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
85
|
+
*/
|
|
86
|
+
constructor(name: string, args: AllowListArgs, opts?: pulumi.CustomResourceOptions);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Input properties used for looking up and filtering AllowList resources.
|
|
90
|
+
*/
|
|
91
|
+
export interface AllowListState {
|
|
92
|
+
/**
|
|
93
|
+
* IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
|
|
94
|
+
*/
|
|
95
|
+
allowList?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Allowlist Description
|
|
98
|
+
*/
|
|
99
|
+
allowListDesc?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Allowlist ID
|
|
102
|
+
*/
|
|
103
|
+
allowListId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Total number of IP addresses (or address ranges) in the allowlist
|
|
106
|
+
*/
|
|
107
|
+
allowListIpNum?: pulumi.Input<number>;
|
|
108
|
+
/**
|
|
109
|
+
* Allowlist Name
|
|
110
|
+
*/
|
|
111
|
+
allowListName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* IP address type in the allowlist. Only IPv4 is currently supported
|
|
114
|
+
*/
|
|
115
|
+
allowListType?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Total number of instances bound to the allowlist
|
|
118
|
+
*/
|
|
119
|
+
associatedInstanceNum?: pulumi.Input<number>;
|
|
120
|
+
associatedInstances?: pulumi.Input<pulumi.Input<inputs.rabbitmq.AllowListAssociatedInstance>[]>;
|
|
121
|
+
/**
|
|
122
|
+
* Allowlist modification method. Default is Cover
|
|
123
|
+
*/
|
|
124
|
+
modifyMode?: pulumi.Input<string>;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* The set of arguments for constructing a AllowList resource.
|
|
128
|
+
*/
|
|
129
|
+
export interface AllowListArgs {
|
|
130
|
+
/**
|
|
131
|
+
* IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
|
|
132
|
+
*/
|
|
133
|
+
allowList: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Allowlist Description
|
|
136
|
+
*/
|
|
137
|
+
allowListDesc?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Allowlist Name
|
|
140
|
+
*/
|
|
141
|
+
allowListName: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* IP address type in the allowlist. Only IPv4 is currently supported
|
|
144
|
+
*/
|
|
145
|
+
allowListType: pulumi.Input<string>;
|
|
146
|
+
associatedInstances?: pulumi.Input<pulumi.Input<inputs.rabbitmq.AllowListAssociatedInstance>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* Allowlist modification method. Default is Cover
|
|
149
|
+
*/
|
|
150
|
+
modifyMode?: pulumi.Input<string>;
|
|
151
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.AllowList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* RabbitMQ access allowlist
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@pulumi/volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const rabbitMQAllowListDemo = new volcenginecc.index.RabbitmqAllowlist("RabbitMQAllowListDemo", {
|
|
18
|
+
* allowListType: "IPv4",
|
|
19
|
+
* allowList: "192.x.0.0/24",
|
|
20
|
+
* allowListName: "ccapi-test",
|
|
21
|
+
* allowListDesc: "test-desc",
|
|
22
|
+
* associatedInstances: [{
|
|
23
|
+
* instanceId: "rbtmq-a69238e***",
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcenginecc:rabbitmq/allowList:AllowList example "allow_list_id"
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class AllowList extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing AllowList resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new AllowList(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of AllowList. 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) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === AllowList.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["allowList"] = state ? state.allowList : undefined;
|
|
63
|
+
resourceInputs["allowListDesc"] = state ? state.allowListDesc : undefined;
|
|
64
|
+
resourceInputs["allowListId"] = state ? state.allowListId : undefined;
|
|
65
|
+
resourceInputs["allowListIpNum"] = state ? state.allowListIpNum : undefined;
|
|
66
|
+
resourceInputs["allowListName"] = state ? state.allowListName : undefined;
|
|
67
|
+
resourceInputs["allowListType"] = state ? state.allowListType : undefined;
|
|
68
|
+
resourceInputs["associatedInstanceNum"] = state ? state.associatedInstanceNum : undefined;
|
|
69
|
+
resourceInputs["associatedInstances"] = state ? state.associatedInstances : undefined;
|
|
70
|
+
resourceInputs["modifyMode"] = state ? state.modifyMode : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.allowList === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'allowList'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.allowListName === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'allowListName'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.allowListType === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'allowListType'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["allowList"] = args ? args.allowList : undefined;
|
|
84
|
+
resourceInputs["allowListDesc"] = args ? args.allowListDesc : undefined;
|
|
85
|
+
resourceInputs["allowListName"] = args ? args.allowListName : undefined;
|
|
86
|
+
resourceInputs["allowListType"] = args ? args.allowListType : undefined;
|
|
87
|
+
resourceInputs["associatedInstances"] = args ? args.associatedInstances : undefined;
|
|
88
|
+
resourceInputs["modifyMode"] = args ? args.modifyMode : undefined;
|
|
89
|
+
resourceInputs["allowListId"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["allowListIpNum"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["associatedInstanceNum"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(AllowList.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.AllowList = AllowList;
|
|
98
|
+
/** @internal */
|
|
99
|
+
AllowList.__pulumiType = 'volcenginecc:rabbitmq/allowList:AllowList';
|
|
100
|
+
//# sourceMappingURL=allowList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allowList.js","sourceRoot":"","sources":["../../rabbitmq/allowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,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GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA3GL,8BA4GC;AA9FG,gBAAgB;AACO,sBAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::RabbitMQ::AllowList
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAllowList(args: GetAllowListArgs, opts?: pulumi.InvokeOptions): Promise<GetAllowListResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAllowList.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAllowListArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAllowList.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAllowListResult {
|
|
20
|
+
/**
|
|
21
|
+
* IP allowlist. Separate multiple IP addresses with commas (,). No duplicates allowed
|
|
22
|
+
*/
|
|
23
|
+
readonly allowList: string;
|
|
24
|
+
/**
|
|
25
|
+
* Allowlist Description
|
|
26
|
+
*/
|
|
27
|
+
readonly allowListDesc: string;
|
|
28
|
+
/**
|
|
29
|
+
* Allowlist ID
|
|
30
|
+
*/
|
|
31
|
+
readonly allowListId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Total number of IP addresses (or address ranges) in the allowlist
|
|
34
|
+
*/
|
|
35
|
+
readonly allowListIpNum: number;
|
|
36
|
+
/**
|
|
37
|
+
* Allowlist Name
|
|
38
|
+
*/
|
|
39
|
+
readonly allowListName: string;
|
|
40
|
+
/**
|
|
41
|
+
* IP address type in the allowlist. Only IPv4 is currently supported
|
|
42
|
+
*/
|
|
43
|
+
readonly allowListType: string;
|
|
44
|
+
/**
|
|
45
|
+
* Total number of instances bound to the allowlist
|
|
46
|
+
*/
|
|
47
|
+
readonly associatedInstanceNum: number;
|
|
48
|
+
/**
|
|
49
|
+
* List of bound instances
|
|
50
|
+
*/
|
|
51
|
+
readonly associatedInstances: outputs.rabbitmq.GetAllowListAssociatedInstance[];
|
|
52
|
+
/**
|
|
53
|
+
* Uniquely identifies the resource.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
/**
|
|
57
|
+
* Allowlist modification method. Default is Cover
|
|
58
|
+
*/
|
|
59
|
+
readonly modifyMode: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Data Source schema for Volcengine::RabbitMQ::AllowList
|
|
63
|
+
*/
|
|
64
|
+
export declare function getAllowListOutput(args: GetAllowListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListResult>;
|
|
65
|
+
/**
|
|
66
|
+
* A collection of arguments for invoking getAllowList.
|
|
67
|
+
*/
|
|
68
|
+
export interface GetAllowListOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* Uniquely identifies the resource.
|
|
71
|
+
*/
|
|
72
|
+
id: pulumi.Input<string>;
|
|
73
|
+
}
|
|
@@ -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.getAllowListOutput = exports.getAllowList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::RabbitMQ::AllowList
|
|
10
|
+
*/
|
|
11
|
+
function getAllowList(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:rabbitmq/getAllowList:getAllowList", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAllowList = getAllowList;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::RabbitMQ::AllowList
|
|
20
|
+
*/
|
|
21
|
+
function getAllowListOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:rabbitmq/getAllowList:getAllowList", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getAllowListOutput = getAllowListOutput;
|
|
28
|
+
//# sourceMappingURL=getAllowList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllowList.js","sourceRoot":"","sources":["../../rabbitmq/getAllowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAyDD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::RabbitMQ::AllowList
|
|
4
|
+
*/
|
|
5
|
+
export declare function getAllowLists(opts?: pulumi.InvokeOptions): Promise<GetAllowListsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getAllowLists.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetAllowListsResult {
|
|
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::RabbitMQ::AllowList
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAllowListsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListsResult>;
|
|
@@ -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.getAllowListsOutput = exports.getAllowLists = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::RabbitMQ::AllowList
|
|
10
|
+
*/
|
|
11
|
+
function getAllowLists(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:rabbitmq/getAllowLists:getAllowLists", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getAllowLists = getAllowLists;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::RabbitMQ::AllowList
|
|
18
|
+
*/
|
|
19
|
+
function getAllowListsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:rabbitmq/getAllowLists:getAllowLists", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAllowListsOutput = getAllowListsOutput;
|
|
24
|
+
//# sourceMappingURL=getAllowLists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllowLists.js","sourceRoot":"","sources":["../../rabbitmq/getAllowLists.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
|