Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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 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:
- Process
Set stringId - The Process Set ID
- Process
Set stringId - The Process Set ID
- process
Set StringId - The Process Set ID
- process
Set stringId - The Process Set ID
- process_
set_ strid - The Process Set ID
- process
Set StringId - The Process Set ID
getProcessSet Result
The following output properties are available:
- Compartment
Id 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"}
- Display
Name 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.
- Process
Set stringId - Revision string
- The current revision of the Process Set.
- Specifications
List<Get
Process 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"}
- 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 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"}
- Display
Name 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.
- Process
Set stringId - Revision string
- The current revision of the Process Set.
- Specifications
[]Get
Process 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"}
- 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 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"}
- display
Name 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.
- process
Set StringId - revision String
- The current revision of the Process Set.
- specifications
List<Get
Process 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"}
- 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 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"}
- display
Name 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.
- process
Set stringId - revision string
- The current revision of the Process Set.
- specifications
Get
Process 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"}
- 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 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[stackmonitoring.
Get Process 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.
- compartment
Id 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"}
- display
Name 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.
- process
Set 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"}
- 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.
Supporting Types
GetProcessSetSpecification
- Items
List<Get
Process Set Specification Item> - List of Process Set specification details.
- Items
[]Get
Process Set Specification Item - List of Process Set specification details.
- items
List<Get
Process Set Specification Item> - List of Process Set specification details.
- items
Get
Process Set Specification Item[] - List of Process Set specification details.
- items
Sequence[stackmonitoring.
Get Process 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.
- 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.