import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Monitor Plugin Management resource in Oracle Cloud Infrastructure Appmgmt Control service. * * Activates Resource Plugin for compute instance identified by the instance ocid. * Stores monitored instances Id and its state. Tries to enable Resource Monitoring plugin by making * remote calls to Oracle Cloud Agent and Management Agent Cloud Service. * * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/resource-discovery-monitoring-control-api/20210330/MonitoredInstance/ActivateMonitoringPlugin * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/appmgmt_control * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitorPluginManagement = new oci.appmgmtcontrol.MonitorPluginManagement("test_monitor_plugin_management", {monitoredInstanceId: testMonitoredInstance.id}); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class MonitorPluginManagement extends pulumi.CustomResource { /** * Get an existing MonitorPluginManagement 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?: MonitorPluginManagementState, opts?: pulumi.CustomResourceOptions): MonitorPluginManagement; /** * Returns true if the given object is an instance of MonitorPluginManagement. 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 MonitorPluginManagement; readonly compartmentId: pulumi.Output; readonly monitoredInstanceDescription: pulumi.Output; readonly monitoredInstanceDisplayName: pulumi.Output; /** * OCID of monitored instance. * * ** 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 monitoredInstanceId: pulumi.Output; readonly monitoredInstanceManagementAgentId: pulumi.Output; readonly state: pulumi.Output; /** * Create a MonitorPluginManagement 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: MonitorPluginManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MonitorPluginManagement resources. */ export interface MonitorPluginManagementState { compartmentId?: pulumi.Input; monitoredInstanceDescription?: pulumi.Input; monitoredInstanceDisplayName?: pulumi.Input; /** * OCID of monitored instance. * * ** 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 */ monitoredInstanceId?: pulumi.Input; monitoredInstanceManagementAgentId?: pulumi.Input; state?: pulumi.Input; } /** * The set of arguments for constructing a MonitorPluginManagement resource. */ export interface MonitorPluginManagementArgs { /** * OCID of monitored instance. * * ** 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 */ monitoredInstanceId: pulumi.Input; } //# sourceMappingURL=monitorPluginManagement.d.ts.map