oci.StackMonitoring.MonitoredResourcesSearch
Explore with Pulumi AI
This resource provides the Monitored Resources Search resource in Oracle Cloud Infrastructure Stack Monitoring service.
Gets a list of all monitored resources in a compartment for the given search criteria.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoredResourcesSearch = new oci.stackmonitoring.MonitoredResourcesSearch("test_monitored_resources_search", {
compartmentId: compartmentId,
compartmentIds: monitoredResourcesSearchCompartmentIds,
excludeFields: monitoredResourcesSearchExcludeFields,
externalId: testExternal.id,
fields: monitoredResourcesSearchFields,
hostName: monitoredResourcesSearchHostName,
hostNameContains: monitoredResourcesSearchHostNameContains,
license: monitoredResourcesSearchLicense,
lifecycleStates: monitoredResourcesSearchLifecycleStates,
managementAgentId: testManagementAgent.id,
name: monitoredResourcesSearchName,
nameContains: monitoredResourcesSearchNameContains,
propertyEquals: monitoredResourcesSearchPropertyEquals,
resourceCategory: monitoredResourcesSearchResourceCategory,
resourceTimeZone: monitoredResourcesSearchResourceTimeZone,
sourceType: monitoredResourcesSearchSourceType,
state: monitoredResourcesSearchState,
timeCreatedGreaterThanOrEqualTo: monitoredResourcesSearchTimeCreatedGreaterThanOrEqualTo,
timeCreatedLessThan: monitoredResourcesSearchTimeCreatedLessThan,
timeUpdatedGreaterThanOrEqualTo: monitoredResourcesSearchTimeUpdatedGreaterThanOrEqualTo,
timeUpdatedLessThan: monitoredResourcesSearchTimeUpdatedLessThan,
type: monitoredResourcesSearchType,
});
import pulumi
import pulumi_oci as oci
test_monitored_resources_search = oci.stack_monitoring.MonitoredResourcesSearch("test_monitored_resources_search",
compartment_id=compartment_id,
compartment_ids=monitored_resources_search_compartment_ids,
exclude_fields=monitored_resources_search_exclude_fields,
external_id=test_external["id"],
fields=monitored_resources_search_fields,
host_name=monitored_resources_search_host_name,
host_name_contains=monitored_resources_search_host_name_contains,
license=monitored_resources_search_license,
lifecycle_states=monitored_resources_search_lifecycle_states,
management_agent_id=test_management_agent["id"],
name=monitored_resources_search_name,
name_contains=monitored_resources_search_name_contains,
property_equals=monitored_resources_search_property_equals,
resource_category=monitored_resources_search_resource_category,
resource_time_zone=monitored_resources_search_resource_time_zone,
source_type=monitored_resources_search_source_type,
state=monitored_resources_search_state,
time_created_greater_than_or_equal_to=monitored_resources_search_time_created_greater_than_or_equal_to,
time_created_less_than=monitored_resources_search_time_created_less_than,
time_updated_greater_than_or_equal_to=monitored_resources_search_time_updated_greater_than_or_equal_to,
time_updated_less_than=monitored_resources_search_time_updated_less_than,
type=monitored_resources_search_type)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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:
- Compartment
Id string - Compartment Identifier OCID.
- Compartment
Ids List<string> - Multiple compartment identifiers OCID.
- Exclude
Fields 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.
- External
Id 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.
- Host
Name string - A filter to return resources with host name match.
- Host
Name stringContains - A filter to return resources with host name pattern.
- License string
- License edition of the monitored resource.
- Lifecycle
States List<string> - Multiple lifecycle states filter.
- Management
Agent stringId - A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Name
Contains string - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- Property
Equals Dictionary<string, object> - Criteria based on resource property.
- Resource
Category string - Resource category filter.
- Resource
Time stringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- Source
Type string - Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- Time
Created stringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 stringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 string - Compartment Identifier OCID.
- Compartment
Ids []string - Multiple compartment identifiers OCID.
- Exclude
Fields []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.
- External
Id 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.
- Host
Name string - A filter to return resources with host name match.
- Host
Name stringContains - A filter to return resources with host name pattern.
- License string
- License edition of the monitored resource.
- Lifecycle
States []string - Multiple lifecycle states filter.
- Management
Agent stringId - A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Name
Contains string - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- Property
Equals map[string]interface{} - Criteria based on resource property.
- Resource
Category string - Resource category filter.
- Resource
Time stringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- Source
Type string - Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- Time
Created stringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 stringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 String - Compartment Identifier OCID.
- compartment
Ids List<String> - Multiple compartment identifiers OCID.
- exclude
Fields 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.
- external
Id 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.
- host
Name String - A filter to return resources with host name match.
- host
Name StringContains - A filter to return resources with host name pattern.
- license String
- License edition of the monitored resource.
- lifecycle
States List<String> - Multiple lifecycle states filter.
- management
Agent StringId - A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- name
Contains String - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property
Equals Map<String,Object> - Criteria based on resource property.
- resource
Category String - Resource category filter.
- resource
Time StringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source
Type String - Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- time
Created StringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 StringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 string - Compartment Identifier OCID.
- compartment
Ids string[] - Multiple compartment identifiers OCID.
- exclude
Fields 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.
- external
Id 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.
- host
Name string - A filter to return resources with host name match.
- host
Name stringContains - A filter to return resources with host name pattern.
- license string
- License edition of the monitored resource.
- lifecycle
States string[] - Multiple lifecycle states filter.
- management
Agent stringId - A filter to return resources with matching management agent id.
- name string
- A filter to return resources that match exact resource name.
- name
Contains string - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property
Equals {[key: string]: any} - Criteria based on resource property.
- resource
Category string - Resource category filter.
- resource
Time stringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source
Type string - Source type filter.
- state string
- A filter to return resources with matching lifecycle state.
- time
Created stringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 stringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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_ strcontains - A filter to return resources with host name pattern.
- license str
- License edition of the monitored resource.
- lifecycle_
states Sequence[str] - Multiple lifecycle states filter.
- management_
agent_ strid - A filter to return resources with matching management agent id.
- name str
- A filter to return resources that match exact resource name.
- name_
contains str - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property_
equals Mapping[str, Any] - Criteria based on resource property.
- resource_
category str - Resource category filter.
- resource_
time_ strzone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source_
type str - Source type filter.
- state str
- A filter to return resources with matching lifecycle state.
- time_
created_ strgreater_ than_ or_ equal_ to Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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_ strless_ than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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_ strgreater_ than_ or_ equal_ to Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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_ strless_ than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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
- compartment
Id String - Compartment Identifier OCID.
- compartment
Ids List<String> - Multiple compartment identifiers OCID.
- exclude
Fields 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.
- external
Id 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.
- host
Name String - A filter to return resources with host name match.
- host
Name StringContains - A filter to return resources with host name pattern.
- license String
- License edition of the monitored resource.
- lifecycle
States List<String> - Multiple lifecycle states filter.
- management
Agent StringId - A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- name
Contains String - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property
Equals Map<Any> - Criteria based on resource property.
- resource
Category String - Resource category filter.
- resource
Time StringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source
Type String - Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- time
Created StringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 StringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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<Monitored
Resources Search Item> - List of monitored resources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Monitored
Resources Search Item - List of monitored resources.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Monitored
Resources Search Item> - List of monitored resources.
- id string
- The provider-assigned unique ID for this managed resource.
- items
Monitored
Resources Search Item[] - List of monitored resources.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[stackmonitoring.
Monitored Resources Search Item] - List of monitored resources.
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of monitored resources.
Look up Existing MonitoredResourcesSearch Resource
Get an existing MonitoredResourcesSearch resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MonitoredResourcesSearchState, opts?: CustomResourceOptions): MonitoredResourcesSearch
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
compartment_ids: Optional[Sequence[str]] = None,
exclude_fields: Optional[Sequence[str]] = None,
external_id: Optional[str] = None,
fields: Optional[Sequence[str]] = None,
host_name: Optional[str] = None,
host_name_contains: Optional[str] = None,
items: Optional[Sequence[_stackmonitoring.MonitoredResourcesSearchItemArgs]] = None,
license: Optional[str] = None,
lifecycle_states: Optional[Sequence[str]] = None,
management_agent_id: Optional[str] = None,
name: Optional[str] = None,
name_contains: Optional[str] = None,
property_equals: Optional[Mapping[str, 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.
- Compartment
Id string - Compartment Identifier OCID.
- Compartment
Ids List<string> - Multiple compartment identifiers OCID.
- Exclude
Fields 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.
- External
Id 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.
- Host
Name string - A filter to return resources with host name match.
- Host
Name stringContains - A filter to return resources with host name pattern.
- Items
List<Monitored
Resources Search Item> - List of monitored resources.
- License string
- License edition of the monitored resource.
- Lifecycle
States List<string> - Multiple lifecycle states filter.
- Management
Agent stringId - A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Name
Contains string - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- Property
Equals Dictionary<string, object> - Criteria based on resource property.
- Resource
Category string - Resource category filter.
- Resource
Time stringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- Source
Type string - Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- Time
Created stringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 stringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 string - Compartment Identifier OCID.
- Compartment
Ids []string - Multiple compartment identifiers OCID.
- Exclude
Fields []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.
- External
Id 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.
- Host
Name string - A filter to return resources with host name match.
- Host
Name stringContains - A filter to return resources with host name pattern.
- Items
[]Monitored
Resources Search Item Args - List of monitored resources.
- License string
- License edition of the monitored resource.
- Lifecycle
States []string - Multiple lifecycle states filter.
- Management
Agent stringId - A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Name
Contains string - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- Property
Equals map[string]interface{} - Criteria based on resource property.
- Resource
Category string - Resource category filter.
- Resource
Time stringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- Source
Type string - Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- Time
Created stringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 stringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 String - Compartment Identifier OCID.
- compartment
Ids List<String> - Multiple compartment identifiers OCID.
- exclude
Fields 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.
- external
Id 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.
- host
Name String - A filter to return resources with host name match.
- host
Name StringContains - A filter to return resources with host name pattern.
- items
List<Monitored
Resources Search Item> - List of monitored resources.
- license String
- License edition of the monitored resource.
- lifecycle
States List<String> - Multiple lifecycle states filter.
- management
Agent StringId - A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- name
Contains String - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property
Equals Map<String,Object> - Criteria based on resource property.
- resource
Category String - Resource category filter.
- resource
Time StringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source
Type String - Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- time
Created StringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 StringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 string - Compartment Identifier OCID.
- compartment
Ids string[] - Multiple compartment identifiers OCID.
- exclude
Fields 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.
- external
Id 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.
- host
Name string - A filter to return resources with host name match.
- host
Name stringContains - A filter to return resources with host name pattern.
- items
Monitored
Resources Search Item[] - List of monitored resources.
- license string
- License edition of the monitored resource.
- lifecycle
States string[] - Multiple lifecycle states filter.
- management
Agent stringId - A filter to return resources with matching management agent id.
- name string
- A filter to return resources that match exact resource name.
- name
Contains string - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property
Equals {[key: string]: any} - Criteria based on resource property.
- resource
Category string - Resource category filter.
- resource
Time stringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source
Type string - Source type filter.
- state string
- A filter to return resources with matching lifecycle state.
- time
Created stringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 stringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 stringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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_ strcontains - A filter to return resources with host name pattern.
- items
Sequence[stackmonitoring.
Monitored Resources Search Item Args] - List of monitored resources.
- license str
- License edition of the monitored resource.
- lifecycle_
states Sequence[str] - Multiple lifecycle states filter.
- management_
agent_ strid - A filter to return resources with matching management agent id.
- name str
- A filter to return resources that match exact resource name.
- name_
contains str - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property_
equals Mapping[str, Any] - Criteria based on resource property.
- resource_
category str - Resource category filter.
- resource_
time_ strzone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source_
type str - Source type filter.
- state str
- A filter to return resources with matching lifecycle state.
- time_
created_ strgreater_ than_ or_ equal_ to Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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_ strless_ than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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_ strgreater_ than_ or_ equal_ to Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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_ strless_ than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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
- compartment
Id String - Compartment Identifier OCID.
- compartment
Ids List<String> - Multiple compartment identifiers OCID.
- exclude
Fields 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.
- external
Id 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.
- host
Name String - A filter to return resources with host name match.
- host
Name StringContains - A filter to return resources with host name pattern.
- items List<Property Map>
- List of monitored resources.
- license String
- License edition of the monitored resource.
- lifecycle
States List<String> - Multiple lifecycle states filter.
- management
Agent StringId - A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- name
Contains String - A filter to return resources that match resource name pattern given. The match is not case sensitive.
- property
Equals Map<Any> - Criteria based on resource property.
- resource
Category String - Resource category filter.
- resource
Time StringZone - Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
- source
Type String - Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- time
Created StringGreater Than Or Equal To Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive). Specifying this parameter without the corresponding
timeCreatedLessThan
parameter will retrieve resources created from the giventimeCreatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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 StringGreater Than Or Equal To Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive). Specifying this parameter without the corresponding
timeUpdatedLessThan
parameter will retrieve resources updated from the giventimeUpdatedGreaterThanOrEqualTo
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 StringLess Than Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive). Specifying this parameter without the corresponding
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
- Compartment
Id string - Compartment Identifier OCID.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Monitored resource display name.
- External
Id string - External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Dictionary<string, object>
- 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 string - A filter to return resources with host name match.
- Id string
- Monitored resource identifier OCID.
- License string
- License edition of the monitored resource.
- Management
Agent stringId - A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Properties
List<Monitored
Resources Search Item Property> - List of monitored resource properties.
- Resource
Category string - Resource category filter.
- Source
Type string - Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Monitored resource creation time. An RFC3339 formatted datetime string.
- Time
Updated 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 string - Compartment Identifier OCID.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - Monitored resource display name.
- External
Id string - External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- map[string]interface{}
- 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 string - A filter to return resources with host name match.
- Id string
- Monitored resource identifier OCID.
- License string
- License edition of the monitored resource.
- Management
Agent stringId - A filter to return resources with matching management agent id.
- Name string
- A filter to return resources that match exact resource name.
- Properties
[]Monitored
Resources Search Item Property - List of monitored resource properties.
- Resource
Category string - Resource category filter.
- Source
Type string - Source type filter.
- State string
- A filter to return resources with matching lifecycle state.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Monitored resource creation time. An RFC3339 formatted datetime string.
- Time
Updated 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 String - Compartment Identifier OCID.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Monitored resource display name.
- external
Id String - External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Map<String,Object>
- 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 String - A filter to return resources with host name match.
- id String
- Monitored resource identifier OCID.
- license String
- License edition of the monitored resource.
- management
Agent StringId - A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- properties
List<Monitored
Resources Search Item Property> - List of monitored resource properties.
- resource
Category String - Resource category filter.
- source
Type String - Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Monitored resource creation time. An RFC3339 formatted datetime string.
- time
Updated 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 string - Compartment Identifier OCID.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - Monitored resource display name.
- external
Id string - External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- {[key: string]: 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 string - A filter to return resources with host name match.
- id string
- Monitored resource identifier OCID.
- license string
- License edition of the monitored resource.
- management
Agent stringId - A filter to return resources with matching management agent id.
- name string
- A filter to return resources that match exact resource name.
- properties
Monitored
Resources Search Item Property[] - List of monitored resource properties.
- resource
Category string - Resource category filter.
- source
Type string - Source type filter.
- state string
- A filter to return resources with matching lifecycle state.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Monitored resource creation time. An RFC3339 formatted datetime string.
- time
Updated string - Monitored resource update time. An RFC3339 formatted datetime string.
- type string
A filter to return resources that match resource type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - Compartment Identifier OCID.
- Mapping[str, 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.
- 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_ strid - A filter to return resources with matching management agent id.
- name str
- A filter to return resources that match exact resource name.
- properties
Sequence[stackmonitoring.
Monitored Resources Search Item Property] - List of monitored resource properties.
- resource_
category str - Resource category filter.
- source_
type str - Source type filter.
- state str
- A filter to return resources with matching lifecycle state.
- Mapping[str, 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
- compartment
Id String - Compartment Identifier OCID.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - Monitored resource display name.
- external
Id String - External resource is any Oracle Cloud Infrastructure resource identifier OCID which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
- Map<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 String - A filter to return resources with host name match.
- id String
- Monitored resource identifier OCID.
- license String
- License edition of the monitored resource.
- management
Agent StringId - A filter to return resources with matching management agent id.
- name String
- A filter to return resources that match exact resource name.
- properties List<Property Map>
- List of monitored resource properties.
- resource
Category String - Resource category filter.
- source
Type String - Source type filter.
- state String
- A filter to return resources with matching lifecycle state.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Monitored resource creation time. An RFC3339 formatted datetime string.
- time
Updated String - Monitored resource update time. An RFC3339 formatted datetime string.
- type String
A filter to return resources that match resource type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
MonitoredResourcesSearchItemProperty, MonitoredResourcesSearchItemPropertyArgs
Import
MonitoredResourcesSearch can be imported using the id
, e.g.
$ pulumi import oci:StackMonitoring/monitoredResourcesSearch:MonitoredResourcesSearch test_monitored_resources_search "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.