oci.StackMonitoring.getMonitoredResourceTypes
Explore with Pulumi AI
This data source provides the list of Monitored Resource Types in Oracle Cloud Infrastructure Stack Monitoring service.
Returns list of resource types accessible to the customer. There are two types of resource types - System resource types and User resource types. System resource types are available out of the box in the stack monitoring resource service and are accessible to all the tenant users. User resource types are created in the context of a tenancy and are visible only for the tenancy. By default, both System resource types and User resource types are returned.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoredResourceTypes = oci.StackMonitoring.getMonitoredResourceTypes({
compartmentId: compartmentId,
excludeFields: monitoredResourceTypeExcludeFields,
fields: monitoredResourceTypeFields,
isExcludeSystemTypes: monitoredResourceTypeIsExcludeSystemTypes,
metricNamespace: monitoredResourceTypeMetricNamespace,
name: monitoredResourceTypeName,
status: monitoredResourceTypeStatus,
});
import pulumi
import pulumi_oci as oci
test_monitored_resource_types = oci.StackMonitoring.get_monitored_resource_types(compartment_id=compartment_id,
exclude_fields=monitored_resource_type_exclude_fields,
fields=monitored_resource_type_fields,
is_exclude_system_types=monitored_resource_type_is_exclude_system_types,
metric_namespace=monitored_resource_type_metric_namespace,
name=monitored_resource_type_name,
status=monitored_resource_type_status)
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.GetMonitoredResourceTypes(ctx, &stackmonitoring.GetMonitoredResourceTypesArgs{
CompartmentId: compartmentId,
ExcludeFields: monitoredResourceTypeExcludeFields,
Fields: monitoredResourceTypeFields,
IsExcludeSystemTypes: pulumi.BoolRef(monitoredResourceTypeIsExcludeSystemTypes),
MetricNamespace: pulumi.StringRef(monitoredResourceTypeMetricNamespace),
Name: pulumi.StringRef(monitoredResourceTypeName),
Status: pulumi.StringRef(monitoredResourceTypeStatus),
}, nil)
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 testMonitoredResourceTypes = Oci.StackMonitoring.GetMonitoredResourceTypes.Invoke(new()
{
CompartmentId = compartmentId,
ExcludeFields = monitoredResourceTypeExcludeFields,
Fields = monitoredResourceTypeFields,
IsExcludeSystemTypes = monitoredResourceTypeIsExcludeSystemTypes,
MetricNamespace = monitoredResourceTypeMetricNamespace,
Name = monitoredResourceTypeName,
Status = monitoredResourceTypeStatus,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.StackMonitoring.StackMonitoringFunctions;
import com.pulumi.oci.StackMonitoring.inputs.GetMonitoredResourceTypesArgs;
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) {
final var testMonitoredResourceTypes = StackMonitoringFunctions.getMonitoredResourceTypes(GetMonitoredResourceTypesArgs.builder()
.compartmentId(compartmentId)
.excludeFields(monitoredResourceTypeExcludeFields)
.fields(monitoredResourceTypeFields)
.isExcludeSystemTypes(monitoredResourceTypeIsExcludeSystemTypes)
.metricNamespace(monitoredResourceTypeMetricNamespace)
.name(monitoredResourceTypeName)
.status(monitoredResourceTypeStatus)
.build());
}
}
variables:
testMonitoredResourceTypes:
fn::invoke:
Function: oci:StackMonitoring:getMonitoredResourceTypes
Arguments:
compartmentId: ${compartmentId}
excludeFields: ${monitoredResourceTypeExcludeFields}
fields: ${monitoredResourceTypeFields}
isExcludeSystemTypes: ${monitoredResourceTypeIsExcludeSystemTypes}
metricNamespace: ${monitoredResourceTypeMetricNamespace}
name: ${monitoredResourceTypeName}
status: ${monitoredResourceTypeStatus}
Using getMonitoredResourceTypes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMonitoredResourceTypes(args: GetMonitoredResourceTypesArgs, opts?: InvokeOptions): Promise<GetMonitoredResourceTypesResult>
function getMonitoredResourceTypesOutput(args: GetMonitoredResourceTypesOutputArgs, opts?: InvokeOptions): Output<GetMonitoredResourceTypesResult>
def get_monitored_resource_types(compartment_id: Optional[str] = None,
exclude_fields: Optional[Sequence[str]] = None,
fields: Optional[Sequence[str]] = None,
filters: Optional[Sequence[_stackmonitoring.GetMonitoredResourceTypesFilter]] = None,
is_exclude_system_types: Optional[bool] = None,
metric_namespace: Optional[str] = None,
name: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitoredResourceTypesResult
def get_monitored_resource_types_output(compartment_id: Optional[pulumi.Input[str]] = None,
exclude_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_stackmonitoring.GetMonitoredResourceTypesFilterArgs]]]] = None,
is_exclude_system_types: Optional[pulumi.Input[bool]] = None,
metric_namespace: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredResourceTypesResult]
func GetMonitoredResourceTypes(ctx *Context, args *GetMonitoredResourceTypesArgs, opts ...InvokeOption) (*GetMonitoredResourceTypesResult, error)
func GetMonitoredResourceTypesOutput(ctx *Context, args *GetMonitoredResourceTypesOutputArgs, opts ...InvokeOption) GetMonitoredResourceTypesResultOutput
> Note: This function is named GetMonitoredResourceTypes
in the Go SDK.
public static class GetMonitoredResourceTypes
{
public static Task<GetMonitoredResourceTypesResult> InvokeAsync(GetMonitoredResourceTypesArgs args, InvokeOptions? opts = null)
public static Output<GetMonitoredResourceTypesResult> Invoke(GetMonitoredResourceTypesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMonitoredResourceTypesResult> getMonitoredResourceTypes(GetMonitoredResourceTypesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:StackMonitoring/getMonitoredResourceTypes:getMonitoredResourceTypes
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the tenancy for which monitored resource types should be listed.
- 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.
- 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.
MonitoredResourceType Id, name and compartment will be added by default.
- Filters
List<Get
Monitored Resource Types Filter> - Is
Exclude boolSystem Types - A filter to exclude system resource types. If set to true, system resource types will be excluded.
- Metric
Namespace string - A filter to return monitored resource types that has the matching namespace.
- Name string
- A filter to return monitored resource types that match exactly with the resource type name given.
- Status string
- A filter to return only resources that matches with lifecycleState given.
- Compartment
Id string - The OCID of the tenancy for which monitored resource types should be listed.
- 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.
- 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.
MonitoredResourceType Id, name and compartment will be added by default.
- Filters
[]Get
Monitored Resource Types Filter - Is
Exclude boolSystem Types - A filter to exclude system resource types. If set to true, system resource types will be excluded.
- Metric
Namespace string - A filter to return monitored resource types that has the matching namespace.
- Name string
- A filter to return monitored resource types that match exactly with the resource type name given.
- Status string
- A filter to return only resources that matches with lifecycleState given.
- compartment
Id String - The OCID of the tenancy for which monitored resource types should be listed.
- 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.
- 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.
MonitoredResourceType Id, name and compartment will be added by default.
- filters
List<Get
Monitored Resource Types Filter> - is
Exclude BooleanSystem Types - A filter to exclude system resource types. If set to true, system resource types will be excluded.
- metric
Namespace String - A filter to return monitored resource types that has the matching namespace.
- name String
- A filter to return monitored resource types that match exactly with the resource type name given.
- status String
- A filter to return only resources that matches with lifecycleState given.
- compartment
Id string - The OCID of the tenancy for which monitored resource types should be listed.
- 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.
- 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.
MonitoredResourceType Id, name and compartment will be added by default.
- filters
Get
Monitored Resource Types Filter[] - is
Exclude booleanSystem Types - A filter to exclude system resource types. If set to true, system resource types will be excluded.
- metric
Namespace string - A filter to return monitored resource types that has the matching namespace.
- name string
- A filter to return monitored resource types that match exactly with the resource type name given.
- status string
- A filter to return only resources that matches with lifecycleState given.
- compartment_
id str - The OCID of the tenancy for which monitored resource types should be listed.
- 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.
- 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.
MonitoredResourceType Id, name and compartment will be added by default.
- filters
Sequence[stackmonitoring.
Get Monitored Resource Types Filter] - is_
exclude_ boolsystem_ types - A filter to exclude system resource types. If set to true, system resource types will be excluded.
- metric_
namespace str - A filter to return monitored resource types that has the matching namespace.
- name str
- A filter to return monitored resource types that match exactly with the resource type name given.
- status str
- A filter to return only resources that matches with lifecycleState given.
- compartment
Id String - The OCID of the tenancy for which monitored resource types should be listed.
- 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.
- 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.
MonitoredResourceType Id, name and compartment will be added by default.
- filters List<Property Map>
- is
Exclude BooleanSystem Types - A filter to exclude system resource types. If set to true, system resource types will be excluded.
- metric
Namespace String - A filter to return monitored resource types that has the matching namespace.
- name String
- A filter to return monitored resource types that match exactly with the resource type name given.
- status String
- A filter to return only resources that matches with lifecycleState given.
getMonitoredResourceTypes Result
The following output properties are available:
- Compartment
Id string - The OCID of the tenancy containing the resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitored
Resource List<GetTypes Collections Monitored Resource Types Monitored Resource Types Collection> - The list of monitored_resource_types_collection.
- Exclude
Fields List<string> - Fields List<string>
- Filters
List<Get
Monitored Resource Types Filter> - Is
Exclude boolSystem Types - Metric
Namespace string - Metric namespace for resource type.
- Name string
- A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
- Status string
- Compartment
Id string - The OCID of the tenancy containing the resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitored
Resource []GetTypes Collections Monitored Resource Types Monitored Resource Types Collection - The list of monitored_resource_types_collection.
- Exclude
Fields []string - Fields []string
- Filters
[]Get
Monitored Resource Types Filter - Is
Exclude boolSystem Types - Metric
Namespace string - Metric namespace for resource type.
- Name string
- A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
- Status string
- compartment
Id String - The OCID of the tenancy containing the resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- monitored
Resource List<GetTypes Collections Monitored Resource Types Monitored Resource Types Collection> - The list of monitored_resource_types_collection.
- exclude
Fields List<String> - fields List<String>
- filters
List<Get
Monitored Resource Types Filter> - is
Exclude BooleanSystem Types - metric
Namespace String - Metric namespace for resource type.
- name String
- A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
- status String
- compartment
Id string - The OCID of the tenancy containing the resource type.
- id string
- The provider-assigned unique ID for this managed resource.
- monitored
Resource GetTypes Collections Monitored Resource Types Monitored Resource Types Collection[] - The list of monitored_resource_types_collection.
- exclude
Fields string[] - fields string[]
- filters
Get
Monitored Resource Types Filter[] - is
Exclude booleanSystem Types - metric
Namespace string - Metric namespace for resource type.
- name string
- A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
- status string
- compartment_
id str - The OCID of the tenancy containing the resource type.
- id str
- The provider-assigned unique ID for this managed resource.
- monitored_
resource_ Sequence[stackmonitoring.types_ collections Get Monitored Resource Types Monitored Resource Types Collection] - The list of monitored_resource_types_collection.
- exclude_
fields Sequence[str] - fields Sequence[str]
- filters
Sequence[stackmonitoring.
Get Monitored Resource Types Filter] - is_
exclude_ boolsystem_ types - metric_
namespace str - Metric namespace for resource type.
- name str
- A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
- status str
- compartment
Id String - The OCID of the tenancy containing the resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- monitored
Resource List<Property Map>Types Collections - The list of monitored_resource_types_collection.
- exclude
Fields List<String> - fields List<String>
- filters List<Property Map>
- is
Exclude BooleanSystem Types - metric
Namespace String - Metric namespace for resource type.
- name String
- A unique monitored resource type name. The name must be unique across tenancy. Name can not be changed.
- status String
Supporting Types
GetMonitoredResourceTypesFilter
GetMonitoredResourceTypesMonitoredResourceTypesCollection
GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem
- Compartment
Id string - The OCID of the tenancy for which monitored resource types should be listed.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- A friendly description.
- Display
Name string - Monitored resource type display name.
- 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"}
- Id string
- Monitored resource type identifier OCID.
- Metadatas
List<Get
Monitored Resource Types Monitored Resource Types Collection Item Metadata> - The metadata details for resource type.
- Metric
Namespace string - A filter to return monitored resource types that has the matching namespace.
- Name string
- A filter to return monitored resource types that match exactly with the resource type name given.
- Resource
Category string - Resource Category to indicate the kind of resource type.
- Source
Type string - Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
- State string
- Lifecycle state of the monitored resource type.
- 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 - The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
- Time
Updated string - The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
- Compartment
Id string - The OCID of the tenancy for which monitored resource types should be listed.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- A friendly description.
- Display
Name string - Monitored resource type display name.
- 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"}
- Id string
- Monitored resource type identifier OCID.
- Metadatas
[]Get
Monitored Resource Types Monitored Resource Types Collection Item Metadata - The metadata details for resource type.
- Metric
Namespace string - A filter to return monitored resource types that has the matching namespace.
- Name string
- A filter to return monitored resource types that match exactly with the resource type name given.
- Resource
Category string - Resource Category to indicate the kind of resource type.
- Source
Type string - Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
- State string
- Lifecycle state of the monitored resource type.
- 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 - The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
- Time
Updated string - The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
- compartment
Id String - The OCID of the tenancy for which monitored resource types should be listed.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- A friendly description.
- display
Name String - Monitored resource type display name.
- 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"}
- id String
- Monitored resource type identifier OCID.
- metadatas
List<Get
Monitored Resource Types Monitored Resource Types Collection Item Metadata> - The metadata details for resource type.
- metric
Namespace String - A filter to return monitored resource types that has the matching namespace.
- name String
- A filter to return monitored resource types that match exactly with the resource type name given.
- resource
Category String - Resource Category to indicate the kind of resource type.
- source
Type String - Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
- state String
- Lifecycle state of the monitored resource type.
- 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 - The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
- time
Updated String - The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
- compartment
Id string - The OCID of the tenancy for which monitored resource types should be listed.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- A friendly description.
- display
Name string - Monitored resource type display name.
- {[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"}
- id string
- Monitored resource type identifier OCID.
- metadatas
Get
Monitored Resource Types Monitored Resource Types Collection Item Metadata[] - The metadata details for resource type.
- metric
Namespace string - A filter to return monitored resource types that has the matching namespace.
- name string
- A filter to return monitored resource types that match exactly with the resource type name given.
- resource
Category string - Resource Category to indicate the kind of resource type.
- source
Type string - Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
- state string
- Lifecycle state of the monitored resource type.
- {[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 - The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
- time
Updated string - The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
- compartment_
id str - The OCID of the tenancy for which monitored resource types should be listed.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- A friendly description.
- display_
name str - Monitored resource type display name.
- 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"}
- id str
- Monitored resource type identifier OCID.
- metadatas
Sequence[stackmonitoring.
Get Monitored Resource Types Monitored Resource Types Collection Item Metadata] - The metadata details for resource type.
- metric_
namespace str - A filter to return monitored resource types that has the matching namespace.
- name str
- A filter to return monitored resource types that match exactly with the resource type name given.
- resource_
category str - Resource Category to indicate the kind of resource type.
- source_
type str - Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
- state str
- Lifecycle state of the monitored resource type.
- 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 - The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
- time_
updated str - The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
- compartment
Id String - The OCID of the tenancy for which monitored resource types should be listed.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- A friendly description.
- display
Name String - Monitored resource type display name.
- 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"}
- id String
- Monitored resource type identifier OCID.
- metadatas List<Property Map>
- The metadata details for resource type.
- metric
Namespace String - A filter to return monitored resource types that has the matching namespace.
- name String
- A filter to return monitored resource types that match exactly with the resource type name given.
- resource
Category String - Resource Category to indicate the kind of resource type.
- source
Type String - Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
- state String
- Lifecycle state of the monitored resource type.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
- time
Updated String - The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata
- Agent
Properties List<string> - List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
- Format string
- ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.
- SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
- Required
Properties List<string> - List of required properties for resource type.
- Unique
Property List<GetSets Monitored Resource Types Monitored Resource Types Collection Item Metadata Unique Property Set> - List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
- Valid
Properties List<string>For Creates - List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
- Valid
Properties List<string>For Updates - List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
- Valid
Property Dictionary<string, object>Values - List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example:
{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}
- Agent
Properties []string - List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
- Format string
- ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.
- SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
- Required
Properties []string - List of required properties for resource type.
- Unique
Property []GetSets Monitored Resource Types Monitored Resource Types Collection Item Metadata Unique Property Set - List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
- Valid
Properties []stringFor Creates - List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
- Valid
Properties []stringFor Updates - List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
- Valid
Property map[string]interface{}Values - List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example:
{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}
- agent
Properties List<String> - List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
- format String
- ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.
- SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
- required
Properties List<String> - List of required properties for resource type.
- unique
Property List<GetSets Monitored Resource Types Monitored Resource Types Collection Item Metadata Unique Property Set> - List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
- valid
Properties List<String>For Creates - List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
- valid
Properties List<String>For Updates - List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
- valid
Property Map<String,Object>Values - List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example:
{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}
- agent
Properties string[] - List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
- format string
- ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.
- SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
- required
Properties string[] - List of required properties for resource type.
- unique
Property GetSets Monitored Resource Types Monitored Resource Types Collection Item Metadata Unique Property Set[] - List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
- valid
Properties string[]For Creates - List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
- valid
Properties string[]For Updates - List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
- valid
Property {[key: string]: any}Values - List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example:
{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}
- agent_
properties Sequence[str] - List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
- format str
- ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.
- SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
- required_
properties Sequence[str] - List of required properties for resource type.
- unique_
property_ Sequence[stackmonitoring.sets Get Monitored Resource Types Monitored Resource Types Collection Item Metadata Unique Property Set] - List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
- valid_
properties_ Sequence[str]for_ creates - List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
- valid_
properties_ Sequence[str]for_ updates - List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
- valid_
property_ Mapping[str, Any]values - List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example:
{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}
- agent
Properties List<String> - List of properties needed by the agent for monitoring the resource. Valid only if resource type is Oracle Cloud Infrastructure management agent based. When specified, these properties are passed to the management agent during resource create or update.
- format String
- ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT.
- SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
- required
Properties List<String> - List of required properties for resource type.
- unique
Property List<Property Map>Sets - List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
- valid
Properties List<String>For Creates - List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
- valid
Properties List<String>For Updates - List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
- valid
Property Map<Any>Values - List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for 'osType' property, supported values can be restricted to be either Linux or Windows. Example:
{"osType": "Linux,Windows,Solaris", "osVersion": "v6.0,v7.0"}
GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet
- Properties List<string>
- List of properties.
- Properties []string
- List of properties.
- properties List<String>
- List of properties.
- properties string[]
- List of properties.
- properties Sequence[str]
- List of properties.
- properties List<String>
- List of properties.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.