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

oci.StackMonitoring.ProcessSet

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    This resource provides the Process Set resource in Oracle Cloud Infrastructure Stack Monitoring service.

    API to create Process Set.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testProcessSet = new oci.stackmonitoring.ProcessSet("test_process_set", {
        compartmentId: compartmentId,
        displayName: processSetDisplayName,
        specification: {
            items: [{
                label: processSetSpecificationItemsLabel,
                processCommand: processSetSpecificationItemsProcessCommand,
                processLineRegexPattern: processSetSpecificationItemsProcessLineRegexPattern,
                processUser: processSetSpecificationItemsProcessUser,
            }],
        },
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_process_set = oci.stack_monitoring.ProcessSet("test_process_set",
        compartment_id=compartment_id,
        display_name=process_set_display_name,
        specification=oci.stack_monitoring.ProcessSetSpecificationArgs(
            items=[oci.stack_monitoring.ProcessSetSpecificationItemArgs(
                label=process_set_specification_items_label,
                process_command=process_set_specification_items_process_command,
                process_line_regex_pattern=process_set_specification_items_process_line_regex_pattern,
                process_user=process_set_specification_items_process_user,
            )],
        ),
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        })
    
    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.NewProcessSet(ctx, "test_process_set", &StackMonitoring.ProcessSetArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(processSetDisplayName),
    			Specification: &stackmonitoring.ProcessSetSpecificationArgs{
    				Items: stackmonitoring.ProcessSetSpecificationItemArray{
    					&stackmonitoring.ProcessSetSpecificationItemArgs{
    						Label:                   pulumi.Any(processSetSpecificationItemsLabel),
    						ProcessCommand:          pulumi.Any(processSetSpecificationItemsProcessCommand),
    						ProcessLineRegexPattern: pulumi.Any(processSetSpecificationItemsProcessLineRegexPattern),
    						ProcessUser:             pulumi.Any(processSetSpecificationItemsProcessUser),
    					},
    				},
    			},
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    		})
    		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 = new Oci.StackMonitoring.ProcessSet("test_process_set", new()
        {
            CompartmentId = compartmentId,
            DisplayName = processSetDisplayName,
            Specification = new Oci.StackMonitoring.Inputs.ProcessSetSpecificationArgs
            {
                Items = new[]
                {
                    new Oci.StackMonitoring.Inputs.ProcessSetSpecificationItemArgs
                    {
                        Label = processSetSpecificationItemsLabel,
                        ProcessCommand = processSetSpecificationItemsProcessCommand,
                        ProcessLineRegexPattern = processSetSpecificationItemsProcessLineRegexPattern,
                        ProcessUser = processSetSpecificationItemsProcessUser,
                    },
                },
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.StackMonitoring.ProcessSet;
    import com.pulumi.oci.StackMonitoring.ProcessSetArgs;
    import com.pulumi.oci.StackMonitoring.inputs.ProcessSetSpecificationArgs;
    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) {
            var testProcessSet = new ProcessSet("testProcessSet", ProcessSetArgs.builder()        
                .compartmentId(compartmentId)
                .displayName(processSetDisplayName)
                .specification(ProcessSetSpecificationArgs.builder()
                    .items(ProcessSetSpecificationItemArgs.builder()
                        .label(processSetSpecificationItemsLabel)
                        .processCommand(processSetSpecificationItemsProcessCommand)
                        .processLineRegexPattern(processSetSpecificationItemsProcessLineRegexPattern)
                        .processUser(processSetSpecificationItemsProcessUser)
                        .build())
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .build());
    
        }
    }
    
    resources:
      testProcessSet:
        type: oci:StackMonitoring:ProcessSet
        name: test_process_set
        properties:
          compartmentId: ${compartmentId}
          displayName: ${processSetDisplayName}
          specification:
            items:
              - label: ${processSetSpecificationItemsLabel}
                processCommand: ${processSetSpecificationItemsProcessCommand}
                processLineRegexPattern: ${processSetSpecificationItemsProcessLineRegexPattern}
                processUser: ${processSetSpecificationItemsProcessUser}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
    

    Create ProcessSet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProcessSet(name: string, args: ProcessSetArgs, opts?: CustomResourceOptions);
    @overload
    def ProcessSet(resource_name: str,
                   args: ProcessSetArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProcessSet(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   compartment_id: Optional[str] = None,
                   display_name: Optional[str] = None,
                   specification: Optional[_stackmonitoring.ProcessSetSpecificationArgs] = None,
                   defined_tags: Optional[Mapping[str, Any]] = None,
                   freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewProcessSet(ctx *Context, name string, args ProcessSetArgs, opts ...ResourceOption) (*ProcessSet, error)
    public ProcessSet(string name, ProcessSetArgs args, CustomResourceOptions? opts = null)
    public ProcessSet(String name, ProcessSetArgs args)
    public ProcessSet(String name, ProcessSetArgs args, CustomResourceOptions options)
    
    type: oci:StackMonitoring:ProcessSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ProcessSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProcessSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProcessSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProcessSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProcessSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var processSetResource = new Oci.StackMonitoring.ProcessSet("processSetResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        Specification = new Oci.StackMonitoring.Inputs.ProcessSetSpecificationArgs
        {
            Items = new[]
            {
                new Oci.StackMonitoring.Inputs.ProcessSetSpecificationItemArgs
                {
                    Label = "string",
                    ProcessCommand = "string",
                    ProcessLineRegexPattern = "string",
                    ProcessUser = "string",
                },
            },
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := StackMonitoring.NewProcessSet(ctx, "processSetResource", &StackMonitoring.ProcessSetArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	Specification: &stackmonitoring.ProcessSetSpecificationArgs{
    		Items: stackmonitoring.ProcessSetSpecificationItemArray{
    			&stackmonitoring.ProcessSetSpecificationItemArgs{
    				Label:                   pulumi.String("string"),
    				ProcessCommand:          pulumi.String("string"),
    				ProcessLineRegexPattern: pulumi.String("string"),
    				ProcessUser:             pulumi.String("string"),
    			},
    		},
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var processSetResource = new ProcessSet("processSetResource", ProcessSetArgs.builder()        
        .compartmentId("string")
        .displayName("string")
        .specification(ProcessSetSpecificationArgs.builder()
            .items(ProcessSetSpecificationItemArgs.builder()
                .label("string")
                .processCommand("string")
                .processLineRegexPattern("string")
                .processUser("string")
                .build())
            .build())
        .definedTags(Map.of("string", "any"))
        .freeformTags(Map.of("string", "any"))
        .build());
    
    process_set_resource = oci.stack_monitoring.ProcessSet("processSetResource",
        compartment_id="string",
        display_name="string",
        specification=oci.stack_monitoring.ProcessSetSpecificationArgs(
            items=[oci.stack_monitoring.ProcessSetSpecificationItemArgs(
                label="string",
                process_command="string",
                process_line_regex_pattern="string",
                process_user="string",
            )],
        ),
        defined_tags={
            "string": "any",
        },
        freeform_tags={
            "string": "any",
        })
    
    const processSetResource = new oci.stackmonitoring.ProcessSet("processSetResource", {
        compartmentId: "string",
        displayName: "string",
        specification: {
            items: [{
                label: "string",
                processCommand: "string",
                processLineRegexPattern: "string",
                processUser: "string",
            }],
        },
        definedTags: {
            string: "any",
        },
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:StackMonitoring:ProcessSet
    properties:
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        specification:
            items:
                - label: string
                  processCommand: string
                  processLineRegexPattern: string
                  processUser: string
    

    ProcessSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ProcessSet resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment.
    DisplayName string
    (Updatable) Name of the Process Set.
    Specification ProcessSetSpecification
    (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DisplayName string
    (Updatable) Name of the Process Set.
    Specification ProcessSetSpecificationArgs
    (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartmentId String
    (Updatable) The OCID of the compartment.
    displayName String
    (Updatable) Name of the Process Set.
    specification ProcessSetSpecification
    (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartmentId string
    (Updatable) The OCID of the compartment.
    displayName string
    (Updatable) Name of the Process Set.
    specification ProcessSetSpecification
    (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartment_id str
    (Updatable) The OCID of the compartment.
    display_name str
    (Updatable) Name of the Process Set.
    specification stackmonitoring.ProcessSetSpecificationArgs
    (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    compartmentId String
    (Updatable) The OCID of the compartment.
    displayName String
    (Updatable) Name of the Process Set.
    specification Property Map
    (Updatable) Collection of regular expression specifications used to identify the processes to be monitored.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProcessSet resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Revision string
    The current revision of the Process Set.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Revision string
    The current revision of the Process Set.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    revision String
    The current revision of the Process Set.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    revision string
    The current revision of the Process Set.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    revision str
    The current revision of the Process Set.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    revision String
    The current revision of the Process Set.
    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.

    Look up Existing ProcessSet Resource

    Get an existing ProcessSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProcessSetState, opts?: CustomResourceOptions): ProcessSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            revision: Optional[str] = None,
            specification: Optional[_stackmonitoring.ProcessSetSpecificationArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> ProcessSet
    func GetProcessSet(ctx *Context, name string, id IDInput, state *ProcessSetState, opts ...ResourceOption) (*ProcessSet, error)
    public static ProcessSet Get(string name, Input<string> id, ProcessSetState? state, CustomResourceOptions? opts = null)
    public static ProcessSet get(String name, Output<String> id, ProcessSetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Name of the Process Set.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Revision string
    The current revision of the Process Set.
    Specification ProcessSetSpecification
    (Updatable) 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
    (Updatable) The OCID of the compartment.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) Name of the Process Set.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Revision string
    The current revision of the Process Set.
    Specification ProcessSetSpecificationArgs
    (Updatable) 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
    (Updatable) The OCID of the compartment.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Name of the Process Set.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    revision String
    The current revision of the Process Set.
    specification ProcessSetSpecification
    (Updatable) 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
    (Updatable) The OCID of the compartment.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) Name of the Process Set.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    revision string
    The current revision of the Process Set.
    specification ProcessSetSpecification
    (Updatable) 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
    (Updatable) The OCID of the compartment.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) Name of the Process Set.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    revision str
    The current revision of the Process Set.
    specification stackmonitoring.ProcessSetSpecificationArgs
    (Updatable) 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
    (Updatable) The OCID of the compartment.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) Name of the Process Set.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    revision String
    The current revision of the Process Set.
    specification Property Map
    (Updatable) 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

    ProcessSetSpecification, ProcessSetSpecificationArgs

    Items List<ProcessSetSpecificationItem>
    (Updatable) List of Process Set specification details.
    Items []ProcessSetSpecificationItem
    (Updatable) List of Process Set specification details.
    items List<ProcessSetSpecificationItem>
    (Updatable) List of Process Set specification details.
    items ProcessSetSpecificationItem[]
    (Updatable) List of Process Set specification details.
    items Sequence[stackmonitoring.ProcessSetSpecificationItem]
    (Updatable) List of Process Set specification details.
    items List<Property Map>
    (Updatable) List of Process Set specification details.

    ProcessSetSpecificationItem, ProcessSetSpecificationItemArgs

    Label string
    (Updatable) Optional label used to identify a single filter.
    ProcessCommand string
    (Updatable) String literal used for exact matching on process name.
    ProcessLineRegexPattern string
    (Updatable) Regex pattern matching on process arguments.
    ProcessUser string

    (Updatable) String literal used for exact matching on process user.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Label string
    (Updatable) Optional label used to identify a single filter.
    ProcessCommand string
    (Updatable) String literal used for exact matching on process name.
    ProcessLineRegexPattern string
    (Updatable) Regex pattern matching on process arguments.
    ProcessUser string

    (Updatable) String literal used for exact matching on process user.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    label String
    (Updatable) Optional label used to identify a single filter.
    processCommand String
    (Updatable) String literal used for exact matching on process name.
    processLineRegexPattern String
    (Updatable) Regex pattern matching on process arguments.
    processUser String

    (Updatable) String literal used for exact matching on process user.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    label string
    (Updatable) Optional label used to identify a single filter.
    processCommand string
    (Updatable) String literal used for exact matching on process name.
    processLineRegexPattern string
    (Updatable) Regex pattern matching on process arguments.
    processUser string

    (Updatable) String literal used for exact matching on process user.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    label str
    (Updatable) Optional label used to identify a single filter.
    process_command str
    (Updatable) String literal used for exact matching on process name.
    process_line_regex_pattern str
    (Updatable) Regex pattern matching on process arguments.
    process_user str

    (Updatable) String literal used for exact matching on process user.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    label String
    (Updatable) Optional label used to identify a single filter.
    processCommand String
    (Updatable) String literal used for exact matching on process name.
    processLineRegexPattern String
    (Updatable) Regex pattern matching on process arguments.
    processUser String

    (Updatable) String literal used for exact matching on process user.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    ProcessSets can be imported using the id, e.g.

    $ pulumi import oci:StackMonitoring/processSet:ProcessSet test_process_set "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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