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

oci.StackMonitoring.ProcessSet

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 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={
            "items": [{
                "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/v2/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.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("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, str]] = None,
                   freeform_tags: Optional[Mapping[str, str]] = 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.

    Constructor 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", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    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.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    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", "string"))
        .freeformTags(Map.of("string", "string"))
        .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": "string",
        },
        freeform_tags={
            "string": "string",
        })
    
    const processSetResource = new oci.stackmonitoring.ProcessSet("processSetResource", {
        compartmentId: "string",
        displayName: "string",
        specification: {
            items: [{
                label: "string",
                processCommand: "string",
                processLineRegexPattern: "string",
                processUser: "string",
            }],
        },
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:StackMonitoring:ProcessSet
    properties:
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        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, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    (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]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    (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,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    (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]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    (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, str]
    (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, str]
    (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<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    (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, 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.
    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]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.
    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,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.
    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]: 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.
    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, 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.
    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>
    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, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            revision: Optional[str] = None,
            specification: Optional[_stackmonitoring.ProcessSetSpecificationArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = 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, string>
    (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, string>
    (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, 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
    (Updatable) The OCID of the compartment.
    DefinedTags map[string]string
    (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]string
    (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]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
    (Updatable) The OCID of the compartment.
    definedTags Map<String,String>
    (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,String>
    (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,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
    (Updatable) The OCID of the compartment.
    definedTags {[key: string]: string}
    (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]: string}
    (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]: 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
    (Updatable) The OCID of the compartment.
    defined_tags Mapping[str, str]
    (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, str]
    (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, 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
    (Updatable) The OCID of the compartment.
    definedTags Map<String>
    (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>
    (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<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.

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