@volcengine/pulumi-volcenginecc 0.0.21 → 0.0.22
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/alb/customizedCfg.d.ts +163 -0
- package/alb/customizedCfg.js +113 -0
- package/alb/customizedCfg.js.map +1 -0
- package/alb/getCustomizedCfg.d.ts +77 -0
- package/alb/getCustomizedCfg.js +28 -0
- package/alb/getCustomizedCfg.js.map +1 -0
- package/alb/getCustomizedCfgs.d.ts +22 -0
- package/alb/getCustomizedCfgs.js +24 -0
- package/alb/getCustomizedCfgs.js.map +1 -0
- package/alb/getHealthCheckTemplate.d.ts +109 -0
- package/alb/getHealthCheckTemplate.js +28 -0
- package/alb/getHealthCheckTemplate.js.map +1 -0
- package/alb/getHealthCheckTemplates.d.ts +22 -0
- package/alb/getHealthCheckTemplates.js +24 -0
- package/alb/getHealthCheckTemplates.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +270 -0
- package/alb/healthCheckTemplate.js +123 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/index.d.ts +18 -0
- package/alb/index.js +23 -1
- package/alb/index.js.map +1 -1
- package/clb/clb.d.ts +123 -123
- package/clb/clb.js +2 -2
- package/clb/clb.js.map +1 -1
- package/clb/getClb.d.ts +49 -49
- package/ecs/deploymentSet.d.ts +173 -0
- package/ecs/deploymentSet.js +97 -0
- package/ecs/deploymentSet.js.map +1 -0
- package/ecs/getDeploymentSet.d.ts +81 -0
- package/ecs/getDeploymentSet.js +28 -0
- package/ecs/getDeploymentSet.js.map +1 -0
- package/ecs/getDeploymentSets.d.ts +22 -0
- package/ecs/getDeploymentSets.js +24 -0
- package/ecs/getDeploymentSets.js.map +1 -0
- package/ecs/getInstance.d.ts +11 -0
- package/ecs/getInstance.js.map +1 -1
- package/ecs/getLaunchTemplate.d.ts +73 -0
- package/ecs/getLaunchTemplate.js +28 -0
- package/ecs/getLaunchTemplate.js.map +1 -0
- package/ecs/getLaunchTemplateVersion.d.ts +153 -0
- package/ecs/getLaunchTemplateVersion.js +28 -0
- package/ecs/getLaunchTemplateVersion.js.map +1 -0
- package/ecs/getLaunchTemplateVersions.d.ts +22 -0
- package/ecs/getLaunchTemplateVersions.js +24 -0
- package/ecs/getLaunchTemplateVersions.js.map +1 -0
- package/ecs/getLaunchTemplates.d.ts +22 -0
- package/ecs/getLaunchTemplates.js +24 -0
- package/ecs/getLaunchTemplates.js.map +1 -0
- package/ecs/index.d.ts +27 -0
- package/ecs/index.js +34 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +106 -11
- package/ecs/instance.js +24 -2
- package/ecs/instance.js.map +1 -1
- package/ecs/launchTemplate.d.ts +130 -0
- package/ecs/launchTemplate.js +77 -0
- package/ecs/launchTemplate.js.map +1 -0
- package/ecs/launchTemplateVersion.d.ts +364 -0
- package/ecs/launchTemplateVersion.js +114 -0
- package/ecs/launchTemplateVersion.js.map +1 -0
- package/iam/accesskey.d.ts +27 -17
- package/iam/accesskey.js +11 -7
- package/iam/accesskey.js.map +1 -1
- package/iam/getAccesskey.d.ts +10 -6
- package/iam/getAccesskey.js.map +1 -1
- package/iam/getUser.d.ts +12 -0
- package/iam/getUser.js.map +1 -1
- package/iam/user.d.ts +26 -0
- package/iam/user.js +6 -0
- package/iam/user.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kms/getKeyRing.d.ts +72 -0
- package/kms/getKeyRing.js +28 -0
- package/kms/getKeyRing.js.map +1 -0
- package/kms/getKeyRings.d.ts +22 -0
- package/kms/getKeyRings.js +24 -0
- package/kms/getKeyRings.js.map +1 -0
- package/kms/index.d.ts +9 -0
- package/kms/index.js +12 -1
- package/kms/index.js.map +1 -1
- package/kms/keyRing.d.ts +147 -0
- package/kms/keyRing.js +91 -0
- package/kms/keyRing.js.map +1 -0
- package/organization/account.d.ts +282 -0
- package/organization/account.js +112 -0
- package/organization/account.js.map +1 -0
- package/organization/getAccount.d.ts +137 -0
- package/organization/getAccount.js +28 -0
- package/organization/getAccount.js.map +1 -0
- package/organization/getAccounts.d.ts +22 -0
- package/organization/getAccounts.js +24 -0
- package/organization/getAccounts.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/package.json +1 -1
- package/privatezone/getRecord.d.ts +88 -0
- package/privatezone/getRecord.js +28 -0
- package/privatezone/getRecord.js.map +1 -0
- package/privatezone/getRecords.d.ts +22 -0
- package/privatezone/getRecords.js +24 -0
- package/privatezone/getRecords.js.map +1 -0
- package/privatezone/index.d.ts +9 -0
- package/privatezone/index.js +12 -1
- package/privatezone/index.js.map +1 -1
- package/privatezone/record.d.ts +204 -0
- package/privatezone/record.js +113 -0
- package/privatezone/record.js.map +1 -0
- package/rabbitmq/getInstancePlugin.d.ts +72 -0
- package/rabbitmq/getInstancePlugin.js +28 -0
- package/rabbitmq/getInstancePlugin.js.map +1 -0
- package/rabbitmq/getInstancePlugins.d.ts +22 -0
- package/rabbitmq/getInstancePlugins.js +24 -0
- package/rabbitmq/getInstancePlugins.js.map +1 -0
- package/rabbitmq/getPublicAddress.d.ts +129 -0
- package/rabbitmq/getPublicAddress.js +28 -0
- package/rabbitmq/getPublicAddress.js.map +1 -0
- package/rabbitmq/getPublicAddresses.d.ts +22 -0
- package/rabbitmq/getPublicAddresses.js +24 -0
- package/rabbitmq/getPublicAddresses.js.map +1 -0
- package/rabbitmq/index.d.ts +18 -0
- package/rabbitmq/index.js +23 -1
- package/rabbitmq/index.js.map +1 -1
- package/rabbitmq/instancePlugin.d.ts +137 -0
- package/rabbitmq/instancePlugin.js +89 -0
- package/rabbitmq/instancePlugin.js.map +1 -0
- package/rabbitmq/publicAddress.d.ts +239 -0
- package/rabbitmq/publicAddress.js +120 -0
- package/rabbitmq/publicAddress.js.map +1 -0
- package/rdsmysql/allowList.d.ts +232 -0
- package/rdsmysql/allowList.js +92 -0
- package/rdsmysql/allowList.js.map +1 -0
- package/rdsmysql/backup.d.ts +240 -0
- package/rdsmysql/backup.js +119 -0
- package/rdsmysql/backup.js.map +1 -0
- package/rdsmysql/endpoint.d.ts +325 -0
- package/rdsmysql/endpoint.js +108 -0
- package/rdsmysql/endpoint.js.map +1 -0
- package/rdsmysql/getAllowList.d.ts +109 -0
- package/rdsmysql/getAllowList.js +28 -0
- package/rdsmysql/getAllowList.js.map +1 -0
- package/rdsmysql/getAllowLists.d.ts +22 -0
- package/rdsmysql/getAllowLists.js +24 -0
- package/rdsmysql/getAllowLists.js.map +1 -0
- package/rdsmysql/getBackup.d.ts +125 -0
- package/rdsmysql/getBackup.js +28 -0
- package/rdsmysql/getBackup.js.map +1 -0
- package/rdsmysql/getBackups.d.ts +22 -0
- package/rdsmysql/getBackups.js +24 -0
- package/rdsmysql/getBackups.js.map +1 -0
- package/rdsmysql/getEndpoint.d.ts +141 -0
- package/rdsmysql/getEndpoint.js +28 -0
- package/rdsmysql/getEndpoint.js.map +1 -0
- package/rdsmysql/getEndpoints.d.ts +22 -0
- package/rdsmysql/getEndpoints.js +24 -0
- package/rdsmysql/getEndpoints.js.map +1 -0
- package/rdsmysql/index.d.ts +27 -0
- package/rdsmysql/index.js +34 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +206 -0
- package/rdspostgresql/allowList.js +102 -0
- package/rdspostgresql/allowList.js.map +1 -0
- package/rdspostgresql/dbEndpoint.d.ts +220 -0
- package/rdspostgresql/dbEndpoint.js +103 -0
- package/rdspostgresql/dbEndpoint.js.map +1 -0
- package/rdspostgresql/getAllowList.d.ts +93 -0
- package/rdspostgresql/getAllowList.js +28 -0
- package/rdspostgresql/getAllowList.js.map +1 -0
- package/rdspostgresql/getAllowLists.d.ts +22 -0
- package/rdspostgresql/getAllowLists.js +24 -0
- package/rdspostgresql/getAllowLists.js.map +1 -0
- package/rdspostgresql/getDbEndpoint.d.ts +101 -0
- package/rdspostgresql/getDbEndpoint.js +28 -0
- package/rdspostgresql/getDbEndpoint.js.map +1 -0
- package/rdspostgresql/getDbEndpoints.d.ts +22 -0
- package/rdspostgresql/getDbEndpoints.js +24 -0
- package/rdspostgresql/getDbEndpoints.js.map +1 -0
- package/rdspostgresql/index.d.ts +18 -0
- package/rdspostgresql/index.js +39 -0
- package/rdspostgresql/index.js.map +1 -0
- package/redis/account.d.ts +128 -0
- package/redis/account.js +95 -0
- package/redis/account.js.map +1 -0
- package/redis/endpointPublicAddress.d.ts +150 -0
- package/redis/endpointPublicAddress.js +93 -0
- package/redis/endpointPublicAddress.js.map +1 -0
- package/redis/getAccount.d.ts +60 -0
- package/redis/getAccount.js +28 -0
- package/redis/getAccount.js.map +1 -0
- package/redis/getAccounts.d.ts +22 -0
- package/redis/getAccounts.js +24 -0
- package/redis/getAccounts.js.map +1 -0
- package/redis/getEndpointPublicAddress.d.ts +72 -0
- package/redis/getEndpointPublicAddress.js +28 -0
- package/redis/getEndpointPublicAddress.js.map +1 -0
- package/redis/getEndpointPublicAddresses.d.ts +22 -0
- package/redis/getEndpointPublicAddresses.js +24 -0
- package/redis/getEndpointPublicAddresses.js.map +1 -0
- package/redis/index.d.ts +18 -0
- package/redis/index.js +23 -1
- package/redis/index.js.map +1 -1
- package/rocketmq/getGroup.d.ts +109 -0
- package/rocketmq/getGroup.js +28 -0
- package/rocketmq/getGroup.js.map +1 -0
- package/rocketmq/getGroups.d.ts +22 -0
- package/rocketmq/getGroups.js +24 -0
- package/rocketmq/getGroups.js.map +1 -0
- package/rocketmq/getTopic.d.ts +85 -0
- package/rocketmq/getTopic.js +28 -0
- package/rocketmq/getTopic.js.map +1 -0
- package/rocketmq/getTopics.d.ts +22 -0
- package/rocketmq/getTopics.js +24 -0
- package/rocketmq/getTopics.js.map +1 -0
- package/rocketmq/group.d.ts +219 -0
- package/rocketmq/group.js +117 -0
- package/rocketmq/group.js.map +1 -0
- package/rocketmq/index.d.ts +18 -0
- package/rocketmq/index.js +23 -1
- package/rocketmq/index.js.map +1 -1
- package/rocketmq/topic.d.ts +140 -0
- package/rocketmq/topic.js +92 -0
- package/rocketmq/topic.js.map +1 -0
- package/transitrouter/getVpcAttachment.d.ts +93 -0
- package/transitrouter/getVpcAttachment.js +28 -0
- package/transitrouter/getVpcAttachment.js.map +1 -0
- package/transitrouter/getVpcAttachments.d.ts +22 -0
- package/transitrouter/getVpcAttachments.js +24 -0
- package/transitrouter/getVpcAttachments.js.map +1 -0
- package/transitrouter/getVpnAttachment.d.ts +93 -0
- package/transitrouter/getVpnAttachment.js +28 -0
- package/transitrouter/getVpnAttachment.js.map +1 -0
- package/transitrouter/getVpnAttachments.d.ts +22 -0
- package/transitrouter/getVpnAttachments.js +24 -0
- package/transitrouter/getVpnAttachments.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.js +23 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/vpcAttachment.d.ts +177 -0
- package/transitrouter/vpcAttachment.js +93 -0
- package/transitrouter/vpcAttachment.js.map +1 -0
- package/transitrouter/vpnAttachment.d.ts +202 -0
- package/transitrouter/vpnAttachment.js +113 -0
- package/transitrouter/vpnAttachment.js.map +1 -0
- package/types/input.d.ts +2992 -1496
- package/types/output.d.ts +6161 -3067
- package/vke/defaultNodePool.d.ts +150 -0
- package/vke/defaultNodePool.js +86 -0
- package/vke/defaultNodePool.js.map +1 -0
- package/vke/getDefaultNodePool.d.ts +85 -0
- package/vke/getDefaultNodePool.js +28 -0
- package/vke/getDefaultNodePool.js.map +1 -0
- package/vke/getDefaultNodePools.d.ts +22 -0
- package/vke/getDefaultNodePools.js +24 -0
- package/vke/getDefaultNodePools.js.map +1 -0
- package/vke/getNode.d.ts +106 -0
- package/vke/getNode.js +28 -0
- package/vke/getNode.js.map +1 -0
- package/vke/getNodes.d.ts +22 -0
- package/vke/getNodes.js +24 -0
- package/vke/getNodes.js.map +1 -0
- package/vke/index.d.ts +18 -0
- package/vke/index.js +23 -1
- package/vke/index.js.map +1 -1
- package/vke/node.d.ts +238 -0
- package/vke/node.js +112 -0
- package/vke/node.js.map +1 -0
- package/vpc/flowLog.d.ts +266 -0
- package/vpc/flowLog.js +141 -0
- package/vpc/flowLog.js.map +1 -0
- package/vpc/getFlowLog.d.ts +117 -0
- package/vpc/getFlowLog.js +28 -0
- package/vpc/getFlowLog.js.map +1 -0
- package/vpc/getFlowLogs.d.ts +22 -0
- package/vpc/getFlowLogs.js +24 -0
- package/vpc/getFlowLogs.js.map +1 -0
- package/vpc/getHaVip.d.ts +101 -0
- package/vpc/getHaVip.js +28 -0
- package/vpc/getHaVip.js.map +1 -0
- package/vpc/getHaVips.d.ts +22 -0
- package/vpc/getHaVips.js +24 -0
- package/vpc/getHaVips.js.map +1 -0
- package/vpc/getIpv6AddressBandwidth.d.ts +117 -0
- package/vpc/getIpv6AddressBandwidth.js +28 -0
- package/vpc/getIpv6AddressBandwidth.js.map +1 -0
- package/vpc/getIpv6AddressBandwidths.d.ts +22 -0
- package/vpc/getIpv6AddressBandwidths.js +24 -0
- package/vpc/getIpv6AddressBandwidths.js.map +1 -0
- package/vpc/getIpv6Gateway.d.ts +77 -0
- package/vpc/getIpv6Gateway.js +28 -0
- package/vpc/getIpv6Gateway.js.map +1 -0
- package/vpc/getIpv6Gateways.d.ts +22 -0
- package/vpc/getIpv6Gateways.js +24 -0
- package/vpc/getIpv6Gateways.js.map +1 -0
- package/vpc/getTrafficMirrorFilter.d.ts +73 -0
- package/vpc/getTrafficMirrorFilter.js +28 -0
- package/vpc/getTrafficMirrorFilter.js.map +1 -0
- package/vpc/getTrafficMirrorFilterRule.d.ts +84 -0
- package/vpc/getTrafficMirrorFilterRule.js +28 -0
- package/vpc/getTrafficMirrorFilterRule.js.map +1 -0
- package/vpc/getTrafficMirrorFilterRules.d.ts +22 -0
- package/vpc/getTrafficMirrorFilterRules.js +24 -0
- package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
- package/vpc/getTrafficMirrorFilters.d.ts +22 -0
- package/vpc/getTrafficMirrorFilters.js +24 -0
- package/vpc/getTrafficMirrorFilters.js.map +1 -0
- package/vpc/getTrafficMirrorSession.d.ts +101 -0
- package/vpc/getTrafficMirrorSession.js +28 -0
- package/vpc/getTrafficMirrorSession.js.map +1 -0
- package/vpc/getTrafficMirrorSessions.d.ts +22 -0
- package/vpc/getTrafficMirrorSessions.js +24 -0
- package/vpc/getTrafficMirrorSessions.js.map +1 -0
- package/vpc/getTrafficMirrorTarget.d.ts +77 -0
- package/vpc/getTrafficMirrorTarget.js +28 -0
- package/vpc/getTrafficMirrorTarget.js.map +1 -0
- package/vpc/getTrafficMirrorTargets.d.ts +22 -0
- package/vpc/getTrafficMirrorTargets.js +24 -0
- package/vpc/getTrafficMirrorTargets.js.map +1 -0
- package/vpc/getVpc.d.ts +4 -0
- package/vpc/getVpc.js.map +1 -1
- package/vpc/haVip.d.ts +223 -0
- package/vpc/haVip.js +116 -0
- package/vpc/haVip.js.map +1 -0
- package/vpc/index.d.ts +72 -0
- package/vpc/index.js +90 -1
- package/vpc/index.js.map +1 -1
- package/vpc/ipv6AddressBandwidth.d.ts +241 -0
- package/vpc/ipv6AddressBandwidth.js +121 -0
- package/vpc/ipv6AddressBandwidth.js.map +1 -0
- package/vpc/ipv6Gateway.d.ts +156 -0
- package/vpc/ipv6Gateway.js +97 -0
- package/vpc/ipv6Gateway.js.map +1 -0
- package/vpc/trafficMirrorFilter.d.ts +131 -0
- package/vpc/trafficMirrorFilter.js +91 -0
- package/vpc/trafficMirrorFilter.js.map +1 -0
- package/vpc/trafficMirrorFilterRule.d.ts +201 -0
- package/vpc/trafficMirrorFilterRule.js +118 -0
- package/vpc/trafficMirrorFilterRule.js.map +1 -0
- package/vpc/trafficMirrorSession.d.ts +229 -0
- package/vpc/trafficMirrorSession.js +123 -0
- package/vpc/trafficMirrorSession.js.map +1 -0
- package/vpc/trafficMirrorTarget.d.ts +161 -0
- package/vpc/trafficMirrorTarget.js +101 -0
- package/vpc/trafficMirrorTarget.js.map +1 -0
- package/vpc/vpc.d.ts +12 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
- package/vpn/customerGateway.d.ts +186 -0
- package/vpn/customerGateway.js +101 -0
- package/vpn/customerGateway.js.map +1 -0
- package/vpn/getCustomerGateway.d.ts +89 -0
- package/vpn/getCustomerGateway.js +28 -0
- package/vpn/getCustomerGateway.js.map +1 -0
- package/vpn/getCustomerGateways.d.ts +22 -0
- package/vpn/getCustomerGateways.js +24 -0
- package/vpn/getCustomerGateways.js.map +1 -0
- package/vpn/index.d.ts +9 -0
- package/vpn/index.js +12 -1
- package/vpn/index.js.map +1 -1
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 镜像会话关联镜像源、镜像目的、筛选条件,使从镜像源复制的流量私网转发到镜像目的,是流量镜像的载体。
|
|
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 vPCTrafficMirrorSessionDemo = new volcenginecc.vpc.TrafficMirrorSession("VPCTrafficMirrorSessionDemo", {
|
|
14
|
+
* description: "test-description",
|
|
15
|
+
* networkInterfaceId: "eni-1a1s0wz7xkm4g8nvexxxxx",
|
|
16
|
+
* packetLength: 64,
|
|
17
|
+
* priority: 12,
|
|
18
|
+
* projectName: "default",
|
|
19
|
+
* tags: [{
|
|
20
|
+
* key: "env",
|
|
21
|
+
* value: "test",
|
|
22
|
+
* }],
|
|
23
|
+
* trafficMirrorFilterId: "tmf-bu54sj0bl2bk5h0xxxxx",
|
|
24
|
+
* trafficMirrorSessionName: "test-1",
|
|
25
|
+
* trafficMirrorTargetId: "tmt-ij32u0acvta874o8ctxxxxx",
|
|
26
|
+
* virtualNetworkId: 13,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import volcenginecc:vpc/trafficMirrorSession:TrafficMirrorSession example "traffic_mirror_session_id"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class TrafficMirrorSession extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing TrafficMirrorSession resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TrafficMirrorSessionState, opts?: pulumi.CustomResourceOptions): TrafficMirrorSession;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of TrafficMirrorSession. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is TrafficMirrorSession;
|
|
52
|
+
/**
|
|
53
|
+
* 会话计费状态。Normal:正常计费中。 - FinancialLocked:欠费锁定。
|
|
54
|
+
*/
|
|
55
|
+
readonly businessStatus: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* 创建时间。
|
|
58
|
+
*/
|
|
59
|
+
readonly createdTime: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* 镜像会话实例描述。
|
|
62
|
+
*/
|
|
63
|
+
readonly description: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* 锁定原因。
|
|
66
|
+
*/
|
|
67
|
+
readonly lockReason: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* 镜像源实例ID,当前只支持ECS的主网卡和辅助网卡。
|
|
70
|
+
*/
|
|
71
|
+
readonly networkInterfaceId: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* 镜像会话MTU,超过被截断,取值范围:64~9600。
|
|
74
|
+
*/
|
|
75
|
+
readonly packetLength: pulumi.Output<number>;
|
|
76
|
+
/**
|
|
77
|
+
* 镜像会话优先级,取值范围1 ~ 32766,同一账户下镜像会话优先级不能重复。
|
|
78
|
+
*/
|
|
79
|
+
readonly priority: pulumi.Output<number>;
|
|
80
|
+
/**
|
|
81
|
+
* 所属项目的名称
|
|
82
|
+
*/
|
|
83
|
+
readonly projectName: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* 会话状态。
|
|
86
|
+
*/
|
|
87
|
+
readonly status: pulumi.Output<string>;
|
|
88
|
+
readonly tags: pulumi.Output<outputs.vpc.TrafficMirrorSessionTag[]>;
|
|
89
|
+
/**
|
|
90
|
+
* 筛选条件实例ID。
|
|
91
|
+
*/
|
|
92
|
+
readonly trafficMirrorFilterId: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* 镜像会话实例ID。
|
|
95
|
+
*/
|
|
96
|
+
readonly trafficMirrorSessionId: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* 镜像会话名称。
|
|
99
|
+
*/
|
|
100
|
+
readonly trafficMirrorSessionName: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* 镜像源实例列表。
|
|
103
|
+
*/
|
|
104
|
+
readonly trafficMirrorSourceIds: pulumi.Output<string[]>;
|
|
105
|
+
/**
|
|
106
|
+
* 镜像目的实例ID。
|
|
107
|
+
*/
|
|
108
|
+
readonly trafficMirrorTargetId: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* 镜像会话VNI,取值范围1 ~ 16777215。
|
|
111
|
+
*/
|
|
112
|
+
readonly virtualNetworkId: pulumi.Output<number>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a TrafficMirrorSession resource with the given unique name, arguments, and options.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resource.
|
|
117
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
118
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
119
|
+
*/
|
|
120
|
+
constructor(name: string, args: TrafficMirrorSessionArgs, opts?: pulumi.CustomResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Input properties used for looking up and filtering TrafficMirrorSession resources.
|
|
124
|
+
*/
|
|
125
|
+
export interface TrafficMirrorSessionState {
|
|
126
|
+
/**
|
|
127
|
+
* 会话计费状态。Normal:正常计费中。 - FinancialLocked:欠费锁定。
|
|
128
|
+
*/
|
|
129
|
+
businessStatus?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* 创建时间。
|
|
132
|
+
*/
|
|
133
|
+
createdTime?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* 镜像会话实例描述。
|
|
136
|
+
*/
|
|
137
|
+
description?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* 锁定原因。
|
|
140
|
+
*/
|
|
141
|
+
lockReason?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* 镜像源实例ID,当前只支持ECS的主网卡和辅助网卡。
|
|
144
|
+
*/
|
|
145
|
+
networkInterfaceId?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* 镜像会话MTU,超过被截断,取值范围:64~9600。
|
|
148
|
+
*/
|
|
149
|
+
packetLength?: pulumi.Input<number>;
|
|
150
|
+
/**
|
|
151
|
+
* 镜像会话优先级,取值范围1 ~ 32766,同一账户下镜像会话优先级不能重复。
|
|
152
|
+
*/
|
|
153
|
+
priority?: pulumi.Input<number>;
|
|
154
|
+
/**
|
|
155
|
+
* 所属项目的名称
|
|
156
|
+
*/
|
|
157
|
+
projectName?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* 会话状态。
|
|
160
|
+
*/
|
|
161
|
+
status?: pulumi.Input<string>;
|
|
162
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorSessionTag>[]>;
|
|
163
|
+
/**
|
|
164
|
+
* 筛选条件实例ID。
|
|
165
|
+
*/
|
|
166
|
+
trafficMirrorFilterId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* 镜像会话实例ID。
|
|
169
|
+
*/
|
|
170
|
+
trafficMirrorSessionId?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* 镜像会话名称。
|
|
173
|
+
*/
|
|
174
|
+
trafficMirrorSessionName?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* 镜像源实例列表。
|
|
177
|
+
*/
|
|
178
|
+
trafficMirrorSourceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
179
|
+
/**
|
|
180
|
+
* 镜像目的实例ID。
|
|
181
|
+
*/
|
|
182
|
+
trafficMirrorTargetId?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* 镜像会话VNI,取值范围1 ~ 16777215。
|
|
185
|
+
*/
|
|
186
|
+
virtualNetworkId?: pulumi.Input<number>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* The set of arguments for constructing a TrafficMirrorSession resource.
|
|
190
|
+
*/
|
|
191
|
+
export interface TrafficMirrorSessionArgs {
|
|
192
|
+
/**
|
|
193
|
+
* 镜像会话实例描述。
|
|
194
|
+
*/
|
|
195
|
+
description?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* 镜像源实例ID,当前只支持ECS的主网卡和辅助网卡。
|
|
198
|
+
*/
|
|
199
|
+
networkInterfaceId: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* 镜像会话MTU,超过被截断,取值范围:64~9600。
|
|
202
|
+
*/
|
|
203
|
+
packetLength?: pulumi.Input<number>;
|
|
204
|
+
/**
|
|
205
|
+
* 镜像会话优先级,取值范围1 ~ 32766,同一账户下镜像会话优先级不能重复。
|
|
206
|
+
*/
|
|
207
|
+
priority: pulumi.Input<number>;
|
|
208
|
+
/**
|
|
209
|
+
* 所属项目的名称
|
|
210
|
+
*/
|
|
211
|
+
projectName?: pulumi.Input<string>;
|
|
212
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorSessionTag>[]>;
|
|
213
|
+
/**
|
|
214
|
+
* 筛选条件实例ID。
|
|
215
|
+
*/
|
|
216
|
+
trafficMirrorFilterId: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* 镜像会话名称。
|
|
219
|
+
*/
|
|
220
|
+
trafficMirrorSessionName?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* 镜像目的实例ID。
|
|
223
|
+
*/
|
|
224
|
+
trafficMirrorTargetId: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* 镜像会话VNI,取值范围1 ~ 16777215。
|
|
227
|
+
*/
|
|
228
|
+
virtualNetworkId?: pulumi.Input<number>;
|
|
229
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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.TrafficMirrorSession = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 镜像会话关联镜像源、镜像目的、筛选条件,使从镜像源复制的流量私网转发到镜像目的,是流量镜像的载体。
|
|
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 vPCTrafficMirrorSessionDemo = new volcenginecc.vpc.TrafficMirrorSession("VPCTrafficMirrorSessionDemo", {
|
|
18
|
+
* description: "test-description",
|
|
19
|
+
* networkInterfaceId: "eni-1a1s0wz7xkm4g8nvexxxxx",
|
|
20
|
+
* packetLength: 64,
|
|
21
|
+
* priority: 12,
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* tags: [{
|
|
24
|
+
* key: "env",
|
|
25
|
+
* value: "test",
|
|
26
|
+
* }],
|
|
27
|
+
* trafficMirrorFilterId: "tmf-bu54sj0bl2bk5h0xxxxx",
|
|
28
|
+
* trafficMirrorSessionName: "test-1",
|
|
29
|
+
* trafficMirrorTargetId: "tmt-ij32u0acvta874o8ctxxxxx",
|
|
30
|
+
* virtualNetworkId: 13,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import volcenginecc:vpc/trafficMirrorSession:TrafficMirrorSession example "traffic_mirror_session_id"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class TrafficMirrorSession extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing TrafficMirrorSession 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 TrafficMirrorSession(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of TrafficMirrorSession. 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'] === TrafficMirrorSession.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
|
|
69
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
70
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
71
|
+
resourceInputs["lockReason"] = state ? state.lockReason : undefined;
|
|
72
|
+
resourceInputs["networkInterfaceId"] = state ? state.networkInterfaceId : undefined;
|
|
73
|
+
resourceInputs["packetLength"] = state ? state.packetLength : undefined;
|
|
74
|
+
resourceInputs["priority"] = state ? state.priority : undefined;
|
|
75
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
76
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
77
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
78
|
+
resourceInputs["trafficMirrorFilterId"] = state ? state.trafficMirrorFilterId : undefined;
|
|
79
|
+
resourceInputs["trafficMirrorSessionId"] = state ? state.trafficMirrorSessionId : undefined;
|
|
80
|
+
resourceInputs["trafficMirrorSessionName"] = state ? state.trafficMirrorSessionName : undefined;
|
|
81
|
+
resourceInputs["trafficMirrorSourceIds"] = state ? state.trafficMirrorSourceIds : undefined;
|
|
82
|
+
resourceInputs["trafficMirrorTargetId"] = state ? state.trafficMirrorTargetId : undefined;
|
|
83
|
+
resourceInputs["virtualNetworkId"] = state ? state.virtualNetworkId : undefined;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
const args = argsOrState;
|
|
87
|
+
if ((!args || args.networkInterfaceId === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'networkInterfaceId'");
|
|
89
|
+
}
|
|
90
|
+
if ((!args || args.priority === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'priority'");
|
|
92
|
+
}
|
|
93
|
+
if ((!args || args.trafficMirrorFilterId === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'trafficMirrorFilterId'");
|
|
95
|
+
}
|
|
96
|
+
if ((!args || args.trafficMirrorTargetId === undefined) && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'trafficMirrorTargetId'");
|
|
98
|
+
}
|
|
99
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
100
|
+
resourceInputs["networkInterfaceId"] = args ? args.networkInterfaceId : undefined;
|
|
101
|
+
resourceInputs["packetLength"] = args ? args.packetLength : undefined;
|
|
102
|
+
resourceInputs["priority"] = args ? args.priority : undefined;
|
|
103
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
104
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
105
|
+
resourceInputs["trafficMirrorFilterId"] = args ? args.trafficMirrorFilterId : undefined;
|
|
106
|
+
resourceInputs["trafficMirrorSessionName"] = args ? args.trafficMirrorSessionName : undefined;
|
|
107
|
+
resourceInputs["trafficMirrorTargetId"] = args ? args.trafficMirrorTargetId : undefined;
|
|
108
|
+
resourceInputs["virtualNetworkId"] = args ? args.virtualNetworkId : undefined;
|
|
109
|
+
resourceInputs["businessStatus"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["lockReason"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["trafficMirrorSessionId"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["trafficMirrorSourceIds"] = undefined /*out*/;
|
|
115
|
+
}
|
|
116
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
117
|
+
super(TrafficMirrorSession.__pulumiType, name, resourceInputs, opts);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.TrafficMirrorSession = TrafficMirrorSession;
|
|
121
|
+
/** @internal */
|
|
122
|
+
TrafficMirrorSession.__pulumiType = 'volcenginecc:vpc/trafficMirrorSession:TrafficMirrorSession';
|
|
123
|
+
//# sourceMappingURL=trafficMirrorSession.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trafficMirrorSession.js","sourceRoot":"","sources":["../../vpc/trafficMirrorSession.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAwED,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAA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AAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7D,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAxJL,oDAyJC;AA3IG,gBAAgB;AACO,iCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 镜像目的是收集流量的网卡或传统型负载均衡。您可以通过流量镜像,按自己设定的筛选条件复制网卡的流量,并将复制的流量私网转发到目标服务进行监控分析。
|
|
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 vPCTrafficMirrorTargetDemo = new volcenginecc.vpc.TrafficMirrorTarget("VPCTrafficMirrorTargetDemo", {
|
|
14
|
+
* trafficMirrorTargetName: "test-terraformtest",
|
|
15
|
+
* description: "this is a test",
|
|
16
|
+
* instanceId: "eni-2yggxh4o692bk6asvxxxxx",
|
|
17
|
+
* instanceType: "NetworkInterface",
|
|
18
|
+
* projectName: "default",
|
|
19
|
+
* tags: [{
|
|
20
|
+
* key: "env",
|
|
21
|
+
* value: "test",
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import volcenginecc:vpc/trafficMirrorTarget:TrafficMirrorTarget example "traffic_mirror_target_id"
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class TrafficMirrorTarget extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing TrafficMirrorTarget resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TrafficMirrorTargetState, opts?: pulumi.CustomResourceOptions): TrafficMirrorTarget;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of TrafficMirrorTarget. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is TrafficMirrorTarget;
|
|
48
|
+
/**
|
|
49
|
+
* 镜像会话的创建时间。
|
|
50
|
+
*/
|
|
51
|
+
readonly createdAt: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* 监听器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填则默认值为空字符串。
|
|
54
|
+
*/
|
|
55
|
+
readonly description: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* 镜像目的的资源ID。
|
|
58
|
+
*/
|
|
59
|
+
readonly instanceId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* 镜像目的的资源类型。NetworkInterface:弹性网卡。ClbInstance:传统型负载均衡。
|
|
62
|
+
*/
|
|
63
|
+
readonly instanceType: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* 镜像目的所属项目的名称。不填默认加入default项目。
|
|
66
|
+
*/
|
|
67
|
+
readonly projectName: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* 镜像目的状态。Available:可用。Creating:创建中。
|
|
70
|
+
*/
|
|
71
|
+
readonly status: pulumi.Output<string>;
|
|
72
|
+
readonly tags: pulumi.Output<outputs.vpc.TrafficMirrorTargetTag[]>;
|
|
73
|
+
/**
|
|
74
|
+
* 镜像目的的ID。
|
|
75
|
+
*/
|
|
76
|
+
readonly trafficMirrorTargetId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* 监听器的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线_)和中划线(-)。长度限制在1~128字符之间。不填则默认将“协议-端口”作为监听器名称。
|
|
79
|
+
*/
|
|
80
|
+
readonly trafficMirrorTargetName: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* 镜像会话的更新时间。
|
|
83
|
+
*/
|
|
84
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Create a TrafficMirrorTarget resource with the given unique name, arguments, and options.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resource.
|
|
89
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
90
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
91
|
+
*/
|
|
92
|
+
constructor(name: string, args: TrafficMirrorTargetArgs, opts?: pulumi.CustomResourceOptions);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Input properties used for looking up and filtering TrafficMirrorTarget resources.
|
|
96
|
+
*/
|
|
97
|
+
export interface TrafficMirrorTargetState {
|
|
98
|
+
/**
|
|
99
|
+
* 镜像会话的创建时间。
|
|
100
|
+
*/
|
|
101
|
+
createdAt?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 监听器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填则默认值为空字符串。
|
|
104
|
+
*/
|
|
105
|
+
description?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* 镜像目的的资源ID。
|
|
108
|
+
*/
|
|
109
|
+
instanceId?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* 镜像目的的资源类型。NetworkInterface:弹性网卡。ClbInstance:传统型负载均衡。
|
|
112
|
+
*/
|
|
113
|
+
instanceType?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 镜像目的所属项目的名称。不填默认加入default项目。
|
|
116
|
+
*/
|
|
117
|
+
projectName?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* 镜像目的状态。Available:可用。Creating:创建中。
|
|
120
|
+
*/
|
|
121
|
+
status?: pulumi.Input<string>;
|
|
122
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorTargetTag>[]>;
|
|
123
|
+
/**
|
|
124
|
+
* 镜像目的的ID。
|
|
125
|
+
*/
|
|
126
|
+
trafficMirrorTargetId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* 监听器的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线_)和中划线(-)。长度限制在1~128字符之间。不填则默认将“协议-端口”作为监听器名称。
|
|
129
|
+
*/
|
|
130
|
+
trafficMirrorTargetName?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* 镜像会话的更新时间。
|
|
133
|
+
*/
|
|
134
|
+
updatedAt?: pulumi.Input<string>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a TrafficMirrorTarget resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface TrafficMirrorTargetArgs {
|
|
140
|
+
/**
|
|
141
|
+
* 监听器的描述。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:英文逗号(,)、点(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。长度限制为0 ~ 255个字符。不填则默认值为空字符串。
|
|
142
|
+
*/
|
|
143
|
+
description?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* 镜像目的的资源ID。
|
|
146
|
+
*/
|
|
147
|
+
instanceId: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* 镜像目的的资源类型。NetworkInterface:弹性网卡。ClbInstance:传统型负载均衡。
|
|
150
|
+
*/
|
|
151
|
+
instanceType: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* 镜像目的所属项目的名称。不填默认加入default项目。
|
|
154
|
+
*/
|
|
155
|
+
projectName?: pulumi.Input<string>;
|
|
156
|
+
tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorTargetTag>[]>;
|
|
157
|
+
/**
|
|
158
|
+
* 监听器的名称。必须以字母、数字或中文开头,可包含字母、数字、中文及以下特殊字符:点号(.)、下划线_)和中划线(-)。长度限制在1~128字符之间。不填则默认将“协议-端口”作为监听器名称。
|
|
159
|
+
*/
|
|
160
|
+
trafficMirrorTargetName?: pulumi.Input<string>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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.TrafficMirrorTarget = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 镜像目的是收集流量的网卡或传统型负载均衡。您可以通过流量镜像,按自己设定的筛选条件复制网卡的流量,并将复制的流量私网转发到目标服务进行监控分析。
|
|
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 vPCTrafficMirrorTargetDemo = new volcenginecc.vpc.TrafficMirrorTarget("VPCTrafficMirrorTargetDemo", {
|
|
18
|
+
* trafficMirrorTargetName: "test-terraformtest",
|
|
19
|
+
* description: "this is a test",
|
|
20
|
+
* instanceId: "eni-2yggxh4o692bk6asvxxxxx",
|
|
21
|
+
* instanceType: "NetworkInterface",
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* tags: [{
|
|
24
|
+
* key: "env",
|
|
25
|
+
* value: "test",
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import volcenginecc:vpc/trafficMirrorTarget:TrafficMirrorTarget example "traffic_mirror_target_id"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class TrafficMirrorTarget extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing TrafficMirrorTarget resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new TrafficMirrorTarget(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of TrafficMirrorTarget. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === TrafficMirrorTarget.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
65
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
66
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
67
|
+
resourceInputs["instanceType"] = state ? state.instanceType : undefined;
|
|
68
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
69
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
70
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
71
|
+
resourceInputs["trafficMirrorTargetId"] = state ? state.trafficMirrorTargetId : undefined;
|
|
72
|
+
resourceInputs["trafficMirrorTargetName"] = state ? state.trafficMirrorTargetName : undefined;
|
|
73
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'instanceId'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.instanceType === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'instanceType'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
84
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
85
|
+
resourceInputs["instanceType"] = args ? args.instanceType : undefined;
|
|
86
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
87
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
88
|
+
resourceInputs["trafficMirrorTargetName"] = args ? args.trafficMirrorTargetName : undefined;
|
|
89
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["trafficMirrorTargetId"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
93
|
+
}
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
super(TrafficMirrorTarget.__pulumiType, name, resourceInputs, opts);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.TrafficMirrorTarget = TrafficMirrorTarget;
|
|
99
|
+
/** @internal */
|
|
100
|
+
TrafficMirrorTarget.__pulumiType = 'volcenginecc:vpc/trafficMirrorTarget:TrafficMirrorTarget';
|
|
101
|
+
//# sourceMappingURL=trafficMirrorTarget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trafficMirrorTarget.js","sourceRoot":"","sources":["../../vpc/trafficMirrorTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,I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ACtD,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9GL,kDA+GC;AAjGG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
|
package/vpc/vpc.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ export declare class Vpc extends pulumi.CustomResource {
|
|
|
47
47
|
* VPC的DNS服务器地址。单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。多个IP之间用&分隔。不填则配置为默认DNS服务器地址。
|
|
48
48
|
*/
|
|
49
49
|
readonly dnsServers: pulumi.Output<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* 是否开启IPv6网段。false(默认值):不开启。true:开启。
|
|
52
|
+
*/
|
|
53
|
+
readonly enableIpv6: pulumi.Output<boolean>;
|
|
50
54
|
/**
|
|
51
55
|
* VPC 绑定的 IPv4 网关的 ID。
|
|
52
56
|
*/
|
|
@@ -146,6 +150,10 @@ export interface VpcState {
|
|
|
146
150
|
* VPC的DNS服务器地址。单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。多个IP之间用&分隔。不填则配置为默认DNS服务器地址。
|
|
147
151
|
*/
|
|
148
152
|
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
|
+
/**
|
|
154
|
+
* 是否开启IPv6网段。false(默认值):不开启。true:开启。
|
|
155
|
+
*/
|
|
156
|
+
enableIpv6?: pulumi.Input<boolean>;
|
|
149
157
|
/**
|
|
150
158
|
* VPC 绑定的 IPv4 网关的 ID。
|
|
151
159
|
*/
|
|
@@ -228,6 +236,10 @@ export interface VpcArgs {
|
|
|
228
236
|
* VPC的DNS服务器地址。单次调用数量上限为5个,每个DnsServer必须以合法IP形式给出。多个IP之间用&分隔。不填则配置为默认DNS服务器地址。
|
|
229
237
|
*/
|
|
230
238
|
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
239
|
+
/**
|
|
240
|
+
* 是否开启IPv6网段。false(默认值):不开启。true:开启。
|
|
241
|
+
*/
|
|
242
|
+
enableIpv6?: pulumi.Input<boolean>;
|
|
231
243
|
/**
|
|
232
244
|
* VPC 绑定的 IPv4 网关的 ID。
|
|
233
245
|
*/
|