oci.StackMonitoring.MonitoredResourcesSearch
Explore with Pulumi AI
This resource provides the Monitored Resources Search resource in Oracle Cloud Infrastructure Stack Monitoring service.
Gets a list of all monitored resources in a compartment for the given search criteria.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoredResourcesSearch = new oci.stackmonitoring.MonitoredResourcesSearch("test_monitored_resources_search", {
    compartmentId: compartmentId,
    compartmentIds: monitoredResourcesSearchCompartmentIds,
    excludeFields: monitoredResourcesSearchExcludeFields,
    externalId: testExternal.id,
    fields: monitoredResourcesSearchFields,
    hostName: monitoredResourcesSearchHostName,
    hostNameContains: monitoredResourcesSearchHostNameContains,
    license: monitoredResourcesSearchLicense,
    lifecycleStates: monitoredResourcesSearchLifecycleStates,
    managementAgentId: testManagementAgent.id,
    name: monitoredResourcesSearchName,
    nameContains: monitoredResourcesSearchNameContains,
    propertyEquals: monitoredResourcesSearchPropertyEquals,
    resourceCategory: monitoredResourcesSearchResourceCategory,
    resourceTimeZone: monitoredResourcesSearchResourceTimeZone,
    sourceType: monitoredResourcesSearchSourceType,
    state: monitoredResourcesSearchState,
    timeCreatedGreaterThanOrEqualTo: monitoredResourcesSearchTimeCreatedGreaterThanOrEqualTo,
    timeCreatedLessThan: monitoredResourcesSearchTimeCreatedLessThan,
    timeUpdatedGreaterThanOrEqualTo: monitoredResourcesSearchTimeUpdatedGreaterThanOrEqualTo,
    timeUpdatedLessThan: monitoredResourcesSearchTimeUpdatedLessThan,
    type: monitoredResourcesSearchType,
});
import pulumi
import pulumi_oci as oci
test_monitored_resources_search = oci.stack_monitoring.MonitoredResourcesSearch("test_monitored_resources_search",
    compartment_id=compartment_id,
    compartment_ids=monitored_resources_search_compartment_ids,
    exclude_fields=monitored_resources_search_exclude_fields,
    external_id=test_external["id"],
    fields=monitored_resources_search_fields,
    host_name=monitored_resources_search_host_name,
    host_name_contains=monitored_resources_search_host_name_contains,
    license=monitored_resources_search_license,
    lifecycle_states=monitored_resources_search_lifecycle_states,
    management_agent_id=test_management_agent["id"],
    name=monitored_resources_search_name,
    name_contains=monitored_resources_search_name_contains,
    property_equals=monitored_resources_search_property_equals,
    resource_category=monitored_resources_search_resource_category,
    resource_time_zone=monitored_resources_search_resource_time_zone,
    source_type=monitored_resources_search_source_type,
    state=monitored_resources_search_state,
    time_created_greater_than_or_equal_to=monitored_resources_search_time_created_greater_than_or_equal_to,
    time_created_less_than=monitored_resources_search_time_created_less_than,
    time_updated_greater_than_or_equal_to=monitored_resources_search_time_updated_greater_than_or_equal_to,
    time_updated_less_than=monitored_resources_search_time_updated_less_than,
    type=monitored_resources_search_type)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := stackmonitoring.NewMonitoredResourcesSearch(ctx, "test_monitored_resources_search", &stackmonitoring.MonitoredResourcesSearchArgs{
			CompartmentId:                   pulumi.Any(compartmentId),
			CompartmentIds:                  pulumi.Any(monitoredResourcesSearchCompartmentIds),
			ExcludeFields:                   pulumi.Any(monitoredResourcesSearchExcludeFields),
			ExternalId:                      pulumi.Any(testExternal.Id),
			Fields:                          pulumi.Any(monitoredResourcesSearchFields),
			HostName:                        pulumi.Any(monitoredResourcesSearchHostName),
			HostNameContains:                pulumi.Any(monitoredResourcesSearchHostNameContains),
			License:                         pulumi.Any(monitoredResourcesSearchLicense),
			LifecycleStates:                 pulumi.Any(monitoredResourcesSearchLifecycleStates),
			ManagementAgentId:               pulumi.Any(testManagementAgent.Id),
			Name:                            pulumi.Any(monitoredResourcesSearchName),
			NameContains:                    pulumi.Any(monitoredResourcesSearchNameContains),
			PropertyEquals:                  pulumi.Any(monitoredResourcesSearchPropertyEquals),
			ResourceCategory:                pulumi.Any(monitoredResourcesSearchResourceCategory),
			ResourceTimeZone:                pulumi.Any(monitoredResourcesSearchResourceTimeZone),
			SourceType:                      pulumi.Any(monitoredResourcesSearchSourceType),
			State:                           pulumi.Any(monitoredResourcesSearchState),
			TimeCreatedGreaterThanOrEqualTo: pulumi.Any(monitoredResourcesSearchTimeCreatedGreaterThanOrEqualTo),
			TimeCreatedLessThan:             pulumi.Any(monitoredResourcesSearchTimeCreatedLessThan),
			TimeUpdatedGreaterThanOrEqualTo: pulumi.Any(monitoredResourcesSearchTimeUpdatedGreaterThanOrEqualTo),
			TimeUpdatedLessThan:             pulumi.Any(monitoredResourcesSearchTimeUpdatedLessThan),
			Type:                            pulumi.Any(monitoredResourcesSearchType),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testMonitoredResourcesSearch = new Oci.StackMonitoring.MonitoredResourcesSearch("test_monitored_resources_search", new()
    {
        CompartmentId = compartmentId,
        CompartmentIds = monitoredResourcesSearchCompartmentIds,
        ExcludeFields = monitoredResourcesSearchExcludeFields,
        ExternalId = testExternal.Id,
        Fields = monitoredResourcesSearchFields,
        HostName = monitoredResourcesSearchHostName,
        HostNameContains = monitoredResourcesSearchHostNameContains,
        License = monitoredResourcesSearchLicense,
        LifecycleStates = monitoredResourcesSearchLifecycleStates,
        ManagementAgentId = testManagementAgent.Id,
        Name = monitoredResourcesSearchName,
        NameContains = monitoredResourcesSearchNameContains,
        PropertyEquals = monitoredResourcesSearchPropertyEquals,
        ResourceCategory = monitoredResourcesSearchResourceCategory,
        ResourceTimeZone = monitoredResourcesSearchResourceTimeZone,
        SourceType = monitoredResourcesSearchSourceType,
        State = monitoredResourcesSearchState,
        TimeCreatedGreaterThanOrEqualTo = monitoredResourcesSearchTimeCreatedGreaterThanOrEqualTo,
        TimeCreatedLessThan = monitoredResourcesSearchTimeCreatedLessThan,
        TimeUpdatedGreaterThanOrEqualTo = monitoredResourcesSearchTimeUpdatedGreaterThanOrEqualTo,
        TimeUpdatedLessThan = monitoredResourcesSearchTimeUpdatedLessThan,
        Type = monitoredResourcesSearchType,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.StackMonitoring.MonitoredResourcesSearch;
import com.pulumi.oci.StackMonitoring.MonitoredResourcesSearchArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var testMonitoredResourcesSearch = new MonitoredResourcesSearch("testMonitoredResourcesSearch", MonitoredResourcesSearchArgs.builder()
            .compartmentId(compartmentId)
            .compartmentIds(monitoredResourcesSearchCompartmentIds)
            .excludeFields(monitoredResourcesSearchExcludeFields)
            .externalId(testExternal.id())
            .fields(monitoredResourcesSearchFields)
            .hostName(monitoredResourcesSearchHostName)
            .hostNameContains(monitoredResourcesSearchHostNameContains)
            .license(monitoredResourcesSearchLicense)
            .lifecycleStates(monitoredResourcesSearchLifecycleStates)
            .managementAgentId(testManagementAgent.id())
            .name(monitoredResourcesSearchName)
            .nameContains(monitoredResourcesSearchNameContains)
            .propertyEquals(monitoredResourcesSearchPropertyEquals)
            .resourceCategory(monitoredResourcesSearchResourceCategory)
            .resourceTimeZone(monitoredResourcesSearchResourceTimeZone)
            .sourceType(monitoredResourcesSearchSourceType)
            .state(monitoredResourcesSearchState)
            .timeCreatedGreaterThanOrEqualTo(monitoredResourcesSearchTimeCreatedGreaterThanOrEqualTo)
            .timeCreatedLessThan(monitoredResourcesSearchTimeCreatedLessThan)
            .timeUpdatedGreaterThanOrEqualTo(monitoredResourcesSearchTimeUpdatedGreaterThanOrEqualTo)
            .timeUpdatedLessThan(monitoredResourcesSearchTimeUpdatedLessThan)
            .type(monitoredResourcesSearchType)
            .build());
    }
}
resources:
  testMonitoredResourcesSearch:
    type: oci:StackMonitoring:MonitoredResourcesSearch
    name: test_monitored_resources_search
    properties:
      compartmentId: ${compartmentId}
      compartmentIds: ${monitoredResourcesSearchCompartmentIds}
      excludeFields: ${monitoredResourcesSearchExcludeFields}
      externalId: ${testExternal.id}
      fields: ${monitoredResourcesSearchFields}
      hostName: ${monitoredResourcesSearchHostName}
      hostNameContains: ${monitoredResourcesSearchHostNameContains}
      license: ${monitoredResourcesSearchLicense}
      lifecycleStates: ${monitoredResourcesSearchLifecycleStates}
      managementAgentId: ${testManagementAgent.id}
      name: ${monitoredResourcesSearchName}
      nameContains: ${monitoredResourcesSearchNameContains}
      propertyEquals: ${monitoredResourcesSearchPropertyEquals}
      resourceCategory: ${monitoredResourcesSearchResourceCategory}
      resourceTimeZone: ${monitoredResourcesSearchResourceTimeZone}
      sourceType: ${monitoredResourcesSearchSourceType}
      state: ${monitoredResourcesSearchState}
      timeCreatedGreaterThanOrEqualTo: ${monitoredResourcesSearchTimeCreatedGreaterThanOrEqualTo}
      timeCreatedLessThan: ${monitoredResourcesSearchTimeCreatedLessThan}
      timeUpdatedGreaterThanOrEqualTo: ${monitoredResourcesSearchTimeUpdatedGreaterThanOrEqualTo}
      timeUpdatedLessThan: ${monitoredResourcesSearchTimeUpdatedLessThan}
      type: ${monitoredResourcesSearchType}
Create MonitoredResourcesSearch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MonitoredResourcesSearch(name: string, args: MonitoredResourcesSearchArgs, opts?: CustomResourceOptions);@overload
def MonitoredResourcesSearch(resource_name: str,
                             args: MonitoredResourcesSearchArgs,
                             opts: Optional[ResourceOptions] = None)
@overload
def MonitoredResourcesSearch(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             compartment_id: Optional[str] = None,
                             compartment_ids: Optional[Sequence[str]] = None,
                             exclude_fields: Optional[Sequence[str]] = None,
                             external_id: Optional[str] = None,
                             fields: Optional[Sequence[str]] = None,
                             host_name: Optional[str] = None,
                             host_name_contains: Optional[str] = None,
                             license: Optional[str] = None,
                             lifecycle_states: Optional[Sequence[str]] = None,
                             management_agent_id: Optional[str] = None,
                             name: Optional[str] = None,
                             name_contains: Optional[str] = None,
                             property_equals: Optional[Mapping[str, str]] = None,
                             resource_category: Optional[str] = None,
                             resource_time_zone: Optional[str] = None,
                             source_type: Optional[str] = None,
                             state: Optional[str] = None,
                             time_created_greater_than_or_equal_to: Optional[str] = None,
                             time_created_less_than: Optional[str] = None,
                             time_updated_greater_than_or_equal_to: Optional[str] = None,
                             time_updated_less_than: Optional[str] = None,
                             type: Optional[str] = None)func NewMonitoredResourcesSearch(ctx *Context, name string, args MonitoredResourcesSearchArgs, opts ...ResourceOption) (*MonitoredResourcesSearch, error)public MonitoredResourcesSearch(string name, MonitoredResourcesSearchArgs args, CustomResourceOptions? opts = null)
public MonitoredResourcesSearch(String name, MonitoredResourcesSearchArgs args)
public MonitoredResourcesSearch(String name, MonitoredResourcesSearchArgs args, CustomResourceOptions options)
type: oci:StackMonitoring:MonitoredResourcesSearch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MonitoredResourcesSearchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MonitoredResourcesSearchArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MonitoredResourcesSearchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MonitoredResourcesSearchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MonitoredResourcesSearchArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var monitoredResourcesSearchResource = new Oci.StackMonitoring.MonitoredResourcesSearch("monitoredResourcesSearchResource", new()
{
    CompartmentId = "string",
    CompartmentIds = new[]
    {
        "string",
    },
    ExcludeFields = new[]
    {
        "string",
    },
    ExternalId = "string",
    Fields = new[]
    {
        "string",
    },
    HostName = "string",
    HostNameContains = "string",
    License = "string",
    LifecycleStates = new[]
    {
        "string",
    },
    ManagementAgentId = "string",
    Name = "string",
    NameContains = "string",
    PropertyEquals = 
    {
        { "string", "string" },
    },
    ResourceCategory = "string",
    ResourceTimeZone = "string",
    SourceType = "string",
    State = "string",
    TimeCreatedGreaterThanOrEqualTo = "string",
    TimeCreatedLessThan = "string",
    TimeUpdatedGreaterThanOrEqualTo = "string",
    TimeUpdatedLessThan = "string",
    Type = "string",
});
example, err := StackMonitoring.NewMonitoredResourcesSearch(ctx, "monitoredResourcesSearchResource", &StackMonitoring.MonitoredResourcesSearchArgs{
	CompartmentId: pulumi.String("string"),
	CompartmentIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExcludeFields: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExternalId: pulumi.String("string"),
	Fields: pulumi.StringArray{
		pulumi.String("string"),
	},
	HostName:         pulumi.String("string"),
	HostNameContains: pulumi.String("string"),
	License:          pulumi.String("string"),
	LifecycleStates: pulumi.StringArray{
		pulumi.String("string"),
	},
	ManagementAgentId: pulumi.String("string"),
	Name:              pulumi.String("string"),
	NameContains:      pulumi.String("string"),
	PropertyEquals: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ResourceCategory:                pulumi.String("string"),
	ResourceTimeZone:                pulumi.String("string"),
	SourceType:                      pulumi.String("string"),
	State:                           pulumi.String("string"),
	TimeCreatedGreaterThanOrEqualTo: pulumi.String("string"),
	TimeCreatedLessThan:             pulumi.String("string"),
	TimeUpdatedGreaterThanOrEqualTo: pulumi.String("string"),
	TimeUpdatedLessThan:             pulumi.String("string"),
	Type:                            pulumi.String("string"),
})
var monitoredResourcesSearchResource = new MonitoredResourcesSearch("monitoredResourcesSearchResource", MonitoredResourcesSearchArgs.builder()
    .compartmentId("string")
    .compartmentIds("string")
    .excludeFields("string")
    .externalId("string")
    .fields("string")
    .hostName("string")
    .hostNameContains("string")
    .license("string")
    .lifecycleStates("string")
    .managementAgentId("string")
    .name("string")
    .nameContains("string")
    .propertyEquals(Map.of("string", "string"))
    .resourceCategory("string")
    .resourceTimeZone("string")
    .sourceType("string")
    .state("string")
    .timeCreatedGreaterThanOrEqualTo("string")
    .timeCreatedLessThan("string")
    .timeUpdatedGreaterThanOrEqualTo("string")
    .timeUpdatedLessThan("string")
    .type("string")
    .build());
monitored_resources_search_resource = oci.stack_monitoring.MonitoredResourcesSearch("monitoredResourcesSearchResource",
    compartment_id="string",
    compartment_ids=["string"],
    exclude_fields=["string"],
    external_id="string",
    fields=["string"],
    host_name="string",
    host_name_contains="string",
    license="string",
    lifecycle_states=["string"],
    management_agent_id="string",
    name="string",
    name_contains="string",
    property_equals={
        "string": "string",
    },
    resource_category="string",
    resource_time_zone="string",
    source_type="string",
    state="string",
    time_created_greater_than_or_equal_to="string",
    time_created_less_than="string",
    time_updated_greater_than_or_equal_to="string",
    time_updated_less_than="string",
    type="string")
const monitoredResourcesSearchResource = new oci.stackmonitoring.MonitoredResourcesSearch("monitoredResourcesSearchResource", {
    compartmentId: "string",
    compartmentIds: ["string"],
    excludeFields: ["string"],
    externalId: "string",
    fields: ["string"],
    hostName: "string",
    hostNameContains: "string",
    license: "string",
    lifecycleStates: ["string"],
    managementAgentId: "string",
    name: "string",
    nameContains: "string",
    propertyEquals: {
        string: "string",
    },
    resourceCategory: "string",
    resourceTimeZone: "string",
    sourceType: "string",
    state: "string",
    timeCreatedGreaterThanOrEqualTo: "string",
    timeCreatedLessThan: "string",
    timeUpdatedGreaterThanOrEqualTo: "string",
    timeUpdatedLessThan: "string",
    type: "string",
});
type: oci:StackMonitoring:MonitoredResourcesSearch
properties:
    compartmentId: string
    compartmentIds:
        - string
    excludeFields:
        - string
    externalId: string
    fields:
        - string
    hostName: string
    hostNameContains: string
    license: string
    lifecycleStates:
        - string
    managementAgentId: string
    name: string
    nameContains: string
    propertyEquals:
        string: string
    resourceCategory: string
    resourceTimeZone: string
    sourceType: string
    state: string
    timeCreatedGreaterThanOrEqualTo: string
    timeCreatedLessThan: string
    timeUpdatedGreaterThanOrEqualTo: string
    timeUpdatedLessThan: string
    type: string
MonitoredResourcesSearch Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MonitoredResourcesSearch resource accepts the following input properties:
- CompartmentId string
- Compartment Identifier OCID.
- CompartmentIds List<string>
- Multiple compartment identifiers OCID.
- ExcludeFields List<string>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- ExternalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Fields List<string>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- HostName string
- A filter to return resources with host name match.
- HostName stringContains 
- A filter to return resources with host name pattern.
- License string
- License edition of the monitored resource.
- LifecycleStates List<string>
- Multiple lifecycle states filter.
- ManagementAgent stringId 
- A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- NameContains string
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- PropertyEquals Dictionary<string, string>
- Criteria based on resource property.
- ResourceCategory string
- Resource category filter.
- ResourceTime stringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- SourceType string
- Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- TimeCreated stringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeCreated stringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- Type string
- A filter to return resources that match resource type. - ** 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 
- CompartmentId string
- Compartment Identifier OCID.
- CompartmentIds []string
- Multiple compartment identifiers OCID.
- ExcludeFields []string
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- ExternalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Fields []string
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- HostName string
- A filter to return resources with host name match.
- HostName stringContains 
- A filter to return resources with host name pattern.
- License string
- License edition of the monitored resource.
- LifecycleStates []string
- Multiple lifecycle states filter.
- ManagementAgent stringId 
- A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- NameContains string
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- PropertyEquals map[string]string
- Criteria based on resource property.
- ResourceCategory string
- Resource category filter.
- ResourceTime stringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- SourceType string
- Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- TimeCreated stringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeCreated stringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- Type string
- A filter to return resources that match resource type. - ** 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 
- compartmentId String
- Compartment Identifier OCID.
- compartmentIds List<String>
- Multiple compartment identifiers OCID.
- excludeFields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- externalId String
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- hostName String
- A filter to return resources with host name match.
- hostName StringContains 
- A filter to return resources with host name pattern.
- license String
- License edition of the monitored resource.
- lifecycleStates List<String>
- Multiple lifecycle states filter.
- managementAgent StringId 
- A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- nameContains String
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- propertyEquals Map<String,String>
- Criteria based on resource property.
- resourceCategory String
- Resource category filter.
- resourceTime StringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- sourceType String
- Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- timeCreated StringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeCreated StringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type String
- A filter to return resources that match resource type. - ** 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 
- compartmentId string
- Compartment Identifier OCID.
- compartmentIds string[]
- Multiple compartment identifiers OCID.
- excludeFields string[]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- externalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields string[]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- hostName string
- A filter to return resources with host name match.
- hostName stringContains 
- A filter to return resources with host name pattern.
- license string
- License edition of the monitored resource.
- lifecycleStates string[]
- Multiple lifecycle states filter.
- managementAgent stringId 
- A filter to return resources with matching management agent id.
- name string
- A filter to return resources that match exact resource name.
- nameContains string
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- propertyEquals {[key: string]: string}
- Criteria based on resource property.
- resourceCategory string
- Resource category filter.
- resourceTime stringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- sourceType string
- Source type filter.
- state string
- A filter to return resources with matching lifecycle state.
- timeCreated stringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeCreated stringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated stringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated stringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type string
- A filter to return resources that match resource type. - ** 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 
- compartment_id str
- Compartment Identifier OCID.
- compartment_ids Sequence[str]
- Multiple compartment identifiers OCID.
- exclude_fields Sequence[str]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- external_id str
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields Sequence[str]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- host_name str
- A filter to return resources with host name match.
- host_name_ strcontains 
- A filter to return resources with host name pattern.
- license str
- License edition of the monitored resource.
- lifecycle_states Sequence[str]
- Multiple lifecycle states filter.
- management_agent_ strid 
- A filter to return resources with matching management agent id.
- name str
- A filter to return resources that match exact resource name.
- name_contains str
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property_equals Mapping[str, str]
- Criteria based on resource property.
- resource_category str
- Resource category filter.
- resource_time_ strzone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source_type str
- Source type filter.
- state str
- A filter to return resources with matching lifecycle state.
- time_created_ strgreater_ than_ or_ equal_ to 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- time_created_ strless_ than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- time_updated_ strgreater_ than_ or_ equal_ to 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- time_updated_ strless_ than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type str
- A filter to return resources that match resource type. - ** 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 
- compartmentId String
- Compartment Identifier OCID.
- compartmentIds List<String>
- Multiple compartment identifiers OCID.
- excludeFields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- externalId String
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- hostName String
- A filter to return resources with host name match.
- hostName StringContains 
- A filter to return resources with host name pattern.
- license String
- License edition of the monitored resource.
- lifecycleStates List<String>
- Multiple lifecycle states filter.
- managementAgent StringId 
- A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- nameContains String
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- propertyEquals Map<String>
- Criteria based on resource property.
- resourceCategory String
- Resource category filter.
- resourceTime StringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- sourceType String
- Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- timeCreated StringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeCreated StringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type String
- A filter to return resources that match resource type. - ** 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 
Outputs
All input properties are implicitly available as output properties. Additionally, the MonitoredResourcesSearch resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<MonitoredResources Search Item> 
- List of monitored resources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]MonitoredResources Search Item 
- List of monitored resources.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<MonitoredResources Search Item> 
- List of monitored resources.
- id string
- The provider-assigned unique ID for this managed resource.
- items
MonitoredResources Search Item[] 
- List of monitored resources.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[stackmonitoring.Monitored Resources Search Item] 
- List of monitored resources.
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of monitored resources.
Look up Existing MonitoredResourcesSearch Resource
Get an existing MonitoredResourcesSearch resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MonitoredResourcesSearchState, opts?: CustomResourceOptions): MonitoredResourcesSearch@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        compartment_ids: Optional[Sequence[str]] = None,
        exclude_fields: Optional[Sequence[str]] = None,
        external_id: Optional[str] = None,
        fields: Optional[Sequence[str]] = None,
        host_name: Optional[str] = None,
        host_name_contains: Optional[str] = None,
        items: Optional[Sequence[_stackmonitoring.MonitoredResourcesSearchItemArgs]] = None,
        license: Optional[str] = None,
        lifecycle_states: Optional[Sequence[str]] = None,
        management_agent_id: Optional[str] = None,
        name: Optional[str] = None,
        name_contains: Optional[str] = None,
        property_equals: Optional[Mapping[str, str]] = None,
        resource_category: Optional[str] = None,
        resource_time_zone: Optional[str] = None,
        source_type: Optional[str] = None,
        state: Optional[str] = None,
        time_created_greater_than_or_equal_to: Optional[str] = None,
        time_created_less_than: Optional[str] = None,
        time_updated_greater_than_or_equal_to: Optional[str] = None,
        time_updated_less_than: Optional[str] = None,
        type: Optional[str] = None) -> MonitoredResourcesSearchfunc GetMonitoredResourcesSearch(ctx *Context, name string, id IDInput, state *MonitoredResourcesSearchState, opts ...ResourceOption) (*MonitoredResourcesSearch, error)public static MonitoredResourcesSearch Get(string name, Input<string> id, MonitoredResourcesSearchState? state, CustomResourceOptions? opts = null)public static MonitoredResourcesSearch get(String name, Output<String> id, MonitoredResourcesSearchState state, CustomResourceOptions options)resources:  _:    type: oci:StackMonitoring:MonitoredResourcesSearch    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- Compartment Identifier OCID.
