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

oci.StackMonitoring.getProcessSet

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 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/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 GetProcessSet(ctx *Context, args *GetProcessSetArgs, opts ...InvokeOption) (*GetProcessSetResult, error)
    func GetProcessSetOutput(ctx *Context, args *GetProcessSetOutputArgs, opts ...InvokeOption) GetProcessSetResultOutput

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

    The following arguments are supported:

    ProcessSetId string
    The Process Set ID
    ProcessSetId string
    The Process Set ID
    processSetId String
    The Process Set ID
    processSetId string
    The Process Set ID
    process_set_id str
    The Process Set ID
    processSetId String
    The Process Set ID

    getProcessSet Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    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.
    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
    The OCID of the Process Set.
    ProcessSetId string
    Revision string
    The current revision of the Process Set.
    Specifications List<GetProcessSetSpecification>
    Collection of regular expression specifications used to identify the processes to be monitored.
    State string
    The current state of the Resource.
    SystemTags Dictionary<string, object>
    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.
    DefinedTags map[string]interface{}
    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.
    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
    The OCID of the Process Set.
    ProcessSetId string
    Revision string
    The current revision of the Process Set.
    Specifications []GetProcessSetSpecification
    Collection of regular expression specifications used to identify the processes to be monitored.
    State string
    The current state of the Resource.
    SystemTags map[string]interface{}
    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.
    definedTags Map<String,Object>
    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.
    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
    The OCID of the Process Set.
    processSetId String
    revision String
    The current revision of the Process Set.
    specifications List<GetProcessSetSpecification>
    Collection of regular expression specifications used to identify the processes to be monitored.
    state String
    The current state of the Resource.
    systemTags Map<String,Object>
    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.
    definedTags {[key: string]: any}
    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.
    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
    The OCID of the Process Set.
    processSetId string
    revision string
    The current revision of the Process Set.
    specifications GetProcessSetSpecification[]
    Collection of regular expression specifications used to identify the processes to be monitored.
    state string
    The current state of the Resource.
    systemTags {[key: string]: any}
    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.
    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"}
    display_name str
    Name of the Process Set.
    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
    The OCID of the Process Set.
    process_set_id str
    revision str
    The current revision of the Process Set.
    specifications Sequence[stackmonitoring.GetProcessSetSpecification]
    Collection of regular expression specifications used to identify the processes to be monitored.
    state str
    The current state of the Resource.
    system_tags Mapping[str, Any]
    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.
    definedTags Map<Any>
    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.
    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
    The OCID of the Process Set.
    processSetId String
    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.
    systemTags Map<Any>
    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<GetProcessSetSpecificationItem>
    List of Process Set specification details.
    Items []GetProcessSetSpecificationItem
    List of Process Set specification details.
    items List<GetProcessSetSpecificationItem>
    List of Process Set specification details.
    items GetProcessSetSpecificationItem[]
    List of Process Set specification details.
    items Sequence[stackmonitoring.GetProcessSetSpecificationItem]
    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.
    ProcessLineRegexPattern string
    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.
    ProcessLineRegexPattern string
    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.
    processLineRegexPattern String
    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.
    processLineRegexPattern string
    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_regex_pattern str
    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.
    processLineRegexPattern String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi