Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.StackMonitoring.getProcessSets
Explore with Pulumi AI
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:
- Compartment
Id string - The ID of the compartment in which data is listed.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Process Sets Filter>
- Compartment
Id string - The ID of the compartment in which data is listed.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Process Sets Filter
- compartment
Id String - The ID of the compartment in which data is listed.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Process Sets Filter>
- compartment
Id string - The ID of the compartment in which data is listed.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Process Sets Filter[]
- 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.
Get Process Sets Filter]
- compartment
Id String - The ID of the compartment in which data is listed.
- display
Name 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:
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Process
Set List<GetCollections Process Sets Process Set Collection> - The list of process_set_collection.
- Display
Name string - Name of the Process Set.
- Filters
List<Get
Process Sets Filter>
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Process
Set []GetCollections Process Sets Process Set Collection - The list of process_set_collection.
- Display
Name string - Name of the Process Set.
- Filters
[]Get
Process Sets Filter
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- process
Set List<GetCollections Process Sets Process Set Collection> - The list of process_set_collection.
- display
Name String - Name of the Process Set.
- filters
List<Get
Process Sets Filter>
- compartment
Id string - The OCID of the compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- process
Set GetCollections Process Sets Process Set Collection[] - The list of process_set_collection.
- display
Name string - Name of the Process Set.
- filters
Get
Process Sets Filter[]
- compartment_
id str - The OCID of the compartment.
- id str
- The provider-assigned unique ID for this managed resource.
- process_
set_ Sequence[stackmonitoring.collections Get Process Sets Process Set Collection] - The list of process_set_collection.
- display_
name str - Name of the Process Set.
- filters
Sequence[stackmonitoring.
Get Process Sets Filter]
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- process
Set List<Property Map>Collections - The list of process_set_collection.
- display
Name String - Name of the Process Set.
- filters List<Property Map>
Supporting Types
GetProcessSetsFilter
GetProcessSetsProcessSetCollection
- Items
List<Get
Process Sets Process Set Collection Item> - List of Process Set specification details.
- Items
[]Get
Process Sets Process Set Collection Item - List of Process Set specification details.
- items
List<Get
Process Sets Process Set Collection Item> - List of Process Set specification details.
- items
Get
Process Sets Process Set Collection Item[] - List of Process Set specification details.
- items
Sequence[stackmonitoring.
Get Process Sets Process Set Collection Item] - List of Process Set specification details.
- items List<Property Map>
- List of Process Set specification details.
GetProcessSetsProcessSetCollectionItem
- Compartment
Id string - The ID of the compartment in which data is listed.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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<Get
Process Sets Process Set Collection Item 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"}
- Time
Created string - The time the process set was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the process set was last updated. An RFC3339 formatted datetime string.
- Compartment
Id string - The ID of the compartment in which data is listed.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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
[]Get
Process Sets Process Set Collection Item 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"}
- Time
Created string - The time the process set was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the process set was last updated. An RFC3339 formatted datetime string.
- compartment
Id String - The ID of the compartment in which data is listed.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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<Get
Process Sets Process Set Collection Item 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"}
- time
Created String - The time the process set was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the process set was last updated. An RFC3339 formatted datetime string.
- compartment
Id string - The ID of the compartment in which data is listed.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - A filter to return only resources that match the entire display name given.
- {[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
Get
Process Sets Process Set Collection Item 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"}
- time
Created string - The time the process set was created. An RFC3339 formatted datetime string.
- time
Updated 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.
- 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.
- 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.
Get Process Sets Process Set Collection Item 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.
- compartment
Id String - The ID of the compartment in which data is listed.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the process set was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the process set was last updated. An RFC3339 formatted datetime string.
GetProcessSetsProcessSetCollectionItemSpecification
- Items
List<Get
Process Sets Process Set Collection Item Specification Item> - List of Process Set specification details.
- Items
[]Get
Process Sets Process Set Collection Item Specification Item - List of Process Set specification details.
- items
List<Get
Process Sets Process Set Collection Item Specification Item> - List of Process Set specification details.
- items
Get
Process Sets Process Set Collection Item Specification Item[] - List of Process Set specification details.
- items
Sequence[stackmonitoring.
Get Process Sets Process Set Collection Item Specification Item] - 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.
- Process
Command string - String literal used for exact matching on process name.
- Process
Line stringRegex Pattern - Regex pattern matching on process arguments.
- Process
User string - String literal used for exact matching on process user.
- Label string
- Optional label used to identify a single filter.
- Process
Command string - String literal used for exact matching on process name.
- Process
Line stringRegex Pattern - Regex pattern matching on process arguments.
- Process
User string - String literal used for exact matching on process user.
- label String
- Optional label used to identify a single filter.
- process
Command String - String literal used for exact matching on process name.
- process
Line StringRegex Pattern - Regex pattern matching on process arguments.
- process
User String - String literal used for exact matching on process user.
- label string
- Optional label used to identify a single filter.
- process
Command string - String literal used for exact matching on process name.
- process
Line stringRegex Pattern - Regex pattern matching on process arguments.
- process
User 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.
- process
Command String - String literal used for exact matching on process name.
- process
Line StringRegex Pattern - Regex pattern matching on process arguments.
- process
User 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.