UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

56 lines 1.86 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.getCallerIdentityOutput = exports.getCallerIdentity = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides an easy way to retrieve Sumo Logic auth details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const current = sumologic.getCallerIdentity({}); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `accessId` - Sumo Logic access ID. * - `environment` - API endpoint environment. */ function getCallerIdentity(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sumologic:index/getCallerIdentity:getCallerIdentity", {}, opts); } exports.getCallerIdentity = getCallerIdentity; /** * Provides an easy way to retrieve Sumo Logic auth details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const current = sumologic.getCallerIdentity({}); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `accessId` - Sumo Logic access ID. * - `environment` - API endpoint environment. */ function getCallerIdentityOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sumologic:index/getCallerIdentity:getCallerIdentity", {}, opts); } exports.getCallerIdentityOutput = getCallerIdentityOutput; //# sourceMappingURL=getCallerIdentity.js.map