import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Inventory resource in Oracle Cloud Infrastructure Cloud Bridge service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/OCB/latest/Inventory * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudBridge * * Creates an inventory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInventory = new oci.cloudbridge.Inventory("test_inventory", { * compartmentId: compartmentId, * displayName: inventoryDisplayName, * definedTags: { * "Operations.CostCenter": "42", * }, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * Inventories can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudBridge/inventory:Inventory test_inventory "id" * ``` */ export declare class Inventory extends pulumi.CustomResource { /** * Get an existing Inventory 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?: InventoryState, opts?: pulumi.CustomResourceOptions): Inventory; /** * Returns true if the given object is an instance of Inventory. 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 Inventory; /** * The OCID of the tenantId. */ readonly compartmentId: pulumi.Output; /** * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Inventory displayName. */ readonly displayName: pulumi.Output; /** * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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 freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * The current state of the inventory. */ readonly state: pulumi.Output; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time when the inventory was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time when the inventory was updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * Create a Inventory 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: InventoryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Inventory resources. */ export interface InventoryState { /** * The OCID of the tenantId. */ compartmentId?: pulumi.Input; /** * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Inventory displayName. */ displayName?: pulumi.Input; /** * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * The current state of the inventory. */ state?: pulumi.Input; /** * The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time when the inventory was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time when the inventory was updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a Inventory resource. */ export interface InventoryArgs { /** * The OCID of the tenantId. */ compartmentId: pulumi.Input; /** * (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Inventory displayName. */ displayName: pulumi.Input; /** * (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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 */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=inventory.d.ts.map