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

oci.StackMonitoring.getMonitoredResourceTypes

Explore with Pulumi AI

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

    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:

    CompartmentId string
    The OCID of the tenancy for which monitored resource types should be listed.
    ExcludeFields List<string>
    Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
    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<GetMonitoredResourceTypesFilter>
    IsExcludeSystemTypes bool
    A filter to exclude system resource types. If set to true, system resource types will be excluded.
    MetricNamespace 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.
    CompartmentId string
    The OCID of the tenancy for which monitored resource types should be listed.
    ExcludeFields []string
    Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
    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 []GetMonitoredResourceTypesFilter
    IsExcludeSystemTypes bool
    A filter to exclude system resource types. If set to true, system resource types will be excluded.
    MetricNamespace 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.
    compartmentId String
    The OCID of the tenancy for which monitored resource types should be listed.
    excludeFields List<String>
    Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
    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<GetMonitoredResourceTypesFilter>
    isExcludeSystemTypes Boolean
    A filter to exclude system resource types. If set to true, system resource types will be excluded.
    metricNamespace 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.
    compartmentId string
    The OCID of the tenancy for which monitored resource types should be listed.
    excludeFields string[]
    Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
    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 GetMonitoredResourceTypesFilter[]
    isExcludeSystemTypes boolean
    A filter to exclude system resource types. If set to true, system resource types will be excluded.
    metricNamespace 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.GetMonitoredResourceTypesFilter]
    is_exclude_system_types bool
    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.
    compartmentId String
    The OCID of the tenancy for which monitored resource types should be listed.
    excludeFields List<String>
    Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called "excludeFields" of an array type, provide the values as enums, and use collectionFormat.
    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>
    isExcludeSystemTypes Boolean
    A filter to exclude system resource types. If set to true, system resource types will be excluded.
    metricNamespace 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:

    CompartmentId string
    The OCID of the tenancy containing the resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    MonitoredResourceTypesCollections List<GetMonitoredResourceTypesMonitoredResourceTypesCollection>
    The list of monitored_resource_types_collection.
    ExcludeFields List<string>
    Fields List<string>
    Filters List<GetMonitoredResourceTypesFilter>
    IsExcludeSystemTypes bool
    MetricNamespace 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
    CompartmentId string
    The OCID of the tenancy containing the resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    MonitoredResourceTypesCollections []GetMonitoredResourceTypesMonitoredResourceTypesCollection
    The list of monitored_resource_types_collection.
    ExcludeFields []string
    Fields []string
    Filters []GetMonitoredResourceTypesFilter
    IsExcludeSystemTypes bool
    MetricNamespace 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
    compartmentId String
    The OCID of the tenancy containing the resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    monitoredResourceTypesCollections List<GetMonitoredResourceTypesMonitoredResourceTypesCollection>
    The list of monitored_resource_types_collection.
    excludeFields List<String>
    fields List<String>
    filters List<GetMonitoredResourceTypesFilter>
    isExcludeSystemTypes Boolean
    metricNamespace 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
    compartmentId string
    The OCID of the tenancy containing the resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    monitoredResourceTypesCollections GetMonitoredResourceTypesMonitoredResourceTypesCollection[]
    The list of monitored_resource_types_collection.
    excludeFields string[]
    fields string[]
    filters GetMonitoredResourceTypesFilter[]
    isExcludeSystemTypes boolean
    metricNamespace 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_types_collections Sequence[stackmonitoring.GetMonitoredResourceTypesMonitoredResourceTypesCollection]
    The list of monitored_resource_types_collection.
    exclude_fields Sequence[str]
    fields Sequence[str]
    filters Sequence[stackmonitoring.GetMonitoredResourceTypesFilter]
    is_exclude_system_types bool
    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
    compartmentId String
    The OCID of the tenancy containing the resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    monitoredResourceTypesCollections List<Property Map>
    The list of monitored_resource_types_collection.
    excludeFields List<String>
    fields List<String>
    filters List<Property Map>
    isExcludeSystemTypes Boolean
    metricNamespace 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

    Name string
    A filter to return monitored resource types that match exactly with the resource type name given.
    Values List<string>
    Regex bool
    Name string
    A filter to return monitored resource types that match exactly with the resource type name given.
    Values []string
    Regex bool
    name String
    A filter to return monitored resource types that match exactly with the resource type name given.
    values List<String>
    regex Boolean
    name string
    A filter to return monitored resource types that match exactly with the resource type name given.
    values string[]
    regex boolean
    name str
    A filter to return monitored resource types that match exactly with the resource type name given.
    values Sequence[str]
    regex bool
    name String
    A filter to return monitored resource types that match exactly with the resource type name given.
    values List<String>
    regex Boolean

    GetMonitoredResourceTypesMonitoredResourceTypesCollection

    GetMonitoredResourceTypesMonitoredResourceTypesCollectionItem

    CompartmentId string
    The OCID of the tenancy for which monitored resource types should be listed.
    DefinedTags 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.
    DisplayName string
    Monitored resource type display name.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Monitored resource type identifier OCID.
    Metadatas List<GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata>
    The metadata details for resource type.
    MetricNamespace 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.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    SourceType 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.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    CompartmentId string
    The OCID of the tenancy for which monitored resource types should be listed.
    DefinedTags 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.
    DisplayName string
    Monitored resource type display name.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Monitored resource type identifier OCID.
    Metadatas []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata
    The metadata details for resource type.
    MetricNamespace 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.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    SourceType 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.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    compartmentId String
    The OCID of the tenancy for which monitored resource types should be listed.
    definedTags 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.
    displayName String
    Monitored resource type display name.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Monitored resource type identifier OCID.
    metadatas List<GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata>
    The metadata details for resource type.
    metricNamespace 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.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    sourceType 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.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.
    compartmentId string
    The OCID of the tenancy for which monitored resource types should be listed.
    definedTags {[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.
    displayName string
    Monitored resource type display name.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    Monitored resource type identifier OCID.
    metadatas GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata[]
    The metadata details for resource type.
    metricNamespace 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.
    resourceCategory string
    Resource Category to indicate the kind of resource type.
    sourceType 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.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated 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.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    A friendly description.
    display_name str
    Monitored resource type display name.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    Monitored resource type identifier OCID.
    metadatas Sequence[stackmonitoring.GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata]
    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.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    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.
    compartmentId String
    The OCID of the tenancy for which monitored resource types should be listed.
    definedTags 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.
    displayName String
    Monitored resource type display name.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Monitored resource type identifier OCID.
    metadatas List<Property Map>
    The metadata details for resource type.
    metricNamespace 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.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    sourceType 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.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time when the monitored resource type was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was updated, expressed in RFC 3339 timestamp format.

    GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadata

    AgentProperties 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.
    RequiredProperties List<string>
    List of required properties for resource type.
    UniquePropertySets List<GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet>
    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.
    ValidPropertiesForCreates List<string>
    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.
    ValidPropertiesForUpdates List<string>
    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.
    ValidPropertyValues Dictionary<string, object>
    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"}
    AgentProperties []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.
    RequiredProperties []string
    List of required properties for resource type.
    UniquePropertySets []GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet
    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.
    ValidPropertiesForCreates []string
    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.
    ValidPropertiesForUpdates []string
    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.
    ValidPropertyValues map[string]interface{}
    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"}
    agentProperties 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.
    requiredProperties List<String>
    List of required properties for resource type.
    uniquePropertySets List<GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet>
    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.
    validPropertiesForCreates List<String>
    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.
    validPropertiesForUpdates List<String>
    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.
    validPropertyValues Map<String,Object>
    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"}
    agentProperties 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.
    requiredProperties string[]
    List of required properties for resource type.
    uniquePropertySets GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet[]
    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.
    validPropertiesForCreates string[]
    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.
    validPropertiesForUpdates string[]
    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.
    validPropertyValues {[key: string]: any}
    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_sets Sequence[stackmonitoring.GetMonitoredResourceTypesMonitoredResourceTypesCollectionItemMetadataUniquePropertySet]
    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_for_creates Sequence[str]
    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_for_updates Sequence[str]
    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_values Mapping[str, Any]
    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"}
    agentProperties 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.
    requiredProperties List<String>
    List of required properties for resource type.
    uniquePropertySets List<Property Map>
    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.
    validPropertiesForCreates List<String>
    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.
    validPropertiesForUpdates List<String>
    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.
    validPropertyValues Map<Any>
    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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi