Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.StackMonitoring.getMonitoredResourceTasks
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides the list of Monitored Resource Tasks in Oracle Cloud Infrastructure Stack Monitoring service.
Returns a list of stack monitoring resource tasks in the compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoredResourceTasks = oci.StackMonitoring.getMonitoredResourceTasks({
compartmentId: compartmentId,
status: monitoredResourceTaskStatus,
});
import pulumi
import pulumi_oci as oci
test_monitored_resource_tasks = oci.StackMonitoring.get_monitored_resource_tasks(compartment_id=compartment_id,
status=monitored_resource_task_status)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/StackMonitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := StackMonitoring.GetMonitoredResourceTasks(ctx, &stackmonitoring.GetMonitoredResourceTasksArgs{
CompartmentId: compartmentId,
Status: pulumi.StringRef(monitoredResourceTaskStatus),
}, 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 testMonitoredResourceTasks = Oci.StackMonitoring.GetMonitoredResourceTasks.Invoke(new()
{
CompartmentId = compartmentId,
Status = monitoredResourceTaskStatus,
});
});
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.GetMonitoredResourceTasksArgs;
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 testMonitoredResourceTasks = StackMonitoringFunctions.getMonitoredResourceTasks(GetMonitoredResourceTasksArgs.builder()
.compartmentId(compartmentId)
.status(monitoredResourceTaskStatus)
.build());
}
}
variables:
testMonitoredResourceTasks:
fn::invoke:
Function: oci:StackMonitoring:getMonitoredResourceTasks
Arguments:
compartmentId: ${compartmentId}
status: ${monitoredResourceTaskStatus}
Using getMonitoredResourceTasks
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 getMonitoredResourceTasks(args: GetMonitoredResourceTasksArgs, opts?: InvokeOptions): Promise<GetMonitoredResourceTasksResult>
function getMonitoredResourceTasksOutput(args: GetMonitoredResourceTasksOutputArgs, opts?: InvokeOptions): Output<GetMonitoredResourceTasksResult>
def get_monitored_resource_tasks(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_stackmonitoring.GetMonitoredResourceTasksFilter]] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitoredResourceTasksResult
def get_monitored_resource_tasks_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_stackmonitoring.GetMonitoredResourceTasksFilterArgs]]]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredResourceTasksResult]
func GetMonitoredResourceTasks(ctx *Context, args *GetMonitoredResourceTasksArgs, opts ...InvokeOption) (*GetMonitoredResourceTasksResult, error)
func GetMonitoredResourceTasksOutput(ctx *Context, args *GetMonitoredResourceTasksOutputArgs, opts ...InvokeOption) GetMonitoredResourceTasksResultOutput
> Note: This function is named GetMonitoredResourceTasks
in the Go SDK.
public static class GetMonitoredResourceTasks
{
public static Task<GetMonitoredResourceTasksResult> InvokeAsync(GetMonitoredResourceTasksArgs args, InvokeOptions? opts = null)
public static Output<GetMonitoredResourceTasksResult> Invoke(GetMonitoredResourceTasksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMonitoredResourceTasksResult> getMonitoredResourceTasks(GetMonitoredResourceTasksArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:StackMonitoring/getMonitoredResourceTasks:getMonitoredResourceTasks
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- Filters
List<Get
Monitored Resource Tasks Filter> - Status string
- A filter to return only resources that matches with lifecycleState given.
- Compartment
Id string - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- Filters
[]Get
Monitored Resource Tasks Filter - Status string
- A filter to return only resources that matches with lifecycleState given.
- compartment
Id String - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- filters
List<Get
Monitored Resource Tasks Filter> - status String
- A filter to return only resources that matches with lifecycleState given.
- compartment
Id string - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- filters
Get
Monitored Resource Tasks Filter[] - status string
- A filter to return only resources that matches with lifecycleState given.
- compartment_
id str - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- filters
Sequence[stackmonitoring.
Get Monitored Resource Tasks Filter] - status str
- A filter to return only resources that matches with lifecycleState given.
- compartment
Id String - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- filters List<Property Map>
- status String
- A filter to return only resources that matches with lifecycleState given.
getMonitoredResourceTasks Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitored
Resource List<GetTasks Collections Monitored Resource Tasks Monitored Resource Tasks Collection> - The list of monitored_resource_tasks_collection.
- Filters
List<Get
Monitored Resource Tasks Filter> - Status string
- Compartment
Id string - The OCID of the compartment identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitored
Resource []GetTasks Collections Monitored Resource Tasks Monitored Resource Tasks Collection - The list of monitored_resource_tasks_collection.
- Filters
[]Get
Monitored Resource Tasks Filter - Status string
- compartment
Id String - The OCID of the compartment identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- monitored
Resource List<GetTasks Collections Monitored Resource Tasks Monitored Resource Tasks Collection> - The list of monitored_resource_tasks_collection.
- filters
List<Get
Monitored Resource Tasks Filter> - status String
- compartment
Id string - The OCID of the compartment identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- monitored
Resource GetTasks Collections Monitored Resource Tasks Monitored Resource Tasks Collection[] - The list of monitored_resource_tasks_collection.
- filters
Get
Monitored Resource Tasks Filter[] - status string
- compartment_
id str - The OCID of the compartment identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- monitored_
resource_ Sequence[stackmonitoring.tasks_ collections Get Monitored Resource Tasks Monitored Resource Tasks Collection] - The list of monitored_resource_tasks_collection.
- filters
Sequence[stackmonitoring.
Get Monitored Resource Tasks Filter] - status str
- compartment
Id String - The OCID of the compartment identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- monitored
Resource List<Property Map>Tasks Collections - The list of monitored_resource_tasks_collection.
- filters List<Property Map>
- status String
Supporting Types
GetMonitoredResourceTasksFilter
GetMonitoredResourceTasksMonitoredResourceTasksCollection
GetMonitoredResourceTasksMonitoredResourceTasksCollectionItem
- Compartment
Id string - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- Name string
- Name of the task.
- State string
- The current state of the stack monitoring resource task.
- Dictionary<string, object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Task
Details List<GetMonitored Resource Tasks Monitored Resource Tasks Collection Item Task Detail> - The request details for the performing the task.
- Tenant
Id string - The OCID of the tenancy.
- Time
Created string - The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- Time
Updated string - The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- Work
Request List<string>Ids - Identifiers OCID for work requests submitted for this task.
- Compartment
Id string - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- Name string
- Name of the task.
- State string
- The current state of the stack monitoring resource task.
- map[string]interface{}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Task
Details []GetMonitored Resource Tasks Monitored Resource Tasks Collection Item Task Detail - The request details for the performing the task.
- Tenant
Id string - The OCID of the tenancy.
- Time
Created string - The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- Time
Updated string - The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- Work
Request []stringIds - Identifiers OCID for work requests submitted for this task.
- compartment
Id String - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- name String
- Name of the task.
- state String
- The current state of the stack monitoring resource task.
- Map<String,Object>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Details List<GetMonitored Resource Tasks Monitored Resource Tasks Collection Item Task Detail> - The request details for the performing the task.
- tenant
Id String - The OCID of the tenancy.
- time
Created String - The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- time
Updated String - The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- work
Request List<String>Ids - Identifiers OCID for work requests submitted for this task.
- compartment
Id string - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[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.
- name string
- Name of the task.
- state string
- The current state of the stack monitoring resource task.
- {[key: string]: any}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Details GetMonitored Resource Tasks Monitored Resource Tasks Collection Item Task Detail[] - The request details for the performing the task.
- tenant
Id string - The OCID of the tenancy.
- time
Created string - The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- time
Updated string - The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- work
Request string[]Ids - Identifiers OCID for work requests submitted for this task.
- compartment_
id str - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- name str
- Name of the task.
- state str
- The current state of the stack monitoring resource task.
- 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.Get Monitored Resource Tasks Monitored Resource Tasks Collection Item 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.
- work_
request_ Sequence[str]ids - Identifiers OCID for work requests submitted for this task.
- compartment
Id String - The OCID of the compartment for which stack monitoring resource tasks should be listed.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
- name String
- Name of the task.
- state String
- The current state of the stack monitoring resource task.
- Map<Any>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- task
Details List<Property Map> - The request details for the performing the task.
- tenant
Id String - The OCID of the tenancy.
- time
Created String - The date and time when the stack monitoring resource task was created, expressed in RFC 3339 timestamp format.
- time
Updated String - The date and time when the stack monitoring resource task was last updated, expressed in RFC 3339 timestamp format.
- work
Request List<String>Ids - Identifiers OCID for work requests submitted for this task.
GetMonitoredResourceTasksMonitoredResourceTasksCollectionItemTaskDetail
- 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 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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
- Console
Path 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.
- External
Id stringMapping - The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- Lifecycle
Status 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 discovery.
- Resource
Group string - 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 stringFilter - The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- Resource
Name stringMapping - The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- Resource
Type stringFilter - The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- Resource
Type 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.
- Service
Base 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.
- 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 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 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 []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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
- Console
Path 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.
- External
Id stringMapping - The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- Lifecycle
Status []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 discovery.
- Resource
Group string - 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 stringFilter - The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- Resource
Name stringMapping - The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- Resource
Type stringFilter - The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- Resource
Type 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.
- Service
Base 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.
- 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 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 IntegerMetric 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 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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
- console
Path 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.
- external
Id StringMapping - The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- lifecycle
Status 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 discovery.
- resource
Group String - 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 StringFilter - The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- resource
Name StringMapping - The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- resource
Type StringFilter - The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- resource
Type 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.
- service
Base 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.
- should
Use 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.
- type String
- Task type.
- availability
Proxy numberMetric 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 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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
- console
Path 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.
- external
Id stringMapping - The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- lifecycle
Status 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 discovery.
- resource
Group string - 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 stringFilter - The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- resource
Name stringMapping - The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- resource
Type stringFilter - The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- resource
Type 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.
- service
Base 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.
- should
Use 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.
- type string
- Task type.
- 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 'availabilityProxyMetricCollectionIntervalInSeconds'. 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.
- 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 discovery.
- 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.
- 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.
- type str
- Task type.
- availability
Proxy NumberMetric 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 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 'availabilityProxyMetricCollectionIntervalInSeconds'. If no metrics are specified, availability will not be calculated for the resource.
- console
Path 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.
- external
Id StringMapping - The external resource identifier property in the metric dimensions. Resources imported will be using this property value for external id.
- lifecycle
Status 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 discovery.
- resource
Group String - 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 StringFilter - The resource name filter. Resources matching with the resource name filter will be imported. Regular expressions will be accepted.
- resource
Name StringMapping - The resource name property in the metric dimensions. Resources imported will be using this property value for resource name.
- resource
Type StringFilter - The resource type filter. Resources matching with the resource type filter will be imported. Regular expressions will be accepted.
- resource
Type 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.
- service
Base 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.
- should
Use 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.
- 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi