import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Opsi Configuration resource in Oracle Cloud Infrastructure Opsi service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operations-insights/latest/OpsiConfiguration * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osi * * Create an OPSI configuration resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testOpsiConfiguration = new oci.opsi.OpsiConfiguration("test_opsi_configuration", { * opsiConfigType: opsiConfigurationOpsiConfigType, * compartmentId: compartmentId, * configItemCustomStatuses: opsiConfigurationConfigItemCustomStatus, * configItemFields: opsiConfigurationConfigItemField, * configItems: [{ * configItemType: opsiConfigurationConfigItemsConfigItemType, * name: opsiConfigurationConfigItemsName, * value: opsiConfigurationConfigItemsValue, * }], * configItemsApplicableContexts: opsiConfigurationConfigItemsApplicableContext, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: opsiConfigurationDescription, * displayName: opsiConfigurationDisplayName, * freeformTags: { * "bar-key": "value", * }, * opsiConfigFields: opsiConfigurationOpsiConfigField, * systemTags: opsiConfigurationSystemTags, * }); * ``` * * ## Import * * OpsiConfigurations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Opsi/opsiConfiguration:OpsiConfiguration test_opsi_configuration "id" * ``` */ export declare class OpsiConfiguration extends pulumi.CustomResource { /** * Get an existing OpsiConfiguration 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?: OpsiConfigurationState, opts?: pulumi.CustomResourceOptions): OpsiConfiguration; /** * Returns true if the given object is an instance of OpsiConfiguration. 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 OpsiConfiguration; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned. */ readonly configItemCustomStatuses: pulumi.Output; /** * Specifies the fields to return in a config item summary. */ readonly configItemFields: pulumi.Output; /** * (Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array. */ readonly configItems: pulumi.Output; /** * Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned. */ readonly configItemsApplicableContexts: 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) Description of OPSI configuration. */ readonly description: pulumi.Output; /** * (Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique. */ readonly displayName: 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; /** * Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default. */ readonly opsiConfigFields: pulumi.Output; /** * (Updatable) OPSI configuration type. */ readonly opsiConfigType: pulumi.Output; /** * OPSI configuration resource lifecycle state. */ readonly state: pulumi.Output; /** * (Updatable) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** 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 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 resource was last updated. An RFC3339 formatted datetime string */ readonly timeUpdated: pulumi.Output; /** * Create a OpsiConfiguration 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: OpsiConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OpsiConfiguration resources. */ export interface OpsiConfigurationState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned. */ configItemCustomStatuses?: pulumi.Input[] | undefined>; /** * Specifies the fields to return in a config item summary. */ configItemFields?: pulumi.Input[] | undefined>; /** * (Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array. */ configItems?: pulumi.Input[] | undefined>; /** * Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned. */ configItemsApplicableContexts?: pulumi.Input[] | undefined>; /** * (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) Description of OPSI configuration. */ description?: pulumi.Input; /** * (Updatable) User-friendly display name for the OPSI configuration. The name 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>; /** * 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; /** * Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default. */ opsiConfigFields?: pulumi.Input[] | undefined>; /** * (Updatable) OPSI configuration type. */ opsiConfigType?: pulumi.Input; /** * OPSI configuration resource lifecycle state. */ state?: pulumi.Input; /** * (Updatable) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** 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 */ 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 resource was last updated. An RFC3339 formatted datetime string */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a OpsiConfiguration resource. */ export interface OpsiConfigurationArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned. By default only customized configuration items are returned. */ configItemCustomStatuses?: pulumi.Input[] | undefined>; /** * Specifies the fields to return in a config item summary. */ configItemFields?: pulumi.Input[] | undefined>; /** * (Updatable) Array of configuration items with custom values. All and only configuration items requiring custom values should be part of this array. */ configItems?: pulumi.Input[] | undefined>; /** * Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned. */ configItemsApplicableContexts?: pulumi.Input[] | undefined>; /** * (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) Description of OPSI configuration. */ description?: pulumi.Input; /** * (Updatable) User-friendly display name for the OPSI configuration. The name 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>; /** * Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default. */ opsiConfigFields?: pulumi.Input[] | undefined>; /** * (Updatable) OPSI configuration type. */ opsiConfigType: pulumi.Input; /** * (Updatable) System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** 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 */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=opsiConfiguration.d.ts.map