@pulumi/sumologic
Version:
A Pulumi package for creating and managing sumologic cloud resources.
74 lines • 2.76 kB
JavaScript
;
// *** 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.getCseLogMappingVendorProductOutput = exports.getCseLogMappingVendorProduct = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sumologic from "@pulumi/sumologic";
*
* const webGateway = sumologic.getCseLogMappingVendorProduct({
* product: "Web Gateway",
* vendor: "McAfee",
* });
* ```
*
* A Log mapping vendor product can be looked up by providing values of `product` and `vendor`
* Both `product` and `vendor` values are mandatory. If not provided an error will be generated.
*
* ## Attributes reference
*
* The following attributes are exported:
*
* - `guid` - The internal GUID of the log mapping vendor product.
* - `product` - The name of the product.
* - `vendor` - The name of the vendor.
*/
function getCseLogMappingVendorProduct(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("sumologic:index/getCseLogMappingVendorProduct:getCseLogMappingVendorProduct", {
"guid": args.guid,
"product": args.product,
"vendor": args.vendor,
}, opts);
}
exports.getCseLogMappingVendorProduct = getCseLogMappingVendorProduct;
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sumologic from "@pulumi/sumologic";
*
* const webGateway = sumologic.getCseLogMappingVendorProduct({
* product: "Web Gateway",
* vendor: "McAfee",
* });
* ```
*
* A Log mapping vendor product can be looked up by providing values of `product` and `vendor`
* Both `product` and `vendor` values are mandatory. If not provided an error will be generated.
*
* ## Attributes reference
*
* The following attributes are exported:
*
* - `guid` - The internal GUID of the log mapping vendor product.
* - `product` - The name of the product.
* - `vendor` - The name of the vendor.
*/
function getCseLogMappingVendorProductOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("sumologic:index/getCseLogMappingVendorProduct:getCseLogMappingVendorProduct", {
"guid": args.guid,
"product": args.product,
"vendor": args.vendor,
}, opts);
}
exports.getCseLogMappingVendorProductOutput = getCseLogMappingVendorProductOutput;
//# sourceMappingURL=getCseLogMappingVendorProduct.js.map