1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. MonitoredResourcesSearch
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.StackMonitoring.MonitoredResourcesSearch

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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/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, Any]] = 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", "any" },
        },
        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.Map{
    		"string": pulumi.Any("any"),
    	},
    	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", "any"))
        .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": "any",
        },
        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: "any",
        },
        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: any
        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

    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.
    HostNameContains string
    A filter to return resources with host name pattern.
    License string
    License edition of the monitored resource.
    LifecycleStates List<string>
    Multiple lifecycle states filter.
    ManagementAgentId string
    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, object>
    Criteria based on resource property.
    ResourceCategory string
    Resource category filter.
    ResourceTimeZone string
    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.
    TimeCreatedGreaterThanOrEqualTo string

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    TimeCreatedLessThan string

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    TimeUpdatedGreaterThanOrEqualTo string

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    TimeUpdatedLessThan string

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    HostNameContains string
    A filter to return resources with host name pattern.
    License string
    License edition of the monitored resource.
    LifecycleStates []string
    Multiple lifecycle states filter.
    ManagementAgentId string
    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]interface{}
    Criteria based on resource property.
    ResourceCategory string
    Resource category filter.
    ResourceTimeZone string
    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.
    TimeCreatedGreaterThanOrEqualTo string

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    TimeCreatedLessThan string

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    TimeUpdatedGreaterThanOrEqualTo string

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    TimeUpdatedLessThan string

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    hostNameContains String
    A filter to return resources with host name pattern.
    license String
    License edition of the monitored resource.
    lifecycleStates List<String>
    Multiple lifecycle states filter.
    managementAgentId String
    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,Object>
    Criteria based on resource property.
    resourceCategory String
    Resource category filter.
    resourceTimeZone String
    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.
    timeCreatedGreaterThanOrEqualTo String

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    timeCreatedLessThan String

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    timeUpdatedGreaterThanOrEqualTo String

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    timeUpdatedLessThan String

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    hostNameContains string
    A filter to return resources with host name pattern.
    license string
    License edition of the monitored resource.
    lifecycleStates string[]
    Multiple lifecycle states filter.
    managementAgentId string
    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]: any}
    Criteria based on resource property.
    resourceCategory string
    Resource category filter.
    resourceTimeZone string
    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.
    timeCreatedGreaterThanOrEqualTo string

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    timeCreatedLessThan string

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    timeUpdatedGreaterThanOrEqualTo string

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    timeUpdatedLessThan string

    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 timeUpdatedGreaterThanOrEqualTo parameter 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_contains str
    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_id str
    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, Any]
    Criteria based on resource property.
    resource_category str
    Resource category filter.
    resource_time_zone str
    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_greater_than_or_equal_to str

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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_less_than str

    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 timeCreatedGreaterThanOrEqualTo parameter 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_greater_than_or_equal_to str

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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_less_than str

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    hostNameContains String
    A filter to return resources with host name pattern.
    license String
    License edition of the monitored resource.
    lifecycleStates List<String>
    Multiple lifecycle states filter.
    managementAgentId String
    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<Any>
    Criteria based on resource property.
    resourceCategory String
    Resource category filter.
    resourceTimeZone String
    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.
    timeCreatedGreaterThanOrEqualTo String

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    timeCreatedLessThan String

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    timeUpdatedGreaterThanOrEqualTo String

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    timeUpdatedLessThan String

    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 timeUpdatedGreaterThanOrEqualTo parameter 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<MonitoredResourcesSearchItem>
    List of monitored resources.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []MonitoredResourcesSearchItem
    List of monitored resources.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<MonitoredResourcesSearchItem>
    List of monitored resources.
    id string
    The provider-assigned unique ID for this managed resource.
    items MonitoredResourcesSearchItem[]
    List of monitored resources.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[stackmonitoring.MonitoredResourcesSearchItem]
    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, Any]] = 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) -> MonitoredResourcesSearch
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    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.
    HostNameContains string
    A filter to return resources with host name pattern.
    Items List<MonitoredResourcesSearchItem>
    List of monitored resources.
    License string
    License edition of the monitored resource.
    LifecycleStates List<string>
    Multiple lifecycle states filter.
    ManagementAgentId string
    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, object>
    Criteria based on resource property.
    ResourceCategory string
    Resource category filter.
    ResourceTimeZone string
    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.
    TimeCreatedGreaterThanOrEqualTo string

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    TimeCreatedLessThan string

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    TimeUpdatedGreaterThanOrEqualTo string

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    TimeUpdatedLessThan string

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    HostNameContains string
    A filter to return resources with host name pattern.
    Items []MonitoredResourcesSearchItemArgs
    List of monitored resources.
    License string
    License edition of the monitored resource.
    LifecycleStates []string
    Multiple lifecycle states filter.
    ManagementAgentId string
    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]interface{}
    Criteria based on resource property.
    ResourceCategory string
    Resource category filter.
    ResourceTimeZone string
    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.
    TimeCreatedGreaterThanOrEqualTo string

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    TimeCreatedLessThan string

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    TimeUpdatedGreaterThanOrEqualTo string

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    TimeUpdatedLessThan string

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    hostNameContains String
    A filter to return resources with host name pattern.
    items List<MonitoredResourcesSearchItem>
    List of monitored resources.
    license String
    License edition of the monitored resource.
    lifecycleStates List<String>
    Multiple lifecycle states filter.
    managementAgentId String
    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,Object>
    Criteria based on resource property.
    resourceCategory String
    Resource category filter.
    resourceTimeZone String
    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.
    timeCreatedGreaterThanOrEqualTo String

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    timeCreatedLessThan String

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    timeUpdatedGreaterThanOrEqualTo String

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    timeUpdatedLessThan String

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    hostNameContains string
    A filter to return resources with host name pattern.
    items MonitoredResourcesSearchItem[]
    List of monitored resources.
    license string
    License edition of the monitored resource.
    lifecycleStates string[]
    Multiple lifecycle states filter.
    managementAgentId string
    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]: any}
    Criteria based on resource property.
    resourceCategory string
    Resource category filter.
    resourceTimeZone string
    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.
    timeCreatedGreaterThanOrEqualTo string

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    timeCreatedLessThan string

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    timeUpdatedGreaterThanOrEqualTo string

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    timeUpdatedLessThan string

    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 timeUpdatedGreaterThanOrEqualTo parameter 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_contains str
    A filter to return resources with host name pattern.
    items Sequence[stackmonitoring.MonitoredResourcesSearchItemArgs]
    List of monitored resources.
    license str
    License edition of the monitored resource.
    lifecycle_states Sequence[str]
    Multiple lifecycle states filter.
    management_agent_id str
    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, Any]
    Criteria based on resource property.
    resource_category str
    Resource category filter.
    resource_time_zone str
    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_greater_than_or_equal_to str

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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_less_than str

    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 timeCreatedGreaterThanOrEqualTo parameter 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_greater_than_or_equal_to str

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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_less_than str

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    hostNameContains String
    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.
    managementAgentId String
    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<Any>
    Criteria based on resource property.
    resourceCategory String
    Resource category filter.
    resourceTimeZone String
    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.
    timeCreatedGreaterThanOrEqualTo String

    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 timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to 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

    timeCreatedLessThan String

    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 timeCreatedGreaterThanOrEqualTo parameter 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

    timeUpdatedGreaterThanOrEqualTo String

    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 timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to 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

    timeUpdatedLessThan String

    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 timeUpdatedGreaterThanOrEqualTo parameter 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.
    DefinedTags Dictionary<string, object>
    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.
    FreeformTags Dictionary<string, object>
    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.
    ManagementAgentId string
    A filter to return resources with matching management agent id.
    Name string
    A filter to return resources that match exact resource name.
    Properties List<MonitoredResourcesSearchItemProperty>
    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.
    SystemTags Dictionary<string, object>
    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.
    DefinedTags map[string]interface{}
    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.
    FreeformTags map[string]interface{}
    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.
    ManagementAgentId string
    A filter to return resources with matching management agent id.
    Name string
    A filter to return resources that match exact resource name.
    Properties []MonitoredResourcesSearchItemProperty
    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.
    SystemTags map[string]interface{}
    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.
    definedTags Map<String,Object>
    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.
    freeformTags Map<String,Object>
    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.
    managementAgentId String
    A filter to return resources with matching management agent id.
    name String
    A filter to return resources that match exact resource name.
    properties List<MonitoredResourcesSearchItemProperty>
    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.
    systemTags Map<String,Object>
    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.
    definedTags {[key: string]: any}
    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.
    freeformTags {[key: string]: any}
    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.
    managementAgentId string
    A filter to return resources with matching management agent id.
    name string
    A filter to return resources that match exact resource name.
    properties MonitoredResourcesSearchItemProperty[]
    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.
    systemTags {[key: string]: any}
    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.
    defined_tags Mapping[str, Any]
    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.
    freeform_tags Mapping[str, Any]
    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_id str
    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.MonitoredResourcesSearchItemProperty]
    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.
    system_tags Mapping[str, Any]
    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.
    definedTags Map<Any>
    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.
    freeformTags Map<Any>
    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.
    managementAgentId String
    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.
    systemTags Map<Any>
    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

    Name string
    A filter to return resources that match exact resource name.
    Value string
    Property Value.
    Name string
    A filter to return resources that match exact resource name.
    Value string
    Property Value.
    name String
    A filter to return resources that match exact resource name.
    value String
    Property Value.
    name string
    A filter to return resources that match exact resource name.
    value string
    Property Value.
    name str
    A filter to return resources that match exact resource name.
    value str
    Property Value.
    name String
    A filter to return resources that match exact resource name.
    value String
    Property Value.

    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi