Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.StackMonitoring.getProcessSet
Explore with Pulumi AI
This data source provides details about a specific Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service.
API to get the details of a Process Set by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProcessSet = oci.StackMonitoring.getProcessSet({
    processSetId: testProcessSetOciStackMonitoringProcessSet.id,
});
import pulumi
import pulumi_oci as oci
test_process_set = oci.StackMonitoring.get_process_set(process_set_id=test_process_set_oci_stack_monitoring_process_set["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.GetProcessSet(ctx, &stackmonitoring.GetProcessSetArgs{
			ProcessSetId: testProcessSetOciStackMonitoringProcessSet.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 testProcessSet = Oci.StackMonitoring.GetProcessSet.Invoke(new()
    {
        ProcessSetId = testProcessSetOciStackMonitoringProcessSet.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.GetProcessSetArgs;
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 testProcessSet = StackMonitoringFunctions.getProcessSet(GetProcessSetArgs.builder()
            .processSetId(testProcessSetOciStackMonitoringProcessSet.id())
            .build());
    }
}
variables:
  testProcessSet:
    fn::invoke:
      function: oci:StackMonitoring:getProcessSet
      arguments:
        processSetId: ${testProcessSetOciStackMonitoringProcessSet.id}
Using getProcessSet
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 getProcessSet(args: GetProcessSetArgs, opts?: InvokeOptions): Promise<GetProcessSetResult>
function getProcessSetOutput(args: GetProcessSetOutputArgs, opts?: InvokeOptions): Output<GetProcessSetResult>def get_process_set(process_set_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetProcessSetResult
def get_process_set_output(process_set_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetProcessSetResult]func LookupProcessSet(ctx *Context, args *LookupProcessSetArgs, opts ...InvokeOption) (*LookupProcessSetResult, error)
func LookupProcessSetOutput(ctx *Context, args *LookupProcessSetOutputArgs, opts ...InvokeOption) LookupProcessSetResultOutput> Note: This function is named LookupProcessSet in the Go SDK.
public static class GetProcessSet 
{
    public static Task<GetProcessSetResult> InvokeAsync(GetProcessSetArgs args, InvokeOptions? opts = null)
    public static Output<GetProcessSetResult> Invoke(GetProcessSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProcessSetResult> getProcessSet(GetProcessSetArgs args, InvokeOptions options)
public static Output<GetProcessSetResult> getProcessSet(GetProcessSetArgs args, InvokeOptions options)
fn::invoke:
  function: oci:StackMonitoring/getProcessSet:getProcessSet
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProcessSet stringId 
- The Process Set ID
- ProcessSet stringId 
- The Process Set ID
- processSet StringId 
- The Process Set ID
- processSet stringId 
- The Process Set ID
- process_set_ strid 
- The Process Set ID
- processSet StringId 
- The Process Set ID
getProcessSet Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Name of the Process Set.
- 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
- The OCID of the Process Set.
- ProcessSet stringId 
- Revision string
- The current revision of the Process Set.
- Specifications
List<GetProcess Set Specification> 
- Collection of regular expression specifications used to identify the processes to be monitored.
- State string
- The current state of the Resource.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the process set was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time the process set was last updated. An RFC3339 formatted datetime string.
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- Name of the Process Set.
- 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
- The OCID of the Process Set.
- ProcessSet stringId 
- Revision string
- The current revision of the Process Set.
- Specifications
[]GetProcess Set Specification 
- Collection of regular expression specifications used to identify the processes to be monitored.
- State string
- The current state of the Resource.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the process set was created. An RFC3339 formatted datetime string.
- TimeUpdated string
- The time the process set was last updated. An RFC3339 formatted datetime string.
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Name of the Process Set.
- 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
- The OCID of the Process Set.
- processSet StringId 
- revision String
- The current revision of the Process Set.
- specifications
List<GetProcess Set Specification> 
- Collection of regular expression specifications used to identify the processes to be monitored.
- state String
- The current state of the Resource.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the process set was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time the process set was last updated. An RFC3339 formatted datetime string.
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- Name of the Process Set.
- {[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
- The OCID of the Process Set.
- processSet stringId 
- revision string
- The current revision of the Process Set.
- specifications
GetProcess Set Specification[] 
- Collection of regular expression specifications used to identify the processes to be monitored.
- state string
- The current state of the Resource.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time the process set was created. An RFC3339 formatted datetime string.
- timeUpdated string
- The time the process set was last updated. An RFC3339 formatted datetime string.
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- Name of the Process Set.
- 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
- The OCID of the Process Set.
- process_set_ strid 
- revision str
- The current revision of the Process Set.
- specifications
Sequence[GetProcess Set Specification] 
- Collection of regular expression specifications used to identify the processes to be monitored.
- state str
- The current state of the Resource.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time the process set was created. An RFC3339 formatted datetime string.
- time_updated str
- The time the process set was last updated. An RFC3339 formatted datetime string.
- compartmentId String
- The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- Name of the Process Set.
- 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
- The OCID of the Process Set.
- processSet StringId 
- revision String
- The current revision of the Process Set.
- specifications List<Property Map>
- Collection of regular expression specifications used to identify the processes to be monitored.
- state String
- The current state of the Resource.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the process set was created. An RFC3339 formatted datetime string.
- timeUpdated String
- The time the process set was last updated. An RFC3339 formatted datetime string.
Supporting Types
GetProcessSetSpecification   
- Items
List<GetProcess Set Specification Item> 
- List of Process Set specification details.
- Items
[]GetProcess Set Specification Item 
- List of Process Set specification details.
- items
List<GetProcess Set Specification Item> 
- List of Process Set specification details.
- items
GetProcess Set Specification Item[] 
- List of Process Set specification details.
- items
Sequence[GetProcess Set Specification Item] 
- List of Process Set specification details.
- items List<Property Map>
- List of Process Set specification details.
GetProcessSetSpecificationItem    
- Label string
- Optional label used to identify a single filter.
- ProcessCommand string
- String literal used for exact matching on process name.
- ProcessLine stringRegex Pattern 
- Regex pattern matching on process arguments.
- ProcessUser string
- String literal used for exact matching on process user.
- Label string
- Optional label used to identify a single filter.
- ProcessCommand string
- String literal used for exact matching on process name.
- ProcessLine stringRegex Pattern 
- Regex pattern matching on process arguments.
- ProcessUser string
- String literal used for exact matching on process user.
- label String
- Optional label used to identify a single filter.
- processCommand String
- String literal used for exact matching on process name.
- processLine StringRegex Pattern 
- Regex pattern matching on process arguments.
- processUser String
- String literal used for exact matching on process user.
- label string
- Optional label used to identify a single filter.
- processCommand string
- String literal used for exact matching on process name.
- processLine stringRegex Pattern 
- Regex pattern matching on process arguments.
- processUser string
- String literal used for exact matching on process user.
- label str
- Optional label used to identify a single filter.
- process_command str
- String literal used for exact matching on process name.
- process_line_ strregex_ pattern 
- Regex pattern matching on process arguments.
- process_user str
- String literal used for exact matching on process user.
- label String
- Optional label used to identify a single filter.
- processCommand String
- String literal used for exact matching on process name.
- processLine StringRegex Pattern 
- Regex pattern matching on process arguments.
- processUser String
- String literal used for exact matching on process user.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.