1. Packages
  2. Sumo Logic
  3. API Docs
  4. getCseLogMappingVendorProduct
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

sumologic.getCseLogMappingVendorProduct

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const webGateway = sumologic.getCseLogMappingVendorProduct({
        product: "Web Gateway",
        vendor: "McAfee",
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    web_gateway = sumologic.get_cse_log_mapping_vendor_product(product="Web Gateway",
        vendor="McAfee")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.GetCseLogMappingVendorProduct(ctx, &sumologic.GetCseLogMappingVendorProductArgs{
    			Product: "Web Gateway",
    			Vendor:  "McAfee",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var webGateway = SumoLogic.GetCseLogMappingVendorProduct.Invoke(new()
        {
            Product = "Web Gateway",
            Vendor = "McAfee",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.SumologicFunctions;
    import com.pulumi.sumologic.inputs.GetCseLogMappingVendorProductArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var webGateway = SumologicFunctions.getCseLogMappingVendorProduct(GetCseLogMappingVendorProductArgs.builder()
                .product("Web Gateway")
                .vendor("McAfee")
                .build());
    
        }
    }
    
    variables:
      webGateway:
        fn::invoke:
          Function: sumologic:getCseLogMappingVendorProduct
          Arguments:
            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.

    Using getCseLogMappingVendorProduct

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCseLogMappingVendorProduct(args: GetCseLogMappingVendorProductArgs, opts?: InvokeOptions): Promise<GetCseLogMappingVendorProductResult>
    function getCseLogMappingVendorProductOutput(args: GetCseLogMappingVendorProductOutputArgs, opts?: InvokeOptions): Output<GetCseLogMappingVendorProductResult>
    def get_cse_log_mapping_vendor_product(guid: Optional[str] = None,
                                           product: Optional[str] = None,
                                           vendor: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCseLogMappingVendorProductResult
    def get_cse_log_mapping_vendor_product_output(guid: Optional[pulumi.Input[str]] = None,
                                           product: Optional[pulumi.Input[str]] = None,
                                           vendor: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCseLogMappingVendorProductResult]
    func GetCseLogMappingVendorProduct(ctx *Context, args *GetCseLogMappingVendorProductArgs, opts ...InvokeOption) (*GetCseLogMappingVendorProductResult, error)
    func GetCseLogMappingVendorProductOutput(ctx *Context, args *GetCseLogMappingVendorProductOutputArgs, opts ...InvokeOption) GetCseLogMappingVendorProductResultOutput

    > Note: This function is named GetCseLogMappingVendorProduct in the Go SDK.

    public static class GetCseLogMappingVendorProduct 
    {
        public static Task<GetCseLogMappingVendorProductResult> InvokeAsync(GetCseLogMappingVendorProductArgs args, InvokeOptions? opts = null)
        public static Output<GetCseLogMappingVendorProductResult> Invoke(GetCseLogMappingVendorProductInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCseLogMappingVendorProductResult> getCseLogMappingVendorProduct(GetCseLogMappingVendorProductArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sumologic:index/getCseLogMappingVendorProduct:getCseLogMappingVendorProduct
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Product string
    Vendor string
    Guid string
    Product string
    Vendor string
    Guid string
    product String
    vendor String
    guid String
    product string
    vendor string
    guid string
    product str
    vendor str
    guid str
    product String
    vendor String
    guid String

    getCseLogMappingVendorProduct Result

    The following output properties are available:

    Guid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Product string
    Vendor string
    Guid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Product string
    Vendor string
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    product String
    vendor String
    guid string
    id string
    The provider-assigned unique ID for this managed resource.
    product string
    vendor string
    guid str
    id str
    The provider-assigned unique ID for this managed resource.
    product str
    vendor str
    guid String
    id String
    The provider-assigned unique ID for this managed resource.
    product String
    vendor String

    Package Details

    Repository
    Sumo Logic pulumi/pulumi-sumologic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi