import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Monitored Resources List Member resource in Oracle Cloud Infrastructure Stack Monitoring service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/stack-monitoring/latest/MonitoredResourcesListMember * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/stack_monitoring * * List the member resources for the given monitored resource identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMonitoredResourcesListMember = new oci.stackmonitoring.MonitoredResourcesListMember("test_monitored_resources_list_member", { * monitoredResourceId: testMonitoredResource.id, * destinationResourceId: testDestinationResource.id, * limitLevel: Number(monitoredResourcesListMemberLimitLevel), * }); * ``` * * ## Import * * MonitoredResourcesListMembers can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:StackMonitoring/monitoredResourcesListMember:MonitoredResourcesListMember test_monitored_resources_list_member "id" * ``` */ export declare class MonitoredResourcesListMember extends pulumi.CustomResource { /** * Get an existing MonitoredResourcesListMember 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?: MonitoredResourcesListMemberState, opts?: pulumi.CustomResourceOptions): MonitoredResourcesListMember; /** * Returns true if the given object is an instance of MonitoredResourcesListMember. 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 MonitoredResourcesListMember; /** * Destination Monitored Resource Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly destinationResourceId: pulumi.Output; /** * List of member resources. */ readonly items: pulumi.Output; /** * The field which determines the depth of hierarchy while searching for members. */ readonly limitLevel: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource. * * ** 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 monitoredResourceId: pulumi.Output; /** * Create a MonitoredResourcesListMember 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: MonitoredResourcesListMemberArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MonitoredResourcesListMember resources. */ export interface MonitoredResourcesListMemberState { /** * Destination Monitored Resource Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ destinationResourceId?: pulumi.Input; /** * List of member resources. */ items?: pulumi.Input[] | undefined>; /** * The field which determines the depth of hierarchy while searching for members. */ limitLevel?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource. * * ** 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 */ monitoredResourceId?: pulumi.Input; } /** * The set of arguments for constructing a MonitoredResourcesListMember resource. */ export interface MonitoredResourcesListMemberArgs { /** * Destination Monitored Resource Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ destinationResourceId?: pulumi.Input; /** * The field which determines the depth of hierarchy while searching for members. */ limitLevel?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of monitored resource. * * ** 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 */ monitoredResourceId: pulumi.Input; } //# sourceMappingURL=monitoredResourcesListMember.d.ts.map