1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. getMonitoredResources
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.StackMonitoring.getMonitoredResources

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    This data source provides the list of Monitored Resources in Oracle Cloud Infrastructure Stack Monitoring service.

    Returns a list of monitored resources.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMonitoredResources = oci.StackMonitoring.getMonitoredResources({
        compartmentId: compartmentId,
        name: monitoredResourceName,
        status: monitoredResourceStatus,
        workRequestId: testWorkRequest.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_monitored_resources = oci.StackMonitoring.get_monitored_resources(compartment_id=compartment_id,
        name=monitored_resource_name,
        status=monitored_resource_status,
        work_request_id=test_work_request["id"])
    
    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.GetMonitoredResources(ctx, &stackmonitoring.GetMonitoredResourcesArgs{
    			CompartmentId: compartmentId,
    			Name:          pulumi.StringRef(monitoredResourceName),
    			Status:        pulumi.StringRef(monitoredResourceStatus),
    			WorkRequestId: pulumi.StringRef(testWorkRequest.Id),
    		}, 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 testMonitoredResources = Oci.StackMonitoring.GetMonitoredResources.Invoke(new()
        {
            CompartmentId = compartmentId,
            Name = monitoredResourceName,
            Status = monitoredResourceStatus,
            WorkRequestId = testWorkRequest.Id,
        });
    
    });
    
    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.GetMonitoredResourcesArgs;
    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 testMonitoredResources = StackMonitoringFunctions.getMonitoredResources(GetMonitoredResourcesArgs.builder()
                .compartmentId(compartmentId)
                .name(monitoredResourceName)
                .status(monitoredResourceStatus)
                .workRequestId(testWorkRequest.id())
                .build());
    
        }
    }
    
    variables:
      testMonitoredResources:
        fn::invoke:
          Function: oci:StackMonitoring:getMonitoredResources
          Arguments:
            compartmentId: ${compartmentId}
            name: ${monitoredResourceName}
            status: ${monitoredResourceStatus}
            workRequestId: ${testWorkRequest.id}
    

    Using getMonitoredResources

    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 getMonitoredResources(args: GetMonitoredResourcesArgs, opts?: InvokeOptions): Promise<GetMonitoredResourcesResult>
    function getMonitoredResourcesOutput(args: GetMonitoredResourcesOutputArgs, opts?: InvokeOptions): Output<GetMonitoredResourcesResult>
    def get_monitored_resources(compartment_id: Optional[str] = None,
                                filters: Optional[Sequence[_stackmonitoring.GetMonitoredResourcesFilter]] = None,
                                name: Optional[str] = None,
                                status: Optional[str] = None,
                                work_request_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetMonitoredResourcesResult
    def get_monitored_resources_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_stackmonitoring.GetMonitoredResourcesFilterArgs]]]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                status: Optional[pulumi.Input[str]] = None,
                                work_request_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredResourcesResult]
    func GetMonitoredResources(ctx *Context, args *GetMonitoredResourcesArgs, opts ...InvokeOption) (*GetMonitoredResourcesResult, error)
    func GetMonitoredResourcesOutput(ctx *Context, args *GetMonitoredResourcesOutputArgs, opts ...InvokeOption) GetMonitoredResourcesResultOutput

    > Note: This function is named GetMonitoredResources in the Go SDK.

    public static class GetMonitoredResources 
    {
        public static Task<GetMonitoredResourcesResult> InvokeAsync(GetMonitoredResourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitoredResourcesResult> Invoke(GetMonitoredResourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitoredResourcesResult> getMonitoredResources(GetMonitoredResourcesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:StackMonitoring/getMonitoredResources:getMonitoredResources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which data is listed.
    Filters List<GetMonitoredResourcesFilter>
    Name string
    A filter to return resources that match exact resource name.
    Status string
    A filter to return only resources with matching lifecycleState.
    WorkRequestId string
    A filter to return resources which were impacted as part of this work request identifier.
    CompartmentId string
    The ID of the compartment in which data is listed.
    Filters []GetMonitoredResourcesFilter
    Name string
    A filter to return resources that match exact resource name.
    Status string
    A filter to return only resources with matching lifecycleState.
    WorkRequestId string
    A filter to return resources which were impacted as part of this work request identifier.
    compartmentId String
    The ID of the compartment in which data is listed.
    filters List<GetMonitoredResourcesFilter>
    name String
    A filter to return resources that match exact resource name.
    status String
    A filter to return only resources with matching lifecycleState.
    workRequestId String
    A filter to return resources which were impacted as part of this work request identifier.
    compartmentId string
    The ID of the compartment in which data is listed.
    filters GetMonitoredResourcesFilter[]
    name string
    A filter to return resources that match exact resource name.
    status string
    A filter to return only resources with matching lifecycleState.
    workRequestId string
    A filter to return resources which were impacted as part of this work request identifier.
    compartment_id str
    The ID of the compartment in which data is listed.
    filters Sequence[stackmonitoring.GetMonitoredResourcesFilter]
    name str
    A filter to return resources that match exact resource name.
    status str
    A filter to return only resources with matching lifecycleState.
    work_request_id str
    A filter to return resources which were impacted as part of this work request identifier.
    compartmentId String
    The ID of the compartment in which data is listed.
    filters List<Property Map>
    name String
    A filter to return resources that match exact resource name.
    status String
    A filter to return only resources with matching lifecycleState.
    workRequestId String
    A filter to return resources which were impacted as part of this work request identifier.

    getMonitoredResources Result

    The following output properties are available:

    CompartmentId string
    Compartment Identifier OCID.
    Id string
    The provider-assigned unique ID for this managed resource.
    MonitoredResourceCollections List<GetMonitoredResourcesMonitoredResourceCollection>
    The list of monitored_resource_collection.
    Filters List<GetMonitoredResourcesFilter>
    Name string
    Property Name.
    Status string
    WorkRequestId string
    CompartmentId string
    Compartment Identifier OCID.
    Id string
    The provider-assigned unique ID for this managed resource.
    MonitoredResourceCollections []GetMonitoredResourcesMonitoredResourceCollection
    The list of monitored_resource_collection.
    Filters []GetMonitoredResourcesFilter
    Name string
    Property Name.
    Status string
    WorkRequestId string
    compartmentId String
    Compartment Identifier OCID.
    id String
    The provider-assigned unique ID for this managed resource.
    monitoredResourceCollections List<GetMonitoredResourcesMonitoredResourceCollection>
    The list of monitored_resource_collection.
    filters List<GetMonitoredResourcesFilter>
    name String
    Property Name.
    status String
    workRequestId String
    compartmentId string
    Compartment Identifier OCID.
    id string
    The provider-assigned unique ID for this managed resource.
    monitoredResourceCollections GetMonitoredResourcesMonitoredResourceCollection[]
    The list of monitored_resource_collection.
    filters GetMonitoredResourcesFilter[]
    name string
    Property Name.
    status string
    workRequestId string
    compartment_id str
    Compartment Identifier OCID.
    id str
    The provider-assigned unique ID for this managed resource.
    monitored_resource_collections Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollection]
    The list of monitored_resource_collection.
    filters Sequence[stackmonitoring.GetMonitoredResourcesFilter]
    name str
    Property Name.
    status str
    work_request_id str
    compartmentId String
    Compartment Identifier OCID.
    id String
    The provider-assigned unique ID for this managed resource.
    monitoredResourceCollections List<Property Map>
    The list of monitored_resource_collection.
    filters List<Property Map>
    name String
    Property Name.
    status String
    workRequestId String

    Supporting Types

    GetMonitoredResourcesFilter

    Name string
    A filter to return resources that match exact resource name.
    Values List<string>
    Regex bool
    Name string
    A filter to return resources that match exact resource name.
    Values []string
    Regex bool
    name String
    A filter to return resources that match exact resource name.
    values List<String>
    regex Boolean
    name string
    A filter to return resources that match exact resource name.
    values string[]
    regex boolean
    name str
    A filter to return resources that match exact resource name.
    values Sequence[str]
    regex bool
    name String
    A filter to return resources that match exact resource name.
    values List<String>
    regex Boolean

    GetMonitoredResourcesMonitoredResourceCollection

    GetMonitoredResourcesMonitoredResourceCollectionItem

    AdditionalAliases List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias>
    AdditionalCredentials List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential>
    Aliases List<GetMonitoredResourcesMonitoredResourceCollectionItemAlias>
    Monitored Resource Alias Credential Details
    CompartmentId string
    The ID of the compartment in which data is listed.
    Credentials List<GetMonitoredResourcesMonitoredResourceCollectionItemCredential>
    Monitored Resource Credential Details.
    DatabaseConnectionDetails List<GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail>
    Connection details for the database.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Monitored resource display name.
    ExternalId string
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource 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.
    ExternalResourceId string
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HostName string
    Monitored resource host name.
    Id string
    Monitored resource identifier OCID.
    License string
    ManagementAgentId string
    Management Agent Identifier OCID.
    Name string
    A filter to return resources that match exact resource name.
    Properties List<GetMonitoredResourcesMonitoredResourceCollectionItemProperty>
    List of monitored resource properties.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    ResourceTimeZone string
    Time zone in the form of tz database canonical zone ID.
    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.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenantId string
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    Type string
    Monitored Resource Type.
    AdditionalAliases []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias
    AdditionalCredentials []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential
    Aliases []GetMonitoredResourcesMonitoredResourceCollectionItemAlias
    Monitored Resource Alias Credential Details
    CompartmentId string
    The ID of the compartment in which data is listed.
    Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemCredential
    Monitored Resource Credential Details.
    DatabaseConnectionDetails []GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail
    Connection details for the database.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Monitored resource display name.
    ExternalId string
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource 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.
    ExternalResourceId string
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HostName string
    Monitored resource host name.
    Id string
    Monitored resource identifier OCID.
    License string
    ManagementAgentId string
    Management Agent Identifier OCID.
    Name string
    A filter to return resources that match exact resource name.
    Properties []GetMonitoredResourcesMonitoredResourceCollectionItemProperty
    List of monitored resource properties.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    ResourceTimeZone string
    Time zone in the form of tz database canonical zone ID.
    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.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenantId string
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    Type string
    Monitored Resource Type.
    additionalAliases List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias>
    additionalCredentials List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential>
    aliases List<GetMonitoredResourcesMonitoredResourceCollectionItemAlias>
    Monitored Resource Alias Credential Details
    compartmentId String
    The ID of the compartment in which data is listed.
    credentials List<GetMonitoredResourcesMonitoredResourceCollectionItemCredential>
    Monitored Resource Credential Details.
    databaseConnectionDetails List<GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail>
    Connection details for the database.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Monitored resource display name.
    externalId String
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource 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.
    externalResourceId String
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostName String
    Monitored resource host name.
    id String
    Monitored resource identifier OCID.
    license String
    managementAgentId String
    Management Agent Identifier OCID.
    name String
    A filter to return resources that match exact resource name.
    properties List<GetMonitoredResourcesMonitoredResourceCollectionItemProperty>
    List of monitored resource properties.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    resourceTimeZone String
    Time zone in the form of tz database canonical zone ID.
    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.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenantId String
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type String
    Monitored Resource Type.
    additionalAliases GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias[]
    additionalCredentials GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential[]
    aliases GetMonitoredResourcesMonitoredResourceCollectionItemAlias[]
    Monitored Resource Alias Credential Details
    compartmentId string
    The ID of the compartment in which data is listed.
    credentials GetMonitoredResourcesMonitoredResourceCollectionItemCredential[]
    Monitored Resource Credential Details.
    databaseConnectionDetails GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail[]
    Connection details for the database.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    Monitored resource display name.
    externalId string
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource 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.
    externalResourceId string
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostName string
    Monitored resource host name.
    id string
    Monitored resource identifier OCID.
    license string
    managementAgentId string
    Management Agent Identifier OCID.
    name string
    A filter to return resources that match exact resource name.
    properties GetMonitoredResourcesMonitoredResourceCollectionItemProperty[]
    List of monitored resource properties.
    resourceCategory string
    Resource Category to indicate the kind of resource type.
    resourceTimeZone string
    Time zone in the form of tz database canonical zone ID.
    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.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenantId string
    Tenancy Identifier OCID.
    timeCreated string
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    timeUpdated string
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type string
    Monitored Resource Type.
    additional_aliases Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias]
    additional_credentials Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential]
    aliases Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemAlias]
    Monitored Resource Alias Credential Details
    compartment_id str
    The ID of the compartment in which data is listed.
    credentials Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemCredential]
    Monitored Resource Credential Details.
    database_connection_details Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail]
    Connection details for the database.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    Monitored resource display name.
    external_id str
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource 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.
    external_resource_id str
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    host_name str
    Monitored resource host name.
    id str
    Monitored resource identifier OCID.
    license str
    management_agent_id str
    Management Agent Identifier OCID.
    name str
    A filter to return resources that match exact resource name.
    properties Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemProperty]
    List of monitored resource properties.
    resource_category str
    Resource Category to indicate the kind of resource type.
    resource_time_zone str
    Time zone in the form of tz database canonical zone ID.
    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.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenant_id str
    Tenancy Identifier OCID.
    time_created str
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    time_updated str
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type str
    Monitored Resource Type.
    additionalAliases List<Property Map>
    additionalCredentials List<Property Map>
    aliases List<Property Map>
    Monitored Resource Alias Credential Details
    compartmentId String
    The ID of the compartment in which data is listed.
    credentials List<Property Map>
    Monitored Resource Credential Details.
    databaseConnectionDetails List<Property Map>
    Connection details for the database.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Monitored resource display name.
    externalId String
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource 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.
    externalResourceId String
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostName String
    Monitored resource host name.
    id String
    Monitored resource identifier OCID.
    license String
    managementAgentId String
    Management Agent Identifier OCID.
    name String
    A filter to return resources that match exact resource name.
    properties List<Property Map>
    List of monitored resource properties.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    resourceTimeZone String
    Time zone in the form of tz database canonical zone ID.
    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.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenantId String
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type String
    Monitored Resource Type.

    GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias

    Credentials List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    Name string
    A filter to return resources that match exact resource name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential
    Monitored Resource Alias Reference Source Credential.
    Name string
    A filter to return resources that match exact resource name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    name String
    A filter to return resources that match exact resource name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential[]
    Monitored Resource Alias Reference Source Credential.
    name string
    A filter to return resources that match exact resource name.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential]
    Monitored Resource Alias Reference Source Credential.
    name str
    A filter to return resources that match exact resource name.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<Property Map>
    Monitored Resource Alias Reference Source Credential.
    name String
    A filter to return resources that match exact resource name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential

    Name string
    A filter to return resources that match exact resource name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Name string
    A filter to return resources that match exact resource name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    A filter to return resources that match exact resource name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name string
    A filter to return resources that match exact resource name.
    service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name str
    A filter to return resources that match exact resource name.
    service str
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    A filter to return resources that match exact resource name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential

    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    A filter to return resources that match exact resource name.
    Properties List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty>
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    A filter to return resources that match exact resource name.
    Properties []GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    A filter to return resources that match exact resource name.
    properties List<GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.
    credentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description string
    The user-specified textual description of the credential.
    keyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name string
    A filter to return resources that match exact resource name.
    properties GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty[]
    List of monitored resource properties.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type string
    Monitored Resource Type.
    credential_type str
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description str
    The user-specified textual description of the credential.
    key_id str
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name str
    A filter to return resources that match exact resource name.
    properties Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty]
    List of monitored resource properties.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type str
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    A filter to return resources that match exact resource name.
    properties List<Property Map>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.

    GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty

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

    GetMonitoredResourcesMonitoredResourceCollectionItemAlias

    Credentials List<GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    Name string
    A filter to return resources that match exact resource name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Credentials []GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential
    Monitored Resource Alias Reference Source Credential.
    Name string
    A filter to return resources that match exact resource name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    name String
    A filter to return resources that match exact resource name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential[]
    Monitored Resource Alias Reference Source Credential.
    name string
    A filter to return resources that match exact resource name.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential]
    Monitored Resource Alias Reference Source Credential.
    name str
    A filter to return resources that match exact resource name.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<Property Map>
    Monitored Resource Alias Reference Source Credential.
    name String
    A filter to return resources that match exact resource name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential

    Name string
    A filter to return resources that match exact resource name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Name string
    A filter to return resources that match exact resource name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    A filter to return resources that match exact resource name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name string
    A filter to return resources that match exact resource name.
    service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name str
    A filter to return resources that match exact resource name.
    service str
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    A filter to return resources that match exact resource name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourcesMonitoredResourceCollectionItemCredential

    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    A filter to return resources that match exact resource name.
    Properties List<GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty>
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    A filter to return resources that match exact resource name.
    Properties []GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    A filter to return resources that match exact resource name.
    properties List<GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.
    credentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description string
    The user-specified textual description of the credential.
    keyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name string
    A filter to return resources that match exact resource name.
    properties GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty[]
    List of monitored resource properties.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type string
    Monitored Resource Type.
    credential_type str
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description str
    The user-specified textual description of the credential.
    key_id str
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name str
    A filter to return resources that match exact resource name.
    properties Sequence[stackmonitoring.GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty]
    List of monitored resource properties.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type str
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    A filter to return resources that match exact resource name.
    properties List<Property Map>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.

    GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty

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

    GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail

    ConnectorId string
    Database connector Identifier OCID.
    DbId string
    dbId of the database.
    DbUniqueName string
    UniqueName used for database connection requests.
    Port int
    Listener Port number used for connection requests.
    Protocol string
    Protocol used in DB connection string when connecting to external database service.
    ServiceName string
    Service name used for connection requests.
    SslSecretId string
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    ConnectorId string
    Database connector Identifier OCID.
    DbId string
    dbId of the database.
    DbUniqueName string
    UniqueName used for database connection requests.
    Port int
    Listener Port number used for connection requests.
    Protocol string
    Protocol used in DB connection string when connecting to external database service.
    ServiceName string
    Service name used for connection requests.
    SslSecretId string
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connectorId String
    Database connector Identifier OCID.
    dbId String
    dbId of the database.
    dbUniqueName String
    UniqueName used for database connection requests.
    port Integer
    Listener Port number used for connection requests.
    protocol String
    Protocol used in DB connection string when connecting to external database service.
    serviceName String
    Service name used for connection requests.
    sslSecretId String
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connectorId string
    Database connector Identifier OCID.
    dbId string
    dbId of the database.
    dbUniqueName string
    UniqueName used for database connection requests.
    port number
    Listener Port number used for connection requests.
    protocol string
    Protocol used in DB connection string when connecting to external database service.
    serviceName string
    Service name used for connection requests.
    sslSecretId string
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connector_id str
    Database connector Identifier OCID.
    db_id str
    dbId of the database.
    db_unique_name str
    UniqueName used for database connection requests.
    port int
    Listener Port number used for connection requests.
    protocol str
    Protocol used in DB connection string when connecting to external database service.
    service_name str
    Service name used for connection requests.
    ssl_secret_id str
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connectorId String
    Database connector Identifier OCID.
    dbId String
    dbId of the database.
    dbUniqueName String
    UniqueName used for database connection requests.
    port Number
    Listener Port number used for connection requests.
    protocol String
    Protocol used in DB connection string when connecting to external database service.
    serviceName String
    Service name used for connection requests.
    sslSecretId String
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.

    GetMonitoredResourcesMonitoredResourceCollectionItemProperty

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

    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.34.0 published on Friday, May 3, 2024 by Pulumi