import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Operations Insights Warehouse resource in Oracle Cloud Infrastructure Opsi service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operations-insights/latest/OperationsInsightsWarehouse * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osi * * Create a Ops Insights Warehouse resource for the tenant in Ops Insights. New ADW will be provisioned for this tenant. * There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment. If the 'opsi-warehouse-type' * header is passed to the API, a warehouse resource without ADW or Schema provisioning is created. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOperationsInsightsWarehouse = new oci.opsi.OperationsInsightsWarehouse("test_operations_insights_warehouse", { * compartmentId: compartmentId, * cpuAllocated: operationsInsightsWarehouseCpuAllocated, * displayName: operationsInsightsWarehouseDisplayName, * computeModel: operationsInsightsWarehouseComputeModel, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * storageAllocatedInGbs: operationsInsightsWarehouseStorageAllocatedInGbs, * }); * ``` * * ## Import * * OperationsInsightsWarehouses can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Opsi/operationsInsightsWarehouse:OperationsInsightsWarehouse test_operations_insights_warehouse "id" * ``` */ export declare class OperationsInsightsWarehouse extends pulumi.CustomResource { /** * Get an existing OperationsInsightsWarehouse resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OperationsInsightsWarehouseState, opts?: pulumi.CustomResourceOptions): OperationsInsightsWarehouse; /** * Returns true if the given object is an instance of OperationsInsightsWarehouse. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OperationsInsightsWarehouse; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) The compute model for the OPSI warehouse ADW (OCPU or ECPU) */ readonly computeModel: pulumi.Output; /** * (Updatable) Number of CPUs allocated to OPSI Warehouse ADW. */ readonly cpuAllocated: pulumi.Output; /** * Number of OCPUs used by OPSI Warehouse ADW. Can be fractional. */ readonly cpuUsed: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) User-friedly name of Ops Insights Warehouse that does not have to be unique. */ readonly displayName: pulumi.Output; /** * OCID of the dynamic group created for the warehouse */ readonly dynamicGroupId: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * Tenancy Identifier of Ops Insights service */ readonly operationsInsightsTenancyId: pulumi.Output; /** * Possible lifecycle states */ readonly state: pulumi.Output; /** * (Updatable) Storage allocated to OPSI Warehouse ADW. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly storageAllocatedInGbs: pulumi.Output; /** * Storage by OPSI Warehouse ADW in GB. */ readonly storageUsedInGbs: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time at which the resource was first created. An RFC3339 formatted datetime string */ readonly timeCreated: pulumi.Output; /** * The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string */ readonly timeLastWalletRotated: pulumi.Output; /** * The time at which the resource was last updated. An RFC3339 formatted datetime string */ readonly timeUpdated: pulumi.Output; /** * Create a OperationsInsightsWarehouse resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OperationsInsightsWarehouseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OperationsInsightsWarehouse resources. */ export interface OperationsInsightsWarehouseState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) The compute model for the OPSI warehouse ADW (OCPU or ECPU) */ computeModel?: pulumi.Input; /** * (Updatable) Number of CPUs allocated to OPSI Warehouse ADW. */ cpuAllocated?: pulumi.Input; /** * Number of OCPUs used by OPSI Warehouse ADW. Can be fractional. */ cpuUsed?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-friedly name of Ops Insights Warehouse that does not have to be unique. */ displayName?: pulumi.Input; /** * OCID of the dynamic group created for the warehouse */ dynamicGroupId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * Tenancy Identifier of Ops Insights service */ operationsInsightsTenancyId?: pulumi.Input; /** * Possible lifecycle states */ state?: pulumi.Input; /** * (Updatable) Storage allocated to OPSI Warehouse ADW. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ storageAllocatedInGbs?: pulumi.Input; /** * Storage by OPSI Warehouse ADW in GB. */ storageUsedInGbs?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time at which the resource was first created. An RFC3339 formatted datetime string */ timeCreated?: pulumi.Input; /** * The time at which the ADW wallet was last rotated for the Ops Insights Warehouse. An RFC3339 formatted datetime string */ timeLastWalletRotated?: pulumi.Input; /** * The time at which the resource was last updated. An RFC3339 formatted datetime string */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a OperationsInsightsWarehouse resource. */ export interface OperationsInsightsWarehouseArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) The compute model for the OPSI warehouse ADW (OCPU or ECPU) */ computeModel?: pulumi.Input; /** * (Updatable) Number of CPUs allocated to OPSI Warehouse ADW. */ cpuAllocated: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-friedly name of Ops Insights Warehouse that does not have to be unique. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Storage allocated to OPSI Warehouse ADW. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ storageAllocatedInGbs?: pulumi.Input; } //# sourceMappingURL=operationsInsightsWarehouse.d.ts.map