- CompartmentIds List<string>
- Multiple compartment identifiers OCID.
- ExcludeFields List<string>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- ExternalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Fields List<string>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- HostName string
- A filter to return resources with host name match.
- HostName stringContains 
- A filter to return resources with host name pattern.
- Items
List<MonitoredResources Search Item> 
- List of monitored resources.
- License string
- License edition of the monitored resource.
- LifecycleStates List<string>
- Multiple lifecycle states filter.
- ManagementAgent stringId 
- A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- NameContains string
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- PropertyEquals Dictionary<string, string>
- Criteria based on resource property.
- ResourceCategory string
- Resource category filter.
- ResourceTime stringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- SourceType string
- Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- TimeCreated stringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeCreated stringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- Type string
- A filter to return resources that match resource type. - ** 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 
- CompartmentId string
- Compartment Identifier OCID.
- CompartmentIds []string
- Multiple compartment identifiers OCID.
- ExcludeFields []string
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- ExternalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Fields []string
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- HostName string
- A filter to return resources with host name match.
- HostName stringContains 
- A filter to return resources with host name pattern.
- Items
[]MonitoredResources Search Item Args 
- List of monitored resources.
- License string
- License edition of the monitored resource.
- LifecycleStates []string
- Multiple lifecycle states filter.
- ManagementAgent stringId 
- A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- NameContains string
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- PropertyEquals map[string]string
- Criteria based on resource property.
- ResourceCategory string
- Resource category filter.
- ResourceTime stringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- SourceType string
- Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- TimeCreated stringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeCreated stringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- TimeUpdated stringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- Type string
- A filter to return resources that match resource type. - ** 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 
- compartmentId String
- Compartment Identifier OCID.
- compartmentIds List<String>
- Multiple compartment identifiers OCID.
- excludeFields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- externalId String
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- hostName String
- A filter to return resources with host name match.
- hostName StringContains 
- A filter to return resources with host name pattern.
- items
List<MonitoredResources Search Item> 
- List of monitored resources.
- license String
- License edition of the monitored resource.
- lifecycleStates List<String>
- Multiple lifecycle states filter.
- managementAgent StringId 
- A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- nameContains String
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- propertyEquals Map<String,String>
- Criteria based on resource property.
- resourceCategory String
- Resource category filter.
- resourceTime StringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- sourceType String
- Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- timeCreated StringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeCreated StringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type String
- A filter to return resources that match resource type. - ** 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 
- compartmentId string
- Compartment Identifier OCID.
- compartmentIds string[]
- Multiple compartment identifiers OCID.
- excludeFields string[]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- externalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields string[]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- hostName string
- A filter to return resources with host name match.
- hostName stringContains 
- A filter to return resources with host name pattern.
- items
MonitoredResources Search Item[] 
- List of monitored resources.
- license string
- License edition of the monitored resource.
- lifecycleStates string[]
- Multiple lifecycle states filter.
- managementAgent stringId 
- A filter to return resources with matching management agent id.
- name string
- A filter to return resources that match exact resource name.
- nameContains string
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- propertyEquals {[key: string]: string}
- Criteria based on resource property.
- resourceCategory string
- Resource category filter.
- resourceTime stringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- sourceType string
- Source type filter.
- state string
- A filter to return resources with matching lifecycle state.
- timeCreated stringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeCreated stringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated stringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated stringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type string
- A filter to return resources that match resource type. - ** 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 
- compartment_id str
- Compartment Identifier OCID.
- compartment_ids Sequence[str]
- Multiple compartment identifiers OCID.
- exclude_fields Sequence[str]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- external_id str
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields Sequence[str]
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- host_name str
- A filter to return resources with host name match.
- host_name_ strcontains 
- A filter to return resources with host name pattern.
- items
Sequence[stackmonitoring.Monitored Resources Search Item Args] 
- List of monitored resources.
- license str
- License edition of the monitored resource.
- lifecycle_states Sequence[str]
- Multiple lifecycle states filter.
- management_agent_ strid 
- A filter to return resources with matching management agent id.
- name str
- A filter to return resources that match exact resource name.
- name_contains str
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property_equals Mapping[str, str]
- Criteria based on resource property.
- resource_category str
- Resource category filter.
- resource_time_ strzone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source_type str
- Source type filter.
- state str
- A filter to return resources with matching lifecycle state.
- time_created_ strgreater_ than_ or_ equal_ to 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- time_created_ strless_ than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- time_updated_ strgreater_ than_ or_ equal_ to 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- time_updated_ strless_ than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type str
- A filter to return resources that match resource type. - ** 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 
- compartmentId String
- Compartment Identifier OCID.
- compartmentIds List<String>
- Multiple compartment identifiers OCID.
- excludeFields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
- externalId String
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- fields List<String>
- Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called "fields" of an array type, provide the values as enums, and use collectionFormat.
- hostName String
- A filter to return resources with host name match.
- hostName StringContains 
- A filter to return resources with host name pattern.
- items List<Property Map>
- List of monitored resources.
- license String
- License edition of the monitored resource.
- lifecycleStates List<String>
- Multiple lifecycle states filter.
- managementAgent StringId 
- A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- nameContains String
- A filter to return resources that match resource name pattern given. The match is not case sensitive.
- propertyEquals Map<String>
- Criteria based on resource property.
- resourceCategory String
- Resource category filter.
- resourceTime StringZone 
- Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- sourceType String
- Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- timeCreated StringGreater Than Or Equal To 
- Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding - timeCreatedLessThanparameter will retrieve resources created from the given- timeCreatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeCreated StringLess Than 
- Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeCreatedGreaterThanOrEqualToparameter will retrieve all resources created before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringGreater Than Or Equal To 
- Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding - timeUpdatedLessThanparameter will retrieve resources updated from the given- timeUpdatedGreaterThanOrEqualToto the current time, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- timeUpdated StringLess Than 
- Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding - timeUpdatedGreaterThanOrEqualToparameter will retrieve all resources updated before the specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.- Example: 2016-12-19T16:39:57.600Z 
- type String
- A filter to return resources that match resource type. - ** 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 
Supporting Types
MonitoredResourcesSearchItem, MonitoredResourcesSearchItemArgs        
- CompartmentId string
- Compartment Identifier OCID.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Monitored resource display name.
- ExternalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- HostName string
- A filter to return resources with host name match.
- Id string
- Monitored resource identifier OCID.
- License string
- License edition of the monitored resource.
- ManagementAgent stringId 
- A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Properties
List<MonitoredResources Search Item Property> 
- List of monitored resource properties.
- ResourceCategory string
- Resource category filter.
- SourceType string
- Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- Monitored resource creation time. An RFC3339 formatted datetime string.
- TimeUpdated string
- Monitored resource update time. An RFC3339 formatted datetime string.
- Type string
- A filter to return resources that match resource type. - ** 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 
- CompartmentId string
- Compartment Identifier OCID.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Monitored resource display name.
- ExternalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- HostName string
- A filter to return resources with host name match.
- Id string
- Monitored resource identifier OCID.
- License string
- License edition of the monitored resource.
- ManagementAgent stringId 
- A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Properties
[]MonitoredResources Search Item Property 
- List of monitored resource properties.
- ResourceCategory string
- Resource category filter.
- SourceType string
- Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- Monitored resource creation time. An RFC3339 formatted datetime string.
- TimeUpdated string
- Monitored resource update time. An RFC3339 formatted datetime string.
- Type string
- A filter to return resources that match resource type. - ** 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 
- compartmentId String
- Compartment Identifier OCID.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Monitored resource display name.
- externalId String
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- hostName String
- A filter to return resources with host name match.
- id String
- Monitored resource identifier OCID.
- license String
- License edition of the monitored resource.
- managementAgent StringId 
- A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- properties
List<MonitoredResources Search Item Property> 
- List of monitored resource properties.
- resourceCategory String
- Resource category filter.
- sourceType String
- Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- Monitored resource creation time. An RFC3339 formatted datetime string.
- timeUpdated String
- Monitored resource update time. An RFC3339 formatted datetime string.
- type String
- A filter to return resources that match resource type. - ** 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 
- compartmentId string
- Compartment Identifier OCID.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- Monitored resource display name.
- externalId string
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- hostName string
- A filter to return resources with host name match.
- id string
- Monitored resource identifier OCID.
- license string
- License edition of the monitored resource.
- managementAgent stringId 
- A filter to return resources with matching management agent id.
- name string
- A filter to return resources that match exact resource name.
- properties
MonitoredResources Search Item Property[] 
- List of monitored resource properties.
- resourceCategory string
- Resource category filter.
- sourceType string
- Source type filter.
- state string
- A filter to return resources with matching lifecycle state.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- Monitored resource creation time. An RFC3339 formatted datetime string.
- timeUpdated string
- Monitored resource update time. An RFC3339 formatted datetime string.
- type string
- A filter to return resources that match resource type. - ** 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 
- compartment_id str
- Compartment Identifier OCID.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- Monitored resource display name.
- external_id str
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- host_name str
- A filter to return resources with host name match.
- id str
- Monitored resource identifier OCID.
- license str
- License edition of the monitored resource.
- management_agent_ strid 
- A filter to return resources with matching management agent id.
- name str
- A filter to return resources that match exact resource name.
- properties
Sequence[stackmonitoring.Monitored Resources Search Item Property] 
- List of monitored resource properties.
- resource_category str
- Resource category filter.
- source_type str
- Source type filter.
- state str
- A filter to return resources with matching lifecycle state.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- Monitored resource creation time. An RFC3339 formatted datetime string.
- time_updated str
- Monitored resource update time. An RFC3339 formatted datetime string.
- type str
- A filter to return resources that match resource type. - ** 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 
- compartmentId String
- Compartment Identifier OCID.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Monitored resource display name.
- externalId String
- External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- hostName String
- A filter to return resources with host name match.
- id String
- Monitored resource identifier OCID.
- license String
- License edition of the monitored resource.
- managementAgent StringId 
- A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- properties List<Property Map>
- List of monitored resource properties.
- resourceCategory String
- Resource category filter.
- sourceType String
- Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- Monitored resource creation time. An RFC3339 formatted datetime string.
- timeUpdated String
- Monitored resource update time. An RFC3339 formatted datetime string.
- type String
- A filter to return resources that match resource type. - ** 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 
MonitoredResourcesSearchItemProperty, MonitoredResourcesSearchItemPropertyArgs          
Import
MonitoredResourcesSearch can be imported using the id, e.g.
$ pulumi import oci:StackMonitoring/monitoredResourcesSearch:MonitoredResourcesSearch test_monitored_resources_search "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.