1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. getProcessSets
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.StackMonitoring.getProcessSets

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Process Sets in Oracle Cloud Infrastructure Stack Monitoring service.

    API to get the details of all Process Sets.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testProcessSets = oci.StackMonitoring.getProcessSets({
        compartmentId: compartmentId,
        displayName: processSetDisplayName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_process_sets = oci.StackMonitoring.get_process_sets(compartment_id=compartment_id,
        display_name=process_set_display_name)
    
    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.GetProcessSets(ctx, &stackmonitoring.GetProcessSetsArgs{
    			CompartmentId: compartmentId,
    			DisplayName:   pulumi.StringRef(processSetDisplayName),
    		}, 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 testProcessSets = Oci.StackMonitoring.GetProcessSets.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = processSetDisplayName,
        });
    
    });
    
    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.GetProcessSetsArgs;
    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 testProcessSets = StackMonitoringFunctions.getProcessSets(GetProcessSetsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(processSetDisplayName)
                .build());
    
        }
    }
    
    variables:
      testProcessSets:
        fn::invoke:
          Function: oci:StackMonitoring:getProcessSets
          Arguments:
            compartmentId: ${compartmentId}
            displayName: ${processSetDisplayName}
    

    Using getProcessSets

    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 getProcessSets(args: GetProcessSetsArgs, opts?: InvokeOptions): Promise<GetProcessSetsResult>
    function getProcessSetsOutput(args: GetProcessSetsOutputArgs, opts?: InvokeOptions): Output<GetProcessSetsResult>
    def get_process_sets(compartment_id: Optional[str] = None,
                         display_name: Optional[str] = None,
                         filters: Optional[Sequence[_stackmonitoring.GetProcessSetsFilter]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetProcessSetsResult
    def get_process_sets_output(compartment_id: Optional[pulumi.Input[str]] = None,
                         display_name: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_stackmonitoring.GetProcessSetsFilterArgs]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetProcessSetsResult]
    func GetProcessSets(ctx *Context, args *GetProcessSetsArgs, opts ...InvokeOption) (*GetProcessSetsResult, error)
    func GetProcessSetsOutput(ctx *Context, args *GetProcessSetsOutputArgs, opts ...InvokeOption) GetProcessSetsResultOutput

    > Note: This function is named GetProcessSets in the Go SDK.

    public static class GetProcessSets 
    {
        public static Task<GetProcessSetsResult> InvokeAsync(GetProcessSetsArgs args, InvokeOptions? opts = null)
        public static Output<GetProcessSetsResult> Invoke(GetProcessSetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProcessSetsResult> getProcessSets(GetProcessSetsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:StackMonitoring/getProcessSets:getProcessSets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which data is listed.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetProcessSetsFilter>
    CompartmentId string
    The ID of the compartment in which data is listed.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetProcessSetsFilter
    compartmentId String
    The ID of the compartment in which data is listed.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetProcessSetsFilter>
    compartmentId string
    The ID of the compartment in which data is listed.
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetProcessSetsFilter[]
    compartment_id str
    The ID of the compartment in which data is listed.
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[stackmonitoring.GetProcessSetsFilter]
    compartmentId String
    The ID of the compartment in which data is listed.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>

    getProcessSets Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProcessSetCollections List<GetProcessSetsProcessSetCollection>
    The list of process_set_collection.
    DisplayName string
    Name of the Process Set.
    Filters List<GetProcessSetsFilter>
    CompartmentId string
    The OCID of the compartment.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProcessSetCollections []GetProcessSetsProcessSetCollection
    The list of process_set_collection.
    DisplayName string
    Name of the Process Set.
    Filters []GetProcessSetsFilter
    compartmentId String
    The OCID of the compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    processSetCollections List<GetProcessSetsProcessSetCollection>
    The list of process_set_collection.
    displayName String
    Name of the Process Set.
    filters List<GetProcessSetsFilter>
    compartmentId string
    The OCID of the compartment.
    id string
    The provider-assigned unique ID for this managed resource.
    processSetCollections GetProcessSetsProcessSetCollection[]
    The list of process_set_collection.
    displayName string
    Name of the Process Set.
    filters GetProcessSetsFilter[]
    compartment_id str
    The OCID of the compartment.
    id str
    The provider-assigned unique ID for this managed resource.
    process_set_collections Sequence[stackmonitoring.GetProcessSetsProcessSetCollection]
    The list of process_set_collection.
    display_name str
    Name of the Process Set.
    filters Sequence[stackmonitoring.GetProcessSetsFilter]
    compartmentId String
    The OCID of the compartment.
    id String
    The provider-assigned unique ID for this managed resource.
    processSetCollections List<Property Map>
    The list of process_set_collection.
    displayName String
    Name of the Process Set.
    filters List<Property Map>

    Supporting Types

    GetProcessSetsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetProcessSetsProcessSetCollection

    Items List<GetProcessSetsProcessSetCollectionItem>
    List of Process Set specification details.
    Items []GetProcessSetsProcessSetCollectionItem
    List of Process Set specification details.
    items List<GetProcessSetsProcessSetCollectionItem>
    List of Process Set specification details.
    items GetProcessSetsProcessSetCollectionItem[]
    List of Process Set specification details.
    items List<Property Map>
    List of Process Set specification details.

    GetProcessSetsProcessSetCollectionItem

    CompartmentId string
    The ID of the compartment in which data is listed.
    DefinedTags 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
    A filter to return only resources that match the entire display name given.
    FreeformTags 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.
    Revision string
    The current revision of the Process Set.
    Specifications List<GetProcessSetsProcessSetCollectionItemSpecification>
    Collection of regular expression specifications used to identify the processes to be monitored.
    State string
    The current state of the Resource.
    SystemTags 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 ID of the compartment in which data is listed.
    DefinedTags 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
    A filter to return only resources that match the entire display name given.
    FreeformTags 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.
    Revision string
    The current revision of the Process Set.
    Specifications []GetProcessSetsProcessSetCollectionItemSpecification
    Collection of regular expression specifications used to identify the processes to be monitored.
    State string
    The current state of the Resource.
    SystemTags 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 ID of the compartment in which data is listed.
    definedTags 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
    A filter to return only resources that match the entire display name given.
    freeformTags 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.
    revision String
    The current revision of the Process Set.
    specifications List<GetProcessSetsProcessSetCollectionItemSpecification>
    Collection of regular expression specifications used to identify the processes to be monitored.
    state String
    The current state of the Resource.
    systemTags 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 ID of the compartment in which data is listed.
    definedTags {[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
    A filter to return only resources that match the entire display name given.
    freeformTags {[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.
    revision string
    The current revision of the Process Set.
    specifications GetProcessSetsProcessSetCollectionItemSpecification[]
    Collection of regular expression specifications used to identify the processes to be monitored.
    state string
    The current state of the Resource.
    systemTags {[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 ID of the compartment in which data is listed.
    defined_tags 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
    A filter to return only resources that match the entire display name given.
    freeform_tags 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.
    revision str
    The current revision of the Process Set.
    specifications Sequence[stackmonitoring.GetProcessSetsProcessSetCollectionItemSpecification]
    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, 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 ID of the compartment in which data is listed.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags 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.
    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<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.

    GetProcessSetsProcessSetCollectionItemSpecification

    Items []GetProcessSetsProcessSetCollectionItemSpecificationItem
    List of Process Set specification details.
    items GetProcessSetsProcessSetCollectionItemSpecificationItem[]
    List of Process Set specification details.
    items List<Property Map>
    List of Process Set specification details.

    GetProcessSetsProcessSetCollectionItemSpecificationItem

    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi