UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

63 lines 2.39 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.flowLogsOutput = exports.flowLogs = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of flow logs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.vpc.getFlowLogs({ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"], * }); * ``` */ /** @deprecated volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs */ function flowLogs(args, opts) { pulumi.log.warn("flowLogs is deprecated: volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:vpc/flowLogs:FlowLogs", { "aggregationInterval": args.aggregationInterval, "description": args.description, "flowLogIds": args.flowLogIds, "flowLogName": args.flowLogName, "logProjectId": args.logProjectId, "logTopicId": args.logTopicId, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "projectName": args.projectName, "resourceId": args.resourceId, "resourceType": args.resourceType, "status": args.status, "tags": args.tags, "trafficType": args.trafficType, "vpcId": args.vpcId, }, opts); } exports.flowLogs = flowLogs; /** * Use this data source to query detailed information of flow logs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.vpc.getFlowLogs({ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"], * }); * ``` */ /** @deprecated volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs */ function flowLogsOutput(args, opts) { return pulumi.output(args).apply((a) => flowLogs(a, opts)); } exports.flowLogsOutput = flowLogsOutput; //# sourceMappingURL=flowLogs.js.map