Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
This data source provides details about a specific Monitored Region resource in Oracle Cloud Infrastructure Resource Analytics service.
Gets information about a MonitoredRegion.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoredRegion = oci.oci.getResourceAnalyticsMonitoredRegion({
monitoredRegionId: testMonitoredRegionOciResourceAnalyticsMonitoredRegion.id,
});
import pulumi
import pulumi_oci as oci
test_monitored_region = oci.oci.get_resource_analytics_monitored_region(monitored_region_id=test_monitored_region_oci_resource_analytics_monitored_region["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.LookupResourceAnalyticsMonitoredRegion(ctx, &oci.LookupResourceAnalyticsMonitoredRegionArgs{
MonitoredRegionId: testMonitoredRegionOciResourceAnalyticsMonitoredRegion.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 testMonitoredRegion = Oci.Oci.GetResourceAnalyticsMonitoredRegion.Invoke(new()
{
MonitoredRegionId = testMonitoredRegionOciResourceAnalyticsMonitoredRegion.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetResourceAnalyticsMonitoredRegionArgs;
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 testMonitoredRegion = OciFunctions.getResourceAnalyticsMonitoredRegion(GetResourceAnalyticsMonitoredRegionArgs.builder()
.monitoredRegionId(testMonitoredRegionOciResourceAnalyticsMonitoredRegion.id())
.build());
}
}
variables:
testMonitoredRegion:
fn::invoke:
function: oci:oci:getResourceAnalyticsMonitoredRegion
arguments:
monitoredRegionId: ${testMonitoredRegionOciResourceAnalyticsMonitoredRegion.id}
Using getResourceAnalyticsMonitoredRegion
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 getResourceAnalyticsMonitoredRegion(args: GetResourceAnalyticsMonitoredRegionArgs, opts?: InvokeOptions): Promise<GetResourceAnalyticsMonitoredRegionResult>
function getResourceAnalyticsMonitoredRegionOutput(args: GetResourceAnalyticsMonitoredRegionOutputArgs, opts?: InvokeOptions): Output<GetResourceAnalyticsMonitoredRegionResult>def get_resource_analytics_monitored_region(monitored_region_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResourceAnalyticsMonitoredRegionResult
def get_resource_analytics_monitored_region_output(monitored_region_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResourceAnalyticsMonitoredRegionResult]func LookupResourceAnalyticsMonitoredRegion(ctx *Context, args *LookupResourceAnalyticsMonitoredRegionArgs, opts ...InvokeOption) (*LookupResourceAnalyticsMonitoredRegionResult, error)
func LookupResourceAnalyticsMonitoredRegionOutput(ctx *Context, args *LookupResourceAnalyticsMonitoredRegionOutputArgs, opts ...InvokeOption) LookupResourceAnalyticsMonitoredRegionResultOutput> Note: This function is named LookupResourceAnalyticsMonitoredRegion in the Go SDK.
public static class GetResourceAnalyticsMonitoredRegion
{
public static Task<GetResourceAnalyticsMonitoredRegionResult> InvokeAsync(GetResourceAnalyticsMonitoredRegionArgs args, InvokeOptions? opts = null)
public static Output<GetResourceAnalyticsMonitoredRegionResult> Invoke(GetResourceAnalyticsMonitoredRegionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResourceAnalyticsMonitoredRegionResult> getResourceAnalyticsMonitoredRegion(GetResourceAnalyticsMonitoredRegionArgs args, InvokeOptions options)
public static Output<GetResourceAnalyticsMonitoredRegionResult> getResourceAnalyticsMonitoredRegion(GetResourceAnalyticsMonitoredRegionArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getResourceAnalyticsMonitoredRegion:getResourceAnalyticsMonitoredRegion
arguments:
# arguments dictionaryThe following arguments are supported:
- Monitored
Region stringId - The OCID of the MonitoredRegion.
- Monitored
Region stringId - The OCID of the MonitoredRegion.
- monitored
Region StringId - The OCID of the MonitoredRegion.
- monitored
Region stringId - The OCID of the MonitoredRegion.
- monitored_
region_ strid - The OCID of the MonitoredRegion.
- monitored
Region StringId - The OCID of the MonitoredRegion.
getResourceAnalyticsMonitoredRegion Result
The following output properties are available:
- Id string
- The OCID of the MonitoredRegion.
- Lifecycle
Details string - A message that describes the current state of the MonitoredRegion in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Monitored
Region stringId - Region
Id string - The Region Identifier of this MonitoredRegion.
- Resource
Analytics stringInstance Id - The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.
- State string
- The current state of the MonitoredRegion.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the MonitoredRegion was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the MonitoredRegion was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Id string
- The OCID of the MonitoredRegion.
- Lifecycle
Details string - A message that describes the current state of the MonitoredRegion in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Monitored
Region stringId - Region
Id string - The Region Identifier of this MonitoredRegion.
- Resource
Analytics stringInstance Id - The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.
- State string
- The current state of the MonitoredRegion.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the MonitoredRegion was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the MonitoredRegion was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The OCID of the MonitoredRegion.
- lifecycle
Details String - A message that describes the current state of the MonitoredRegion in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- monitored
Region StringId - region
Id String - The Region Identifier of this MonitoredRegion.
- resource
Analytics StringInstance Id - The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.
- state String
- The current state of the MonitoredRegion.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the MonitoredRegion was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the MonitoredRegion was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id string
- The OCID of the MonitoredRegion.
- lifecycle
Details string - A message that describes the current state of the MonitoredRegion in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- monitored
Region stringId - region
Id string - The Region Identifier of this MonitoredRegion.
- resource
Analytics stringInstance Id - The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.
- state string
- The current state of the MonitoredRegion.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the MonitoredRegion was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the MonitoredRegion was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id str
- The OCID of the MonitoredRegion.
- lifecycle_
details str - A message that describes the current state of the MonitoredRegion in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- monitored_
region_ strid - region_
id str - The Region Identifier of this MonitoredRegion.
- resource_
analytics_ strinstance_ id - The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.
- state str
- The current state of the MonitoredRegion.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the MonitoredRegion was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the MonitoredRegion was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The OCID of the MonitoredRegion.
- lifecycle
Details String - A message that describes the current state of the MonitoredRegion in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- monitored
Region StringId - region
Id String - The Region Identifier of this MonitoredRegion.
- resource
Analytics StringInstance Id - The OCID of the ResourceAnalyticsInstance associated with this MonitoredRegion.
- state String
- The current state of the MonitoredRegion.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the MonitoredRegion was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the MonitoredRegion was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
