import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Management Saved Search resource in Oracle Cloud Infrastructure Management Dashboard service. * * Creates a new saved search. * Here's an example of how you can use CLI to create a saved search. For information on the details that must be passed to CREATE, you can use the GET API to obtain the Create.json file: * `oci management-dashboard saved-search get --management-saved-search-id ocid1.managementsavedsearch.oc1..savedsearchId1 --query data > Create.json`. * You can then modify the Create.json file by removing the `id` attribute and making other required changes, and use the `oci management-dashboard saved-search create` command. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementSavedSearch = new oci.managementdashboard.ManagementSavedSearch("test_management_saved_search", { * compartmentId: compartmentId, * dataConfig: managementSavedSearchDataConfig, * description: managementSavedSearchDescription, * displayName: managementSavedSearchDisplayName, * isOobSavedSearch: managementSavedSearchIsOobSavedSearch === "true", * metadataVersion: managementSavedSearchMetadataVersion, * nls: managementSavedSearchNls, * providerId: testProvider.id, * providerName: managementSavedSearchProviderName, * providerVersion: managementSavedSearchProviderVersion, * screenImage: managementSavedSearchScreenImage, * type: managementSavedSearchType, * uiConfig: managementSavedSearchUiConfig, * widgetTemplate: managementSavedSearchWidgetTemplate, * widgetVm: managementSavedSearchWidgetVm, * drilldownConfig: managementSavedSearchDrilldownConfig, * parametersConfig: managementSavedSearchParametersConfig, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * managementDashboardManagementSavedSearchId: managementSavedSearchId, * }); * ``` * * ## Import * * ManagementSavedSearches can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ManagementDashboard/managementSavedSearch:ManagementSavedSearch test_management_saved_search "id" * ``` */ export declare class ManagementSavedSearch extends pulumi.CustomResource { /** * Get an existing ManagementSavedSearch 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?: ManagementSavedSearchState, opts?: pulumi.CustomResourceOptions): ManagementSavedSearch; /** * Returns true if the given object is an instance of ManagementSavedSearch. 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 ManagementSavedSearch; /** * (Updatable) OCID of the compartment in which the saved search resides. */ readonly compartmentId: pulumi.Output; /** * The principal id of the user that created this saved search. This is automatically managed by the system. In Oracle Cloud Infrastructure the value is ignored. In EM it can skipped or otherwise it is ignored in both create and update API and system automatically sets its value. */ readonly createdBy: pulumi.Output; /** * (Updatable) It defines how data is fetched. A functional saved search needs a valid dataConfig. See examples on how it can be constructed for various data sources. */ readonly dataConfig: 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 the saved search. */ readonly description: pulumi.Output; /** * (Updatable) Display name of the saved search. */ readonly displayName: pulumi.Output; /** * (Updatable) Drill-down configuration to define the destination of a drill-down action. */ readonly drilldownConfig: 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; }>; /** * (Updatable) Determines whether the saved search is an Out-of-the-Box (OOB) saved search. Note that OOB saved searches are only provided by Oracle and cannot be modified. */ readonly isOobSavedSearch: pulumi.Output; /** * ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved search. */ readonly managementDashboardManagementSavedSearchId: pulumi.Output; /** * (Updatable) The version of the metadata defined in the API. This is maintained and enforced by dashboard server. Currently it is 2.0. */ readonly metadataVersion: pulumi.Output; /** * (Updatable) JSON that contains internationalization options. */ readonly nls: pulumi.Output; /** * (Updatable) Defines parameters for the saved search. */ readonly parametersConfig: pulumi.Output; /** * (Updatable) ID of the service (for example log-analytics) that owns the saved search. Each service has a unique ID. */ readonly providerId: pulumi.Output; /** * (Updatable) The user friendly name of the service (for example, Logging Analytics) that owns the saved search. */ readonly providerName: pulumi.Output; /** * (Updatable) The version of the metadata of the provider. This is useful for provider to version its features and metadata. Any newly created saved search (or dashboard) should use providerVersion 3.0.0. */ readonly providerVersion: pulumi.Output; /** * (Updatable) Screen image of the saved search. */ readonly screenImage: pulumi.Output; /** * Oracle Cloud Infrastructure lifecycle status. This is automatically managed by the system. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * Date and time the saved search was created. */ readonly timeCreated: pulumi.Output; /** * Date and time the saved search was updated. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) Determines how the saved search is displayed in a dashboard. */ readonly type: pulumi.Output; /** * (Updatable) It defines the visualization type of the widget saved search, the UI options of that visualization type, the binding of data to the visualization. */ readonly uiConfig: pulumi.Output; /** * The principle id of the user that updated this saved search. */ readonly updatedBy: pulumi.Output; /** * (Updatable) The UI template that the saved search uses to render itself. */ readonly widgetTemplate: pulumi.Output; /** * (Updatable) The View Model that the saved search uses to render itself. * * ** 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 widgetVm: pulumi.Output; /** * Create a ManagementSavedSearch 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: ManagementSavedSearchArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagementSavedSearch resources. */ export interface ManagementSavedSearchState { /** * (Updatable) OCID of the compartment in which the saved search resides. */ compartmentId?: pulumi.Input; /** * The principal id of the user that created this saved search. This is automatically managed by the system. In Oracle Cloud Infrastructure the value is ignored. In EM it can skipped or otherwise it is ignored in both create and update API and system automatically sets its value. */ createdBy?: pulumi.Input; /** * (Updatable) It defines how data is fetched. A functional saved search needs a valid dataConfig. See examples on how it can be constructed for various data sources. */ dataConfig?: 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) Description of the saved search. */ description?: pulumi.Input; /** * (Updatable) Display name of the saved search. */ displayName?: pulumi.Input; /** * (Updatable) Drill-down configuration to define the destination of a drill-down action. */ drilldownConfig?: 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) Determines whether the saved search is an Out-of-the-Box (OOB) saved search. Note that OOB saved searches are only provided by Oracle and cannot be modified. */ isOobSavedSearch?: pulumi.Input; /** * ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved search. */ managementDashboardManagementSavedSearchId?: pulumi.Input; /** * (Updatable) The version of the metadata defined in the API. This is maintained and enforced by dashboard server. Currently it is 2.0. */ metadataVersion?: pulumi.Input; /** * (Updatable) JSON that contains internationalization options. */ nls?: pulumi.Input; /** * (Updatable) Defines parameters for the saved search. */ parametersConfig?: pulumi.Input; /** * (Updatable) ID of the service (for example log-analytics) that owns the saved search. Each service has a unique ID. */ providerId?: pulumi.Input; /** * (Updatable) The user friendly name of the service (for example, Logging Analytics) that owns the saved search. */ providerName?: pulumi.Input; /** * (Updatable) The version of the metadata of the provider. This is useful for provider to version its features and metadata. Any newly created saved search (or dashboard) should use providerVersion 3.0.0. */ providerVersion?: pulumi.Input; /** * (Updatable) Screen image of the saved search. */ screenImage?: pulumi.Input; /** * Oracle Cloud Infrastructure lifecycle status. This is automatically managed by the system. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Date and time the saved search was created. */ timeCreated?: pulumi.Input; /** * Date and time the saved search was updated. */ timeUpdated?: pulumi.Input; /** * (Updatable) Determines how the saved search is displayed in a dashboard. */ type?: pulumi.Input; /** * (Updatable) It defines the visualization type of the widget saved search, the UI options of that visualization type, the binding of data to the visualization. */ uiConfig?: pulumi.Input; /** * The principle id of the user that updated this saved search. */ updatedBy?: pulumi.Input; /** * (Updatable) The UI template that the saved search uses to render itself. */ widgetTemplate?: pulumi.Input; /** * (Updatable) The View Model that the saved search uses to render itself. * * ** 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 */ widgetVm?: pulumi.Input; } /** * The set of arguments for constructing a ManagementSavedSearch resource. */ export interface ManagementSavedSearchArgs { /** * (Updatable) OCID of the compartment in which the saved search resides. */ compartmentId: pulumi.Input; /** * (Updatable) It defines how data is fetched. A functional saved search needs a valid dataConfig. See examples on how it can be constructed for various data sources. */ dataConfig: 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) Description of the saved search. */ description: pulumi.Input; /** * (Updatable) Display name of the saved search. */ displayName: pulumi.Input; /** * (Updatable) Drill-down configuration to define the destination of a drill-down action. */ drilldownConfig: 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) Determines whether the saved search is an Out-of-the-Box (OOB) saved search. Note that OOB saved searches are only provided by Oracle and cannot be modified. */ isOobSavedSearch: pulumi.Input; /** * ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved search. */ managementDashboardManagementSavedSearchId?: pulumi.Input; /** * (Updatable) The version of the metadata defined in the API. This is maintained and enforced by dashboard server. Currently it is 2.0. */ metadataVersion: pulumi.Input; /** * (Updatable) JSON that contains internationalization options. */ nls: pulumi.Input; /** * (Updatable) Defines parameters for the saved search. */ parametersConfig: pulumi.Input; /** * (Updatable) ID of the service (for example log-analytics) that owns the saved search. Each service has a unique ID. */ providerId: pulumi.Input; /** * (Updatable) The user friendly name of the service (for example, Logging Analytics) that owns the saved search. */ providerName: pulumi.Input; /** * (Updatable) The version of the metadata of the provider. This is useful for provider to version its features and metadata. Any newly created saved search (or dashboard) should use providerVersion 3.0.0. */ providerVersion: pulumi.Input; /** * (Updatable) Screen image of the saved search. */ screenImage: pulumi.Input; /** * (Updatable) Determines how the saved search is displayed in a dashboard. */ type: pulumi.Input; /** * (Updatable) It defines the visualization type of the widget saved search, the UI options of that visualization type, the binding of data to the visualization. */ uiConfig: pulumi.Input; /** * (Updatable) The UI template that the saved search uses to render itself. */ widgetTemplate: pulumi.Input; /** * (Updatable) The View Model that the saved search uses to render itself. * * ** 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 */ widgetVm: pulumi.Input; } //# sourceMappingURL=managementSavedSearch.d.ts.map