import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Monitoring Template Monitoring Template On Given Resources Management resource in Oracle Cloud Infrastructure Stack Monitoring service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/stack-monitoring/latest/MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/stack_monitoring * Apply the Monitoring Template identified by the id * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitoringTemplateMonitoringTemplateOnGivenResourcesManagement = new oci.stackmonitoring.MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement("test_monitoring_template_monitoring_template_on_given_resources_management", { * monitoringTemplateId: testMonitoringTemplate.id, * enableMonitoringTemplateOnGivenResources: enableMonitoringTemplateOnGivenResources === "true", * }); * ``` */ export declare class MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement extends pulumi.CustomResource { /** * Get an existing MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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?: MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState, opts?: pulumi.CustomResourceOptions): MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement; /** * Returns true if the given object is an instance of MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement. 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 MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 enableMonitoringTemplateOnGivenResources: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. */ readonly monitoringTemplateId: pulumi.Output; /** * Create a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement 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: MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resources. */ export interface MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementState { /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 */ enableMonitoringTemplateOnGivenResources?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. */ monitoringTemplateId?: pulumi.Input; } /** * The set of arguments for constructing a MonitoringTemplateMonitoringTemplateOnGivenResourcesManagement resource. */ export interface MonitoringTemplateMonitoringTemplateOnGivenResourcesManagementArgs { /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. * * ** 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 */ enableMonitoringTemplateOnGivenResources: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the monitoring template. */ monitoringTemplateId: pulumi.Input; } //# sourceMappingURL=monitoringTemplateMonitoringTemplateOnGivenResourcesManagement.d.ts.map