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

oci.StackMonitoring.getMonitoredResourceTask

Explore with Pulumi AI

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

    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/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 GetMonitoredResourceTask(ctx *Context, args *GetMonitoredResourceTaskArgs, opts ...InvokeOption) (*GetMonitoredResourceTaskResult, error)
    func GetMonitoredResourceTaskOutput(ctx *Context, args *GetMonitoredResourceTaskOutputArgs, opts ...InvokeOption) GetMonitoredResourceTaskResultOutput

    > Note: This function is named GetMonitoredResourceTask 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:StackMonitoring/getMonitoredResourceTask:getMonitoredResourceTask
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MonitoredResourceTaskId string
    The OCID of stack monitoring resource task.
    MonitoredResourceTaskId string
    The OCID of stack monitoring resource task.
    monitoredResourceTaskId String
    The OCID of stack monitoring resource task.
    monitoredResourceTaskId string
    The OCID of stack monitoring resource task.
    monitored_resource_task_id str
    The OCID of stack monitoring resource task.
    monitoredResourceTaskId String
    The OCID of stack monitoring resource task.

    getMonitoredResourceTask Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment identifier.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Task identifier OCID.
    MonitoredResourceTaskId string
    Name string
    Name of the task.
    State string
    The current state of the stack monitoring resource task.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TaskDetails List<GetMonitoredResourceTaskTaskDetail>
    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.
    WorkRequestIds List<string>
    Identifiers OCID for work requests submitted for this task.
    CompartmentId string
    The OCID of the compartment identifier.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Task identifier OCID.
    MonitoredResourceTaskId string
    Name string
    Name of the task.
    State string
    The current state of the stack monitoring resource task.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TaskDetails []GetMonitoredResourceTaskTaskDetail
    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.
    WorkRequestIds []string
    Identifiers OCID for work requests submitted for this task.
    compartmentId String
    The OCID of the compartment identifier.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Task identifier OCID.
    monitoredResourceTaskId String
    name String
    Name of the task.
    state String
    The current state of the stack monitoring resource task.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    taskDetails List<GetMonitoredResourceTaskTaskDetail>
    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.
    workRequestIds List<String>
    Identifiers OCID for work requests submitted for this task.
    compartmentId string
    The OCID of the compartment identifier.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    Task identifier OCID.
    monitoredResourceTaskId string
    name string
    Name of the task.
    state string
    The current state of the stack monitoring resource task.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    taskDetails GetMonitoredResourceTaskTaskDetail[]
    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.
    workRequestIds string[]
    Identifiers OCID for work requests submitted for this task.
    compartment_id str
    The OCID of the compartment identifier.
    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"}
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    Task identifier OCID.
    monitored_resource_task_id str
    name str
    Name of the task.
    state str
    The current state of the stack monitoring resource task.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    task_details Sequence[stackmonitoring.GetMonitoredResourceTaskTaskDetail]
    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.
    work_request_ids Sequence[str]
    Identifiers OCID for work requests submitted for this task.
    compartmentId String
    The OCID of the compartment identifier.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Task identifier OCID.
    monitoredResourceTaskId String
    name String
    Name of the task.
    state String
    The current state of the stack monitoring resource task.
    systemTags Map<Any>
    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.
    workRequestIds List<String>
    Identifiers OCID for work requests submitted for this task.

    Supporting Types

    GetMonitoredResourceTaskTaskDetail

    AvailabilityProxyMetricCollectionInterval int
    Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
    AvailabilityProxyMetrics List<string>
    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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
    ConsolePathPrefix string
    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.
    ExternalIdMapping string
    The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
    LifecycleStatusMappingsForUpStatuses List<string>
    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.
    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.
    ResourceNameFilter string
    The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
    ResourceNameMapping string
    The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
    ResourceTypeFilter string
    The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
    ResourceTypeMapping string
    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.
    ServiceBaseUrl string
    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.
    ShouldUseMetricsFlowForStatus bool
    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.
    Type string
    Task type.
    AvailabilityProxyMetricCollectionInterval int
    Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
    AvailabilityProxyMetrics []string
    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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
    ConsolePathPrefix string
    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.
    ExternalIdMapping string
    The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
    LifecycleStatusMappingsForUpStatuses []string
    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.
    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.
    ResourceNameFilter string
    The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
    ResourceNameMapping string
    The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
    ResourceTypeFilter string
    The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
    ResourceTypeMapping string
    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.
    ServiceBaseUrl string
    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.
    ShouldUseMetricsFlowForStatus bool
    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.
    Type string
    Task type.
    availabilityProxyMetricCollectionInterval Integer
    Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
    availabilityProxyMetrics List<String>
    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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
    consolePathPrefix String
    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.
    externalIdMapping String
    The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
    lifecycleStatusMappingsForUpStatuses List<String>
    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.
    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.
    resourceNameFilter String
    The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
    resourceNameMapping String
    The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
    resourceTypeFilter String
    The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
    resourceTypeMapping String
    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.
    serviceBaseUrl String
    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.
    shouldUseMetricsFlowForStatus Boolean
    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.
    type String
    Task type.
    availabilityProxyMetricCollectionInterval number
    Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
    availabilityProxyMetrics string[]
    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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
    consolePathPrefix string
    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.
    externalIdMapping string
    The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
    lifecycleStatusMappingsForUpStatuses string[]
    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.
    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.
    resourceNameFilter string
    The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
    resourceNameMapping string
    The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
    resourceTypeFilter string
    The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
    resourceTypeMapping string
    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.
    serviceBaseUrl string
    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.
    shouldUseMetricsFlowForStatus boolean
    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.
    type string
    Task type.
    availability_proxy_metric_collection_interval int
    Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
    availability_proxy_metrics Sequence[str]
    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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
    console_path_prefix str
    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_mapping str
    The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
    lifecycle_status_mappings_for_up_statuses Sequence[str]
    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.
    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_filter str
    The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
    resource_name_mapping str
    The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
    resource_type_filter str
    The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
    resource_type_mapping str
    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.
    service_base_url str
    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_metrics_flow_for_status bool
    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.
    type str
    Task type.
    availabilityProxyMetricCollectionInterval Number
    Metrics collection interval in seconds used when calculating the availability of the resource based on metrics specified using the property 'availabilityProxyMetrics'.
    availabilityProxyMetrics List<String>
    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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
    consolePathPrefix String
    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.
    externalIdMapping String
    The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
    lifecycleStatusMappingsForUpStatuses List<String>
    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.
    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.
    resourceNameFilter String
    The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
    resourceNameMapping String
    The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
    resourceTypeFilter String
    The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
    resourceTypeMapping String
    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.
    serviceBaseUrl String
    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.
    shouldUseMetricsFlowForStatus Boolean
    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.
    type String
    Task type.

    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