UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

76 lines 3.69 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.getPartitionsOutput = exports.getPartitions = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides a way to retrieve all [Sumologic Partitions](https://help.sumologic.com/docs/manage/partitions/data-tiers/). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const partitions = sumologic.getPartitions({}); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `name` - The name of the partition. * - `routingExpression` - The query that defines the data to be included in the partition. * - `analyticsTier` - The Data Tier where the data in the partition will reside. Possible values are: `continuous`, `frequent`, `infrequent` * - `retentionPeriod` - The number of days to retain data in the partition. * - `isCompliant` - Whether the partition is used for compliance or audit purposes. * - `isIncludedInDefaultSearch` - Whether the partition is included in the default search scope. * - `totalBytes` - The size of the data in the partition in bytes. * - `isActive` - Whether the partition is currently active or decommissioned. * - `indexType` - The type of partition index. Possible values are: `DefaultIndex`, `AuditIndex`or `Partition` * - `dataForwardingId` - The ID of the data forwarding configuration to be used by the partition. * * [1]: https://help.sumologic.com/docs/manage/partitions/data-tiers/ */ function getPartitions(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sumologic:index/getPartitions:getPartitions", {}, opts); } exports.getPartitions = getPartitions; /** * Provides a way to retrieve all [Sumologic Partitions](https://help.sumologic.com/docs/manage/partitions/data-tiers/). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const partitions = sumologic.getPartitions({}); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `name` - The name of the partition. * - `routingExpression` - The query that defines the data to be included in the partition. * - `analyticsTier` - The Data Tier where the data in the partition will reside. Possible values are: `continuous`, `frequent`, `infrequent` * - `retentionPeriod` - The number of days to retain data in the partition. * - `isCompliant` - Whether the partition is used for compliance or audit purposes. * - `isIncludedInDefaultSearch` - Whether the partition is included in the default search scope. * - `totalBytes` - The size of the data in the partition in bytes. * - `isActive` - Whether the partition is currently active or decommissioned. * - `indexType` - The type of partition index. Possible values are: `DefaultIndex`, `AuditIndex`or `Partition` * - `dataForwardingId` - The ID of the data forwarding configuration to be used by the partition. * * [1]: https://help.sumologic.com/docs/manage/partitions/data-tiers/ */ function getPartitionsOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sumologic:index/getPartitions:getPartitions", {}, opts); } exports.getPartitionsOutput = getPartitionsOutput; //# sourceMappingURL=getPartitions.js.map