Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.StackMonitoring.getMonitoredResourceTask
Explore with Pulumi AI
This data source provides details about a specific Monitored Resource Task resource in Oracle Cloud Infrastructure Stack Monitoring service.
Gets stack monitoring resource task details by identifier OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoredResourceTask = oci.StackMonitoring.getMonitoredResourceTask({
    monitoredResourceTaskId: testMonitoredResourceTaskOciStackMonitoringMonitoredResourceTask.id,
});
import pulumi
import pulumi_oci as oci
test_monitored_resource_task = oci.StackMonitoring.get_monitored_resource_task(monitored_resource_task_id=test_monitored_resource_task_oci_stack_monitoring_monitored_resource_task["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/stackmonitoring"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := stackmonitoring.GetMonitoredResourceTask(ctx, &stackmonitoring.GetMonitoredResourceTaskArgs{
			MonitoredResourceTaskId: testMonitoredResourceTaskOciStackMonitoringMonitoredResourceTask.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 testMonitoredResourceTask = Oci.StackMonitoring.GetMonitoredResourceTask.Invoke(new()
    {
        MonitoredResourceTaskId = testMonitoredResourceTaskOciStackMonitoringMonitoredResourceTask.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.GetMonitoredResourceTaskArgs;
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 testMonitoredResourceTask = StackMonitoringFunctions.getMonitoredResourceTask(GetMonitoredResourceTaskArgs.builder()
            .monitoredResourceTaskId(testMonitoredResourceTaskOciStackMonitoringMonitoredResourceTask.id())
            .build());
    }
}
variables:
  testMonitoredResourceTask:
    fn::invoke:
      function: oci:StackMonitoring:getMonitoredResourceTask
      arguments:
        monitoredResourceTaskId: ${testMonitoredResourceTaskOciStackMonitoringMonitoredResourceTask.id}
Using getMonitoredResourceTask
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 getMonitoredResourceTask(args: GetMonitoredResourceTaskArgs, opts?: InvokeOptions): Promise<GetMonitoredResourceTaskResult>
function getMonitoredResourceTaskOutput(args: GetMonitoredResourceTaskOutputArgs, opts?: InvokeOptions): Output<GetMonitoredResourceTaskResult>def get_monitored_resource_task(monitored_resource_task_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetMonitoredResourceTaskResult
def get_monitored_resource_task_output(monitored_resource_task_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredResourceTaskResult]func LookupMonitoredResourceTask(ctx *Context, args *LookupMonitoredResourceTaskArgs, opts ...InvokeOption) (*LookupMonitoredResourceTaskResult, error)
func LookupMonitoredResourceTaskOutput(ctx *Context, args *LookupMonitoredResourceTaskOutputArgs, opts ...InvokeOption) LookupMonitoredResourceTaskResultOutput> Note: This function is named LookupMonitoredResourceTask in the Go SDK.
public static class GetMonitoredResourceTask 
{
    public static Task<GetMonitoredResourceTaskResult> InvokeAsync(GetMonitoredResourceTaskArgs args, InvokeOptions? opts = null)
    public static Output<GetMonitoredResourceTaskResult> Invoke(GetMonitoredResourceTaskInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMonitoredResourceTaskResult> getMonitoredResourceTask(GetMonitoredResourceTaskArgs args, InvokeOptions options)
public static Output<GetMonitoredResourceTaskResult> getMonitoredResourceTask(GetMonitoredResourceTaskArgs args, InvokeOptions options)
fn::invoke:
  function: oci:StackMonitoring/getMonitoredResourceTask:getMonitoredResourceTask
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MonitoredResource stringTask Id 
- The OCID of stack monitoring resource task.
- MonitoredResource stringTask Id 
- The OCID of stack monitoring resource task.
- monitoredResource StringTask Id 
- The OCID of stack monitoring resource task.
- monitoredResource stringTask Id 
- The OCID of stack monitoring resource task.
- monitored_resource_ strtask_ id 
- The OCID of stack monitoring resource task.
- monitoredResource StringTask Id 
- The OCID of stack monitoring resource task.
getMonitoredResourceTask Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment identifier.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- 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
- Task identifier OCID.
- MonitoredResource stringTask Id 
- Name string
- Property name.
- State string
- The current state of the stack monitoring resource task.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TaskDetails List<GetMonitored Resource Task Task Detail> 
- The request details for the performing the task.
- TenantId string
- The OCID of the tenancy.
- TimeCreated string
- The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- TimeUpdated string
- The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- Type string
- Type of the task.
- WorkRequest List<string>Ids 
- Identifiers OCID for work requests submitted for this task.
- CompartmentId string
- The OCID of the compartment identifier.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- map[string]string
- 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
- Task identifier OCID.
- MonitoredResource stringTask Id 
- Name string
- Property name.
- State string
- The current state of the stack monitoring resource task.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TaskDetails []GetMonitored Resource Task Task Detail 
- The request details for the performing the task.
- TenantId string
- The OCID of the tenancy.
- TimeCreated string
- The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- TimeUpdated string
- The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- Type string
- Type of the task.
- WorkRequest []stringIds 
- Identifiers OCID for work requests submitted for this task.
- compartmentId String
- The OCID of the compartment identifier.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String,String>
- 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
- Task identifier OCID.
- monitoredResource StringTask Id 
- name String
- Property name.
- state String
- The current state of the stack monitoring resource task.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskDetails List<GetMonitored Resource Task Task Detail> 
- The request details for the performing the task.
- tenantId String
- The OCID of the tenancy.
- timeCreated String
- The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- timeUpdated String
- The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- type String
- Type of the task.
- workRequest List<String>Ids 
- Identifiers OCID for work requests submitted for this task.
- compartmentId string
- The OCID of the compartment identifier.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- 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
- Task identifier OCID.
- monitoredResource stringTask Id 
- name string
- Property name.
- state string
- The current state of the stack monitoring resource task.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskDetails GetMonitored Resource Task Task Detail[] 
- The request details for the performing the task.
- tenantId string
- The OCID of the tenancy.
- timeCreated string
- The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- timeUpdated string
- The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- type string
- Type of the task.
- workRequest string[]Ids 
- Identifiers OCID for work requests submitted for this task.
- compartment_id str
- The OCID of the compartment identifier.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- 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
- Task identifier OCID.
- monitored_resource_ strtask_ id 
- name str
- Property name.
- state str
- The current state of the stack monitoring resource task.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- task_details Sequence[GetMonitored Resource Task Task Detail] 
- The request details for the performing the task.
- tenant_id str
- The OCID of the tenancy.
- time_created str
- The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- time_updated str
- The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- type str
- Type of the task.
- work_request_ Sequence[str]ids 
- Identifiers OCID for work requests submitted for this task.
- compartmentId String
- The OCID of the compartment identifier.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String>
- 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
- Task identifier OCID.
- monitoredResource StringTask Id 
- name String
- Property name.
- state String
- The current state of the stack monitoring resource task.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- taskDetails List<Property Map>
- The request details for the performing the task.
- tenantId String
- The OCID of the tenancy.
- timeCreated String
- The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- timeUpdated String
- The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- type String
- Type of the task.
- workRequest List<String>Ids 
- Identifiers OCID for work requests submitted for this task.
Supporting Types
GetMonitoredResourceTaskTaskDetail     
- AgentId string
- Management Agent Identifier OCID.
- AvailabilityProxy intMetric Collection Interval 
- Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
- AvailabilityProxy List<string>Metrics 
- List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionInterval'. If no metrics are specified, availability will not be calculated for the resource.
- ConsolePath stringPrefix 
- The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page.
- ExternalId stringMapping 
- The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- HandlerType string
- Type of the handler.
- IsEnable bool
- True to enable the receiver and false to disable the receiver on the agent.
- LifecycleStatus List<string>Mappings For Up Statuses 
- Lifecycle states of the external resource which reflects the status of the resource being up.
- Namespace string
- Name space to be used for Oracle Cloud Infrastructure Native service resources' import.
- ReceiverProperties List<GetMonitored Resource Task Task Detail Receiver Property> 
- Properties for agent receiver.
- ResourceGroup string
- The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
- ResourceName stringFilter 
- The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- ResourceName stringMapping 
- The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- ResourceType stringFilter 
- The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- ResourceType stringMapping 
- The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
- ResourceTypes List<GetConfigurations Monitored Resource Task Task Detail Resource Types Configuration> 
- A collection of resource type configuration details. User can provide availability proxy metrics list for resource types along with the telegraf/collectd handler configuration for the resource types.
- ServiceBase stringUrl 
- The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
- ShouldUse boolMetrics Flow For Status 
- Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
- Source string
- Source from where the metrics pushed to telemetry. Possible values:- OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
- OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
- OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver.
- OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver.
 
- Type string
- Type of the task.
- AgentId string
- Management Agent Identifier OCID.
- AvailabilityProxy intMetric Collection Interval 
- Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
- AvailabilityProxy []stringMetrics 
- List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionInterval'. If no metrics are specified, availability will not be calculated for the resource.
- ConsolePath stringPrefix 
- The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page.
- ExternalId stringMapping 
- The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- HandlerType string
- Type of the handler.
- IsEnable bool
- True to enable the receiver and false to disable the receiver on the agent.
- LifecycleStatus []stringMappings For Up Statuses 
- Lifecycle states of the external resource which reflects the status of the resource being up.
- Namespace string
- Name space to be used for Oracle Cloud Infrastructure Native service resources' import.
- ReceiverProperties []GetMonitored Resource Task Task Detail Receiver Property 
- Properties for agent receiver.
- ResourceGroup string
- The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
- ResourceName stringFilter 
- The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- ResourceName stringMapping 
- The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- ResourceType stringFilter 
- The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- ResourceType stringMapping 
- The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
- ResourceTypes []GetConfigurations Monitored Resource Task Task Detail Resource Types Configuration 
- A collection of resource type configuration details. User can provide availability proxy metrics list for resource types along with the telegraf/collectd handler configuration for the resource types.
- ServiceBase stringUrl 
- The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
- ShouldUse boolMetrics Flow For Status 
- Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
- Source string
- Source from where the metrics pushed to telemetry. Possible values:- OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
- OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
- OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver.
- OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver.
 
- Type string
- Type of the task.
- agentId String
- Management Agent Identifier OCID.
- availabilityProxy IntegerMetric Collection Interval 
- Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
- availabilityProxy List<String>Metrics 
- List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionInterval'. If no metrics are specified, availability will not be calculated for the resource.
- consolePath StringPrefix 
- The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page.
- externalId StringMapping 
- The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- handlerType String
- Type of the handler.
- isEnable Boolean
- True to enable the receiver and false to disable the receiver on the agent.
- lifecycleStatus List<String>Mappings For Up Statuses 
- Lifecycle states of the external resource which reflects the status of the resource being up.
- namespace String
- Name space to be used for Oracle Cloud Infrastructure Native service resources' import.
- receiverProperties List<GetMonitored Resource Task Task Detail Receiver Property> 
- Properties for agent receiver.
- resourceGroup String
- The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
- resourceName StringFilter 
- The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- resourceName StringMapping 
- The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- resourceType StringFilter 
- The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- resourceType StringMapping 
- The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
- resourceTypes List<GetConfigurations Monitored Resource Task Task Detail Resource Types Configuration> 
- A collection of resource type configuration details. User can provide availability proxy metrics list for resource types along with the telegraf/collectd handler configuration for the resource types.
- serviceBase StringUrl 
- The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
- shouldUse BooleanMetrics Flow For Status 
- Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
- source String
- Source from where the metrics pushed to telemetry. Possible values:- OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
- OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
- OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver.
- OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver.
 
- type String
- Type of the task.
- agentId string
- Management Agent Identifier OCID.
- availabilityProxy numberMetric Collection Interval 
- Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
- availabilityProxy string[]Metrics 
- List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionInterval'. If no metrics are specified, availability will not be calculated for the resource.
- consolePath stringPrefix 
- The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page.
- externalId stringMapping 
- The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- handlerType string
- Type of the handler.
- isEnable boolean
- True to enable the receiver and false to disable the receiver on the agent.
- lifecycleStatus string[]Mappings For Up Statuses 
- Lifecycle states of the external resource which reflects the status of the resource being up.
- namespace string
- Name space to be used for Oracle Cloud Infrastructure Native service resources' import.
- receiverProperties GetMonitored Resource Task Task Detail Receiver Property[] 
- Properties for agent receiver.
- resourceGroup string
- The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
- resourceName stringFilter 
- The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- resourceName stringMapping 
- The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- resourceType stringFilter 
- The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- resourceType stringMapping 
- The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
- resourceTypes GetConfigurations Monitored Resource Task Task Detail Resource Types Configuration[] 
- A collection of resource type configuration details. User can provide availability proxy metrics list for resource types along with the telegraf/collectd handler configuration for the resource types.
- serviceBase stringUrl 
- The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
- shouldUse booleanMetrics Flow For Status 
- Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
- source string
- Source from where the metrics pushed to telemetry. Possible values:- OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
- OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
- OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver.
- OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver.
 
- type string
- Type of the task.
- agent_id str
- Management Agent Identifier OCID.
- availability_proxy_ intmetric_ collection_ interval 
- Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
- availability_proxy_ Sequence[str]metrics 
- List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionInterval'. If no metrics are specified, availability will not be calculated for the resource.
- console_path_ strprefix 
- The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page.
- external_id_ strmapping 
- The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- handler_type str
- Type of the handler.
- is_enable bool
- True to enable the receiver and false to disable the receiver on the agent.
- lifecycle_status_ Sequence[str]mappings_ for_ up_ statuses 
- Lifecycle states of the external resource which reflects the status of the resource being up.
- namespace str
- Name space to be used for Oracle Cloud Infrastructure Native service resources' import.
- receiver_properties Sequence[GetMonitored Resource Task Task Detail Receiver Property] 
- Properties for agent receiver.
- resource_group str
- The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
- resource_name_ strfilter 
- The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- resource_name_ strmapping 
- The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- resource_type_ strfilter 
- The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- resource_type_ strmapping 
- The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
- resource_types_ Sequence[Getconfigurations Monitored Resource Task Task Detail Resource Types Configuration] 
- A collection of resource type configuration details. User can provide availability proxy metrics list for resource types along with the telegraf/collectd handler configuration for the resource types.
- service_base_ strurl 
- The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
- should_use_ boolmetrics_ flow_ for_ status 
- Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
- source str
- Source from where the metrics pushed to telemetry. Possible values:- OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
- OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
- OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver.
- OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver.
 
- type str
- Type of the task.
- agentId String
- Management Agent Identifier OCID.
- availabilityProxy NumberMetric Collection Interval 
- Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
- availabilityProxy List<String>Metrics 
- List of metrics to be used to calculate the availability of the resource. Resource is considered to be up if at least one of the specified metrics is available for the resource during the specified interval using the property 'availabilityProxyMetricCollectionInterval'. If no metrics are specified, availability will not be calculated for the resource.
- consolePath StringPrefix 
- The console path prefix to use for providing service home url page navigation. For example if the prefix provided is 'security/bastion/bastions', the URL used for navigation will be https:///security/bastion/bastions/. If not provided, service home page link will not be shown in the stack monitoring home page.
- externalId StringMapping 
- The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- handlerType String
- Type of the handler.
- isEnable Boolean
- True to enable the receiver and false to disable the receiver on the agent.
- lifecycleStatus List<String>Mappings For Up Statuses 
- Lifecycle states of the external resource which reflects the status of the resource being up.
- namespace String
- Name space to be used for Oracle Cloud Infrastructure Native service resources' import.
- receiverProperties List<Property Map>
- Properties for agent receiver.
- resourceGroup String
- The resource group to use while fetching metrics from telemetry. If not specified, resource group will be skipped in the list metrics request.
- resourceName StringFilter 
- The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- resourceName StringMapping 
- The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- resourceType StringFilter 
- The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- resourceType StringMapping 
- The resource type property in the metric dimensions. Resources imported will be using this property value for resource type. If not specified, namespace will be used for resource type.
- resourceTypes List<Property Map>Configurations 
- A collection of resource type configuration details. User can provide availability proxy metrics list for resource types along with the telegraf/collectd handler configuration for the resource types.
- serviceBase StringUrl 
- The base URL of the Oracle Cloud Infrastructure service to which the resource belongs to. Also this property is applicable only when source is OCI_TELEMETRY_NATIVE.
- shouldUse BooleanMetrics Flow For Status 
- Flag to indicate whether status is calculated using metrics or LifeCycleState attribute of the resource in Oracle Cloud Infrastructure service.
- source String
- Source from where the metrics pushed to telemetry. Possible values:- OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from Oracle Cloud Infrastructure Native Services.
- OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus.
- OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver.
- OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver.
 
- type String
- Type of the task.
GetMonitoredResourceTaskTaskDetailReceiverProperty       
- ListenerPort int
- Receiver listener port.
- ListenerPort int
- Receiver listener port.
- listenerPort Integer
- Receiver listener port.
- listenerPort number
- Receiver listener port.
- listener_port int
- Receiver listener port.
- listenerPort Number
- Receiver listener port.
GetMonitoredResourceTaskTaskDetailResourceTypesConfiguration        
- AvailabilityMetrics List<GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Availability Metrics Config> 
- Availability metrics details.
- HandlerConfigs List<GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config> 
- Specific resource mapping configurations for Agent Extension Handlers.
- ResourceType string
- Resource type.
- AvailabilityMetrics []GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Availability Metrics Config 
- Availability metrics details.
- HandlerConfigs []GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config 
- Specific resource mapping configurations for Agent Extension Handlers.
- ResourceType string
- Resource type.
- availabilityMetrics List<GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Availability Metrics Config> 
- Availability metrics details.
- handlerConfigs List<GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config> 
- Specific resource mapping configurations for Agent Extension Handlers.
- resourceType String
- Resource type.
- availabilityMetrics GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Availability Metrics Config[] 
- Availability metrics details.
- handlerConfigs GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config[] 
- Specific resource mapping configurations for Agent Extension Handlers.
- resourceType string
- Resource type.
- availability_metrics_ Sequence[Getconfigs Monitored Resource Task Task Detail Resource Types Configuration Availability Metrics Config] 
- Availability metrics details.
- handler_configs Sequence[GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config] 
- Specific resource mapping configurations for Agent Extension Handlers.
- resource_type str
- Resource type.
- availabilityMetrics List<Property Map>Configs 
- Availability metrics details.
- handlerConfigs List<Property Map>
- Specific resource mapping configurations for Agent Extension Handlers.
- resourceType String
- Resource type.
GetMonitoredResourceTaskTaskDetailResourceTypesConfigurationAvailabilityMetricsConfig           
- CollectionInterval intIn Seconds 
- Availability metric collection internal in seconds.
- Metrics List<string>
- List of metrics used for availability calculation for the resource.
- CollectionInterval intIn Seconds 
- Availability metric collection internal in seconds.
- Metrics []string
- List of metrics used for availability calculation for the resource.
- collectionInterval IntegerIn Seconds 
- Availability metric collection internal in seconds.
- metrics List<String>
- List of metrics used for availability calculation for the resource.
- collectionInterval numberIn Seconds 
- Availability metric collection internal in seconds.
- metrics string[]
- List of metrics used for availability calculation for the resource.
- collection_interval_ intin_ seconds 
- Availability metric collection internal in seconds.
- metrics Sequence[str]
- List of metrics used for availability calculation for the resource.
- collectionInterval NumberIn Seconds 
- Availability metric collection internal in seconds.
- metrics List<String>
- List of metrics used for availability calculation for the resource.
GetMonitoredResourceTaskTaskDetailResourceTypesConfigurationHandlerConfig          
- CollectdResource List<GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Collectd Resource Name Config> 
- Resource name generation overriding configurations for collectd resource types.
- CollectorTypes List<string>
- List of collector/plugin names.
- HandlerProperties List<GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Handler Property> 
- List of handler configuration properties
- MetricMappings List<GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Mapping> 
- List of AgentExtensionHandlerMetricMappingDetails.
- MetricName List<GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Name Config> 
- Metric name generation overriding configurations.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelegrafResource List<GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Telegraf Resource Name Config> 
- Resource name generation overriding configurations for telegraf resource types.
- TelemetryResource stringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- CollectdResource []GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Collectd Resource Name Config 
- Resource name generation overriding configurations for collectd resource types.
- CollectorTypes []string
- List of collector/plugin names.
- HandlerProperties []GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Handler Property 
- List of handler configuration properties
- MetricMappings []GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Mapping 
- List of AgentExtensionHandlerMetricMappingDetails.
- MetricName []GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Name Config 
- Metric name generation overriding configurations.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelegrafResource []GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Telegraf Resource Name Config 
- Resource name generation overriding configurations for telegraf resource types.
- TelemetryResource stringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectdResource List<GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Collectd Resource Name Config> 
- Resource name generation overriding configurations for collectd resource types.
- collectorTypes List<String>
- List of collector/plugin names.
- handlerProperties List<GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Handler Property> 
- List of handler configuration properties
- metricMappings List<GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Mapping> 
- List of AgentExtensionHandlerMetricMappingDetails.
- metricName List<GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Name Config> 
- Metric name generation overriding configurations.
- metricUpload IntegerInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegrafResource List<GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Telegraf Resource Name Config> 
- Resource name generation overriding configurations for telegraf resource types.
- telemetryResource StringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectdResource GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Collectd Resource Name Config[] 
- Resource name generation overriding configurations for collectd resource types.
- collectorTypes string[]
- List of collector/plugin names.
- handlerProperties GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Handler Property[] 
- List of handler configuration properties
- metricMappings GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Mapping[] 
- List of AgentExtensionHandlerMetricMappingDetails.
- metricName GetConfigs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Name Config[] 
- Metric name generation overriding configurations.
- metricUpload numberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegrafResource GetName Configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Telegraf Resource Name Config[] 
- Resource name generation overriding configurations for telegraf resource types.
- telemetryResource stringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectd_resource_ Sequence[Getname_ configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Collectd Resource Name Config] 
- Resource name generation overriding configurations for collectd resource types.
- collector_types Sequence[str]
- List of collector/plugin names.
- handler_properties Sequence[GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Handler Property] 
- List of handler configuration properties
- metric_mappings Sequence[GetMonitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Mapping] 
- List of AgentExtensionHandlerMetricMappingDetails.
- metric_name_ Sequence[Getconfigs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Metric Name Config] 
- Metric name generation overriding configurations.
- metric_upload_ intinterval_ in_ seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegraf_resource_ Sequence[Getname_ configs Monitored Resource Task Task Detail Resource Types Configuration Handler Config Telegraf Resource Name Config] 
- Resource name generation overriding configurations for telegraf resource types.
- telemetry_resource_ strgroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
- collectdResource List<Property Map>Name Configs 
- Resource name generation overriding configurations for collectd resource types.
- collectorTypes List<String>
- List of collector/plugin names.
- handlerProperties List<Property Map>
- List of handler configuration properties
- metricMappings List<Property Map>
- List of AgentExtensionHandlerMetricMappingDetails.
- metricName List<Property Map>Configs 
- Metric name generation overriding configurations.
- metricUpload NumberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telegrafResource List<Property Map>Name Configs 
- Resource name generation overriding configurations for telegraf resource types.
- telemetryResource StringGroup 
- Resource group string; if not specified, the resource group string will be generated by the handler.
GetMonitoredResourceTaskTaskDetailResourceTypesConfigurationHandlerConfigCollectdResourceNameConfig              
- ExcludeProperties List<string>
- List of property names to be excluded.
- IncludeProperties List<string>
- List of property names to be included.
- Suffix string
- String to be suffixed to the resource name.
- ExcludeProperties []string
- List of property names to be excluded.
- IncludeProperties []string
- List of property names to be included.
- Suffix string
- String to be suffixed to the resource name.
- excludeProperties List<String>
- List of property names to be excluded.
- includeProperties List<String>
- List of property names to be included.
- suffix String
- String to be suffixed to the resource name.
- excludeProperties string[]
- List of property names to be excluded.
- includeProperties string[]
- List of property names to be included.
- suffix string
- String to be suffixed to the resource name.
- exclude_properties Sequence[str]
- List of property names to be excluded.
- include_properties Sequence[str]
- List of property names to be included.
- suffix str
- String to be suffixed to the resource name.
- excludeProperties List<String>
- List of property names to be excluded.
- includeProperties List<String>
- List of property names to be included.
- suffix String
- String to be suffixed to the resource name.
GetMonitoredResourceTaskTaskDetailResourceTypesConfigurationHandlerConfigHandlerProperty            
GetMonitoredResourceTaskTaskDetailResourceTypesConfigurationHandlerConfigMetricMapping            
- CollectorMetric stringName 
- Metric name as defined by the collector.
- IsSkip boolUpload 
- Is ignoring this metric.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelemetryMetric stringName 
- Metric name to be upload to telemetry.
- CollectorMetric stringName 
- Metric name as defined by the collector.
- IsSkip boolUpload 
- Is ignoring this metric.
- MetricUpload intInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- TelemetryMetric stringName 
- Metric name to be upload to telemetry.
- collectorMetric StringName 
- Metric name as defined by the collector.
- isSkip BooleanUpload 
- Is ignoring this metric.
- metricUpload IntegerInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetryMetric StringName 
- Metric name to be upload to telemetry.
- collectorMetric stringName 
- Metric name as defined by the collector.
- isSkip booleanUpload 
- Is ignoring this metric.
- metricUpload numberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetryMetric stringName 
- Metric name to be upload to telemetry.
- collector_metric_ strname 
- Metric name as defined by the collector.
- is_skip_ boolupload 
- Is ignoring this metric.
- metric_upload_ intinterval_ in_ seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetry_metric_ strname 
- Metric name to be upload to telemetry.
- collectorMetric StringName 
- Metric name as defined by the collector.
- isSkip BooleanUpload 
- Is ignoring this metric.
- metricUpload NumberInterval In Seconds 
- Metric upload interval in seconds. Any metric sent by telegraf/collectd before the configured interval expires will be dropped.
- telemetryMetric StringName 
- Metric name to be upload to telemetry.
GetMonitoredResourceTaskTaskDetailResourceTypesConfigurationHandlerConfigMetricNameConfig             
- ExcludePattern stringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- IsPrefix boolWith Collector Type 
- is prefixing the metric with collector type.
- ExcludePattern stringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- IsPrefix boolWith Collector Type 
- is prefixing the metric with collector type.
- excludePattern StringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- isPrefix BooleanWith Collector Type 
- is prefixing the metric with collector type.
- excludePattern stringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- isPrefix booleanWith Collector Type 
- is prefixing the metric with collector type.
- exclude_pattern_ stron_ prefix 
- String pattern to be removed from the prefix of the metric name.
- is_prefix_ boolwith_ collector_ type 
- is prefixing the metric with collector type.
- excludePattern StringOn Prefix 
- String pattern to be removed from the prefix of the metric name.
- isPrefix BooleanWith Collector Type 
- is prefixing the metric with collector type.
GetMonitoredResourceTaskTaskDetailResourceTypesConfigurationHandlerConfigTelegrafResourceNameConfig              
- List<string>
- List of tag names to be excluded.
- List<string>
- List of tag names to be included.
- bool
- Flag to indicate if only tags will be used for resource name generation.
- []string
- List of tag names to be excluded.
- []string
- List of tag names to be included.
- bool
- Flag to indicate if only tags will be used for resource name generation.
- List<String>
- List of tag names to be excluded.
- List<String>
- List of tag names to be included.
- Boolean
- Flag to indicate if only tags will be used for resource name generation.
- string[]
- List of tag names to be excluded.
- string[]
- List of tag names to be included.
- boolean
- Flag to indicate if only tags will be used for resource name generation.
- Sequence[str]
- List of tag names to be excluded.
- Sequence[str]
- List of tag names to be included.
- bool
- Flag to indicate if only tags will be used for resource name generation.
- List<String>
- List of tag names to be excluded.
- List<String>
- List of tag names to be included.
- Boolean
- Flag to indicate if only tags will be used for resource name generation.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.